Ian Purton

Install beandstalkd on Debian Lenny

You'll need to install the latest libevent to get this to work.

You'll now have a beanstald executable which you can copy anywhere.

Posted 20 days ago

Reveal Hidden Windows That Are Off Screen

This happens to me a lot when I access my twin monitor work machine remotely. Most apps behave correctly but every once in a while.

  1. Right click on the icon in the Taskbar
  2. Select move
  3. Press any arrow key once, then start moving the mouse around. The window will come right into focus where the mouse is moving.

 

Posted 27 days ago

Sifr is dead, long live Cufon

I used to have a utility that converted Truetype fonts into Sifr fonts. Unfortunately after a server move I lost the code. I'm reluctant to re-build it because there are much better tools out there now.

Read the rest of this post »

Posted 5 months ago

Ruby SSH Example With Error Handling

The following ruby snippet takes an array of commands as a parameter then runs all those commands via SSH.

Read the rest of this post »

Posted 5 months ago

Clouds and paper airplanes

In this tutorial I will show you how to create the image above, together with the puffy clouds, paper airplanes and stars and whistles. Note that the final effect will be better if you use a pen tablet. So, let's get started.

Read the rest of this post »

Posted 6 months ago

Setup Ruby on Rails, Apache, MySQL, Passenger and more on a bare Debian install

This is what I use to setup up a server, hope it helps someone.

Setup IPTables

Your server will initially have all ports blocked so you need to edit /etc/iptables and add

-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT

Read the rest of this post »

Posted 8 months ago

My Experience Buying a $10,000 Website on Sitepoint (Part 1)

I recently purchased Status2k on a sitepoint auction. It's the first time I've ever bought a site and it's definately a learning experience. After my winning bid was excepted the sale proceeded very rapidly (a lot quicker than I was expecting) over msn chat.

Read the rest of this post »

Posted 1 year ago

Graffiti on the Regents Canal

Urban Commuting

To get to work a cycle along the Regents Canal. There's a lot of graffit most of it pretty unsightly, but I like some of the new Banksy inspired art that's appearing. I've collected a few examples and put them into a regents canal flickr set.

Posted 1 year ago

Integrating Gravatars into PunBB forums

PunBB already has it's own Avatar system however I wanted to use the Gravatar site which is a central place to store avatar images.

Read the rest of this post »

Posted 1 year ago

Minimal Gray Wordpress Theme

Based on my SEO Wordpress Sandbox Theme I've created a minimal gray theme.

Read the rest of this post »

Posted 1 year ago