Technical stuff Requirements are like water. They're easier to build on when they're frozen.

How to install kcachegrind / qcachegrind on Mac OSX

03.30.2012 · Posted in Computer setup

Installing kcachegrind via macports takes a long time because it has to build KDE, as well. An alternative faster way is described below. download Qt binary and install it download and install graphviz; I used brew install graphviz fix default graphviz location by symlinking to a place where cachegrind will find it sudo ln -s /usr/local/bin/dot /usr/bin/dot ...

Howto install Drupal 7 using Git

03.12.2012 · Posted in CMS

So you decided to give it a try and are tired of downloading an archive, unpacking, blah-blah? Just navigate to your web server document root folder create yourself a working directory, like mkdir vanilla_drupal and use the clone command git clone --branch 7.x git://git.drupal.org/project/drupal.git ./ You can now move directly to the “Create configuration file…” ...

Howto delete a branch in git

03.07.2012 · Posted in Quick and dirty

Delete a branch that’s already fully merged in its upstream branch, or in HEAD if no upstream was set with –track or –set-upstream. git branch -d feature/not-needed-anymore If you don’t want to bother with the merge status of the branch simply use. git branch -D feature/not-needed-anymore ...

Install Xdebug on Mac OSX Lion

03.02.2012 · Posted in Computer setup, Mac OSX

Download the latest Xdebug version. The most stable is currently 2.1.3, but if you’re brave you’ll use xdebug-latest.tgz directly. cd /tmp/ && curl http://xdebug.org/files/xdebug-2.1.3.tgz > xdebug.tgz tar -xvzf xdebug.tgz cd xdebug-2.1.3 configure it with phpize phpize specify some mac-specific environment variables MACOSX_DEPLOYMENT_TARGET=10.7 CFLAGS="-arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch i386 -arch x86_64 -g ...