DTrace is a dynamic tracing tool build by Sun Microsystems and is available for Solaris, MacOS and FreeBSD. It features a tracing language which can be used to probe certain “probing” points in kernel or userland. This can be very useful to gather statistics, etc. Linux comes with a separate solution called systemtap. It also [...]
Over the last years, Mercurial bookmarks have changed and became a mature core feature. We go into detail about the current way bookmarks work and how to use them for daily work.
Posted on October 1, 2012, 21:04, by dsp, under
Open Source.
blog more. Open topics: DTrace Part II, Mercurial Bookmarks Part II. blog more. Open topics: DTrace Part II, Mercurial Bookmarks Part II.
Posted on May 24, 2012, 08:32, by dsp, under
Open Source.
So I have this esoteric problem that I have 2 totally different keyboards. The Happy Hacking Pro 2 (HHK) and the Realforce 103U. The happy hacking has a special, SUN inspired layout with the control key where standard keyboards usually have their caps. My Realforce 103U has a standard US layout. I am big fan [...]
Posted on May 15, 2012, 16:09, by dsp, under
Open Source.
You need gnu-coreutils installed. $ wget -O php.tar.bz2 http://us.php.net/get/php-5.4.3.tar.bz2/from/this/mirror $ tar xvjf php.tar.bz2 $ cd php-5.4.3 $ ./configure \ –with-apxs2=/usr/apache2/2.2/bin/apxs \ –prefix=/usr/php/5.4 \ [other options] $ gsed -ibak ‘s,\-mt,,’ Makefile $ gsed -i.bak ‘s,\-i \-a \-n php5 libphp5\.la,-i -n php5 libphp5.la,’ Makefile $ make -j4 $ sudo make install $ vim /etc/apache2/2.2/conf.d/php5.2.conf ..change stuff to [...]
Posted on January 23, 2012, 15:58, by dsp, under
Open Source.
Note to myself: To remove a directory from an existing git repository there are various ways to do it. The obvious way is $ git filter-branch –tree-filter ‘rm -rf directory/’ Which is just fine for smaller repositories but can take a long time on large repositories with a lot of large files in that directory. [...]
Posted on September 8, 2011, 14:50, by dsp, under
Open Source.
The PHP community announced that they will be switching to Git. This lead to some discussion on Twitter, wether it is good to go directly to Github or use git.php.net as the gateway to ensure control over ACLs. People were argueing that github encourages people to contribute and that the PHP community is stuck in [...]
$ lein swank In emacs use M-x slime-connect to connect to swank. user> (use ‘clojure.test) nil user> (use :reload ‘geocommit.test.services) (run-test ‘geocommit.test.services) {:type :summary, :test 3, :pass 9, :fail 0, :error 0} $ lein swank In emacs use M-x slime-connect to connect to swank. user> (use ‘clojure.test) nil user> (use :reload ‘geocommit.test.services) (run-test ‘geocommit.test.services) {:type [...]
This blog post will show you how to use geocommit in your projects. It shows how to install the Chrome and Firefox extensions to add support for geocommit to github.com and bitbucket.org
If you want to review remote changes from Mercurial offline you cannot use hg incoming. For sure there is a nice way to do it. So here is what I do to get changes from a repository to review them later without pulling them into my repo before reviewing. It also has the advantage that [...]