A collection of articles and snippets I've collected over the years.
September 16, 2014
I have a script polling a Beanstalkd queue and needed to put it into the background, and bring it to the front whilst debugging it.
August 13, 2014
If you're trying to update or drop a table in MySQL and you're getting the error 'Error Code: 1217. Cannot delete or update a parent row: a foreign key constraint fails' you need to toggle the...
August 5, 2014
July 25, 2014
When a client requests a feature, how do you provide a reasonable estimate? What do you base your estimate on. How much contingency do you add?
June 5, 2014
Today I've needed to find out if it was worth testing a client's website with Safari 5 on Windows. Here's some shell foo to find out from an access log
April 29, 2014
March 31, 2014
After upgrading to PHP5.4 on one of our older code-bases I'm finding the error logs full of PHP Strict Errors and warnings. As this code is old and not financially viable to fix all these issues I...
March 13, 2014
I have a few steps I usually follow when I find myself working on one of these websites so here's how I use Git with Web Development.
March 1, 2014
If you need to perform a Find and Replace with a Regex in PHPStorm and want to replace a dollar sign ($) you'll need to escape it with a double slash
February 14, 2014
Whilst working on a legacy project* at work I'm getting lots of pages with the PHP warning "Warning: Invalid argument supplied for foreach() in ...". The warning is showing because I like to develop...
February 13, 2014
Can't find the VirtualBox Guest Additions ISO? Here's a link to the VirtualBox downloads server.
January 23, 2014
Today I read a well written blog post over at NPR Music called ‘You’ve never heard Public Enemy’s ‘It Takes a Nation of Millions To Hold Us Back’ in which one of their young interns, Austin...
January 16, 2014
Tonight I have set up my Raspberry Pi with XBMC, S-Video and PAL mode. There were a couple of hurdles to get over but it's working fine now.
January 8, 2014
So 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...
November 10, 2013
I 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...
October 19, 2013
How to configure postfix to deliver all mail to a local user account