A collection of articles and snippets I've collected over the years.

10 Skills A Web Developer Needs To Have

June 14, 2011

Knowing a programming language just isn't enough these days to be a full time Web Developer. Here are ten other skills required to 'do the job'.

Howto: Disable php processing in wordpress upload folder.

May 18, 2011

If you host a WordPress site and have enabled writeable permissions on any of the folders it is recommended that you Disable php processing in wordpress upload folders. If you are running Apache you...

Subversion TortoiseSVN menu in Ubuntu Nautilus

May 12, 2011

Windows developers using Subversion generally use TortoiseSVN to administer their repositories and when moving to Ubuntu Linux they find using the CLI (Command Line, Terminal, black box -...

Important cron gotcha: Cron not being updated.

May 12, 2011

I was recently caught out by a crontab running even after I had edited the crontab and commented out the line. I used VIM and edited the file followed by a <code>:w</code> command but the cron was...

Howto: Get the IP address of a domain in a one liner

May 12, 2011

I have a need in a bash shell to get the public ipaddress of a domain name. &nbsp;Here's how to achieve it: Cool huh?

Netbeans 7.0 Released

April 26, 2011

After what feels like a year Netbeans 7.0 is finally released. NetBeans IDE 7.0 introduces language support for development to the proposed Java SE 7 specification with the JDK 7 developer preview....

Hack to play minesweeper on Amazon Kindle

January 5, 2011

Did you know that you can use your Amazon Kindle to play a minesweeper game?

Amazon Kindle white screen of death/crash issue (and how to fix it)

December 31, 2010

Whilst 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 24, 2010

Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other HTTP accelerators, such as Squid, which began life as a client-side cache, or Apache, which is...

Portsmouth Tilt Shifted

September 20, 2010

Here'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 16, 2010

The 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...

PHP Warning: Xdebug MUST be loaded as a Zend extension in Unknown on line 0 Fix

July 2, 2010

When I upgraded my desktop to Ubuntu 10.04 (Lucid Lynx) I also upgraded my PHP version to 5.3. Apart from a few warnings with some deprecated functions (the main cuplrit being the ereg functions) all...

IDE Tip: Mouse-wheel on Netbeans tabbed pane

March 3, 2010

If you have a lot of files open and they don't all fit in the Netbeans tabbed pane you can scroll them left/right when using your mouse wheel when you move the mouse over the tabs.

Netbeans PHP Autocomplete stopped

February 25, 2010

I had an issue with Netbeans 6.8 where the auto-complete for PHP functions stopped working. It would work with functions and methods defined in my project but wouldn't auto-complete any native PHP...

CLI Autologin and autostart a program with Ubuntu 9.10 karmik

February 12, 2010

My 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,...

Install Ubuntu from Grub over Network

January 8, 2010

I have an old Dell C400 Latitude at home and use it primarily as a music server.  It doesn't have any built in drives such as floppy or CD and I don't own an external Dell CD drive.  It won't boot...