Writing

Howto's, snippets, and articles I've written over the years.

Bulk rename files in CLI

December 19th, 2009

A quick snippet showing how to bulk rename files on a terminal.

PHP number_format gotcha

December 19th, 2009

One 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, 2009

One 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?

Set Fixed IP Address on Ubuntu

August 13th, 2009

Here's how to set a fixed IP address in Ubunti.

Timesheet Prompt

July 31st, 2009

A simple script to prompt for a Timesheet entry on Ubuntu

Share mouse and keyboard across computers

July 30th, 2009

To 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, 2009

An example of how to create and use a stored procedure with MySQL.

A day in the life of Spinnaker Tower, Portsmouth

July 17th, 2009

Here's an animation covering 24 hours of a day in the live of Portsmouth Harbour and Spinnaker tower in 2009

Install PDFLib with PHP

July 9th, 2009

Here's how to install PDFlib with PHP using pecl.

Drawing an Arc in Imagick

June 19th, 2009

Here's an example of how to draw an arc using PHP and Imagemagick.

How to use Zend_Cache to cache an object

June 18th, 2009

How to use the Zend Framework (v1) Zend_Cache library to cache an object.

Newer articles Older articles