Articles

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


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

May 12, 2011

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

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

January 5, 2011

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

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.

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

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.

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

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

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.

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

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

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

January 6, 2010

On my old site I had a couple of tracks that I have mashed up in the past and one track created with fruityloops.  Since the blog has gone in these tracks have disappeared.  Time to put 'em back....

January 4, 2010

Due to the so called 'Credit Crunch' the British government had decided to change the VAT rate for one year between December 2008 and Jan 2010.  Many developers in the UK had made the mistake of...

December 19, 2009

If you ever need to rename a batch of files using a regex or similar you can use the <code>rename</code> command: