Skip to content
May 12 11

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

by Andrew McCombe

I have a need in a bash shell to get the public ipaddress of a domain name.  Here’s how to achieve it:
andrew@andrew:~$ dig +short A www.euperia.com
193.228.155.183
Cool huh?

May 12 11

Important cron gotcha: Cron not being updated.

by Andrew McCombe

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 :W command.  This saved the file and so assumed that the cron was updated.  However, it turns out [...] Continue Reading…

May 12 11

Subversion TortoiseSVN menu in Ubuntu Nautilus

by Andrew McCombe

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 your phrase) alien.

However, there is a way to have a menu in the file manager for performing Subversion administration, just [...] Continue Reading…

Apr 26 11

Netbeans 7.0 Released

by Andrew McCombe

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. The release also provides enhanced integration with the Oracle WebLogic server, as well as support for Oracle [...] Continue Reading…

Jan 5 11

Hack to play minesweeper on Amazon Kindle

by Andrew McCombe

kindle with Mindfield game on

Not exactly a hack, but did you know that you can use your Amazon Kindle to play a minesweeper game?  Simply hold down the Alt and Shift key and press ‘m’ to activate the game.

You can also play a ‘connect 5′ [...] Continue Reading…

Dec 31 10

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

by Andrew McCombe

Christmas this year (2010) yielded a lovely surprise in the form of a new Amazon Kindle and I am very pleased with it.  The quality of the screen is excellent and the gadget itself is very intuitive and easy to use. However, I have occasionally experiences times when [...] Continue Reading…

Dec 24 10

Tutorial: Setting up Varnish with Apache.

by Andrew McCombe

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 primarily an origin server, Varnish was designed from the ground up as an HTTP accelerator.

Here’s how to set [...] Continue Reading…

Sep 20 10

Portsmouth Tilt Shifted

by Andrew McCombe

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.

Portsmouth Historic Dockyard as seen from Spinnaker Tower

Jul 16 10

Constraining resizable textareas

by Andrew McCombe

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 can resize the textarea to using css min/max width/heights.
textarea {
[...] Continue Reading…

Jul 2 10

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

by Andrew McCombe

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

When using the Zend Tool command from the command line I started [...] Continue Reading…