Writing
Howto's, snippets, and articles I've written over the years.
Bulk rename files in CLI
December 19th, 2009A quick snippet showing how to bulk rename files on a terminal.
PHP number_format gotcha
December 19th, 2009One of our client sites had an issue when a payment was attempted for over £1,000 and the problem was caused by PHP's `number_format()` function.
Unicode PHP functions and files
November 4th, 2009One of the more useful features of the upcoming PHP6 is full unicode support throughout. However, did you know that PHP supports unicode already and can be used for variable, method and function names?
Share mouse and keyboard across computers
July 30th, 2009To save me from having to switch between the Linux Desktop and my Vista laptop everytime I wanted to reload the Vista browser I use a unix utility called x2vnc. Here's how to install and use x2vnc.
MySQL Stored Procedure tutorial
July 30th, 2009An example of how to create and use a stored procedure with MySQL.
A day in the life of Spinnaker Tower, Portsmouth
July 17th, 2009Here's an animation covering 24 hours of a day in the live of Portsmouth Harbour and Spinnaker tower in 2009
Drawing an Arc in Imagick
June 19th, 2009Here's an example of how to draw an arc using PHP and Imagemagick.
How to use Zend_Cache to cache an object
June 18th, 2009How to use the Zend Framework (v1) Zend_Cache library to cache an object.
Installing and using PHP ImageMagick (Imagick) Module
June 9th, 2009How to install and use PHP's Imagick Module.