Archive for the ‘General’ Category

Copying Mail settings between Mac OS X installations

I’ve just installed a fresh copy of Lion on my machine and much to my dismay I have to set up all of my many mail filtering rules again! Bugger that, instead I had a dig around and decided to copy across the rules from my previous installation. All the rules you’ve set up are [...]

Password Schemes

Something that really annoys me, annoys me to anger, is brain-dead password schemes for websites where I’m forced to adhere to some moronic schema for my password to “enhance” security. Upper bounds on password length The most common issue I see across the plethora of inept schemes for passwords is bounds on length. I’m all [...]

Filtered keystrokes with JavaScript

This small set of scripts should give you a starting point for filtering the valid input to certain form fields to ensure that you shouldn’t end up with input that you don’t want*. Basically you’d have the following javascript functions defined: function isNumber( evt ) { valid = true; if( evt.which || ( evt.which != [...]

Duckworthing

Well it’s finally happened, the pair of glasses I’ve had for going on four or five years now has finally given up. This morning when I arrived at work and sat at my desk I did what I usually do. I took my glasses off and gave them a clean on my shirt. Usually I [...]

You absolute beauty

The local football team in Dumfries, Queen of the South, has made club history by beating Aberdeen 4-3 in the semi-final of the Scottish Cup at Hampden today. They’ll be in the final of the Scottish Cup on the 24th May playing either St Johnstone, Rangers or Partick Thistle.