Archive

Archive for February, 2012

PhantomJS – site scraping and pages captures

19/02/2012 2 comments

The official site saying that phantomjs is: “a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.”.
This could be use eg. to capture pages that running a lot of javascript, then get the source and parse data. All that in command line and without output to the screen.
Read more…

Advertisements
Categories: Linux, Useful commands

How to use rm with exclude in curent dir

12/02/2012 Leave a comment

find . -maxdepth 1 | grep -v “dont_delete_this” | xargs rm

Categories: Uncategorized

Photos #1

10/02/2012 Leave a comment

8:00, temp: -10*C

Categories: Photos