Writing
Howto's, snippets, and articles I've written over the years.
Hack to play minesweeper on Amazon Kindle
January 5th, 2011Did you know that you can use your Amazon Kindle to play a minesweeper game?
Amazon Kindle white screen of death issue (and how to fix it)
December 31st, 2010Whilst the Kindle is an excellent device, I have experienced a blank 'white screen of death'. Here's how to solve it.
Tutorial: Setting up Varnish with Apache
December 24th, 2010Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. Here's how to set up varnish with Apache on Ubuntu.
Portsmouth Tilt Shifted
September 20th, 2010Here's a picture of the dockyard at Portsmouth I took from the top of Spinnaker Tower. I've experimented with tilt shifting and think the result is pretty good.
Constraining resizable textareas
July 16th, 2010The new crop of web browsers such as Safari, Chrome(ium) and Firefox 4 allow the user to resize textareas by using a handle at the bottom right. It is possible to restrict the size that the user can resize the textarea to using css min/max width/heights.
PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0 Fix
July 2nd, 2010When I upgraded my desktop to Ubuntu 10.04 (Lucid Lynx) I also upgraded my PHP version to 5.3 and got a PHP warning about Xdebug.
IDE Tip: Mouse-wheel on Netbeans tabbed pane
March 3rd, 2010How to browse lots of files in Netbeans' tabbed pane.
Netbeans PHP Autocomplete stopped
February 25th, 2010I had an issue with Netbeans 6.8 where the auto-complete for PHP functions stopped working. Here's how I fixed it.
CLI Autologin and autostart a program with Ubuntu 9.10 karmik
February 12th, 2010My old laptop is used as a music server and so I haven't installed a desktop on it. I use MPD as my music server and ncmpd as the front-end. However, I'm finding it a pain to enter my username, password, wait (its an old, slow lappy) and then enter ncmpd, so I looked for a way to do this automatically. And guess what? It can be done!
Install Ubuntu from Grub over Network
January 8th, 2010How do you install Ubuntu if you have no external drive and no USB boot option? Luckily for me its possible to install over the network.
Mashups and Music
January 6th, 2010On my old site I had a couple of tracks that I have mashed up in the past and one track created with fruityloops. Since the blog has gone in these tracks have disappeared. Time to put 'em back.
Performing VAT calculations in PHP
January 4th, 2010Here's how to calculate VAT on a value using PHP.