Author Archives: drm

Linux Devbox: Running multiple PHP versions

Ever since PHP5 came out, there is some need to run multiple PHP versions on your local development box, or at least make it easy to switch from one version to another. Derick Rethans has posted a solution based on your PATH environment variable. I have devised an alternative approach which changes the system wide […]

ReTwizzle this: #lorizzle

Today and yesterday, analytics of lorizzle.nl peaked because some people with obviously more followers than me, tweeted about it. So, apparently, a 3 year old site with virtually no updates can become a late 2010 twitter hit. Check it out yourself: http://www.lorizzle.nl/ It’s a cool experience being a co-creator of a hit, but let’s await […]

Setting up a headless torrent daemon in FreeBSD

I have FreeBSD running as a home server for a while now. One of the things I wanted the server to take care of is downloading torrents, so I could shut down my PC whenever I am downloading stuff. With transmission-daemon (net-p2p/transmission-daemon from ports) this is really simple.

My top 5 dos and don’ts of self-explanatory programming

I have gathered some of the less obvious do’s and don’ts in how to make your code more explanatory to your coworkers. I left out the more obvious like writing doc-comments, using coding standards, etc. Those go without saying. This might be considered “drm’s php tiplist revisited” 😉

Twig, the next generation template engine for PHP

I’ve been using Smarty 2 for about 7 years, and, while Smarty 3 is still in beta, Twig just popped up in the scene. Notable Smarty opposer Fabien Potencier was apparently converted by this template engine, so Twig must either be magic, or excellent, or both.

VirtualBox is more free than you might think

I read a post today at the Zend Framework general mailinglist from Ralf Eggert, having trouble with Internet Explorer 6. As all of us developers know, IE6 is trouble.

HipHop – The talk of the day

Today I read about HipHop, the talk of the day in the PHP community. It is basically a PHP to C++ compiler, developed by Facebook to have all benefits of compiled binaries (improved performance, more efficient memory management, less overhead), without having to train their PHP developers into C++ developers or do a big round […]

Ubuntu 9.10 karmic installation… Not so positive.

So, i thought I’d give Ubuntu a go. After running Debian unstable for a while (with pleasure, I might add), I was in for some new experience. First of all, the graphical install of Ubuntu sucks. The standard graphical install gave a blank screen, so that needed using a “safe graphical mode”. Why the installer […]

Installing IntelliJ WebIDE on GNU/Linux

IntelliJ is working on probably the best PHP IDE out there. Since I am running Debian unstable at home, here’s how to install it. I think more or less the same routine would work for any other distribution, but others might elaborate on that.

bash: Getting started, finally…

I’ve found bash scripting to be one of the gems I (re)discovered this year. When you’re like me, you like to automate stuff. There’s of course loads of scripting languages available to get it done, but frankly, using bash for lots of filesystem and/or configuration related tasks makes more sense than for example PHP or […]