Recently i worked on a project, which had to use flag icons for all flags in the world. The implementation looked like this: css file: . In order to reduce the number of HTTP requests, I wanted to change it to using CSS sprites instead. CSS file now has changed to lines [...]
Continue reading »Generate CSS sprite for all world’s flags«
I wanted to do some code stats for a repository. This line checks out old revisions by date and shows code stats: git checkout `git rev-list -n 1 –before=”2012-03-01″ master` Then, I ran cloc to count lines of code: cloc . Its really easy to register the point in time as a git branch so [...]
Continue reading »Git checkout old revisions by date«
At a project I work on, we needed PhantomJS to run from a Redhat Fedora 64 bit machine. Since phantomJs is just released this week, I needed to build it myself. I post this link to the binary in case it can benefit others. PhantomJs 1.7.0 built on Linux Redhat Fedora 64 bit [...]
Continue reading »PhantomJS 1.7 build for Linux 64 bit«
In a current project I use a lot of Subversion (svn) from the command-line. Subversion recently has lost terrain to Git for several reasons. But actually, svn is capable of doing many of the things I love from Git. Here are some less known commands I find extremely helpful. Undo last commit svn merge [...]
Continue reading »Forgotten Subversion Commands, Undo, Merge Branches ...«
Please help me choose the best photos I took during Jim Webbers talk at qCon New York. You can do me a favor and vote (max 3 votes per person). License: Creative commons (attribution).
Continue reading »Jim Webber on qCon New York«