Category Archives: Linux & BSD

NginX for Apache users

Since some time now, I’ve been using NginX as a local development web server. After numerous years of Apache, the configuration of NginX needs some getting used to, but in the end, it is a lot easier and more flexible. Here are a few mappings to get you started if you’re used to Apache.

Posted in Linux & BSD | Tagged , , | 1 Response

How to restore grub with a live CD

I borked my primary boot device’s grub installation last week because I wanted to start Windows 7 to play some LAN games. Windows 7 wouldn’t boot from grub, so I thought I’d install a new grub version. I reinstalled grub before regenerating the config file and rebooted. Too bad the Arch packages don’t handle that […]

Posted in Linux & BSD | Tagged , | 2 Responses

10 must-have key and mouse binding configs in Openbox

In openbox, you have a configuration file in ~/.config/openbox/rc.xml in which you can pretty much configure all the shortcuts you need in a lifetime. Here’s my top ten configurations, along with their code.

Posted in Linux & BSD | Tagged , , , | 27 Responses

Arch Linux: the better hobbyist’s distro

I made the switch from Debian Unstable to Arch Linux for my home desktop a few weeks back. I’m both impressed and pleased.

Posted in Linux & BSD | Tagged , | 2 Responses

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 […]

Also posted in Development | Tagged , | Leave a comment

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.

Posted in Linux & BSD | Tagged | Comments closed

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” 😉

Posted in Linux & BSD | Tagged , | Comments closed

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.

Also posted in Miscellaneous | Tagged , , | Comments closed

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 […]

Posted in Linux & BSD | Tagged , | Comments closed

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 […]

Posted in Linux & BSD | Tagged , | Comments closed