Writing
Howto's, snippets, and articles I've written over the years.
My Musical Journey: From Glam Rock to Hip-Hop (and Beyond) – Part Two
January 8th, 2014So the 1980s had introduced me to Hip-Hop - a new, exciting and fresh sound straight from the USA and I loved it. But there was a new buzz growing in the UK at the time and I'll admit that I hated it - at first. House had been growing for a couple of years and I'd first
My Musical Journey: From Glam Rock to Hip-Hop (and Beyond) – Part One
November 10th, 2013I seem to have been born at a pretty good time for music. My parents aren’t big music fans; my Mother used to be into Glam Rock and bits of Hendrix whilst my Father used to play Country music on Sunday mornings. How that mix started my musical journey from Glam Rock to Hip-Hop and beyond is anyones guess.
How to configure postfix to deliver all mail to one mailbox
October 19th, 2013How to configure postfix to deliver all mail to a local user account
Filter Apache logs to exclude js, css and images
August 7th, 2013Quite often I find myself having to filter Apache logs to exclude JS, CSS and images. I use a combination of cat and egrep to achieve this.
MySQL Create Database with UTF8 Character Set Syntax
June 21st, 2013I always forget the MySQL create database with UTF8 character set syntax, so here it is.
PHP Imagick / ImagickException: "no decode delegate for postscript or PDF files"
May 17th, 2013This morning I had an issue with a PHP imagick ImagickException when converting a PDF/postscript file to a thumbnail. I have PHP Imagick, Imagemagick and Ghostscript installed and everything verifies as OK in phpinfo output.
Magento admin login problem in Chrome – with solution
April 10th, 2013Recently I've been experiencing a Magento admin login problem in Chrome which was caused by an invalid domain name and cookies. Here's how I fixed it.
Routing requests to index.php with Apache
March 25th, 2013Here's how to go about routing requests to index.php with Apache.
Install PHP 5.4 and Nginx on Ubuntu 12.04
February 13th, 2013Whilst the LAMP stack is easy to install (sudo tasksel & select 'LAMP'), installing PHP 5.4 and Nginx on Ubuntu 12.04 isn't as straightforward. For a start, the packaged Nginx is out of date and PHP5.4 isn't currently available at all out of the box. Luckily there are PPA's for installing PHP 5.4 and Nginx.
Developer Tools: Vim keyboard shortcuts
January 5th, 2013I regularly use Vim but have to confess that I'm not a 'power' user. To help me learn Vim keyboard shortcuts I have noted them down here.
Install PHP and Mysql on OSX Mountain Lion
December 19th, 2012Here's a useful snippet to help install PHP and MySQL on OSX Mountain Lion.