Category: Geek

CSS only menus

I have seen a few examples of this before, but none of them have ever really worked perfectly for me – so I created my own, as seen on this site’s drop downs. But then I was asked by my brother-in-law for some help doing something similar, but rather than use javascript, I stuck with CSS.

Ubuntu Update Manager

Does the new Update Manager in Ubuntu pop up more frequently than you’d like? If so, there is a simple solution to the problem.

Creating ‘mask layers’ using PHP GD

  1. Start with original image – $img
  2. Copy that image to a png – $copy
  3. Create a mask png image of the area you want in the circle/ellipse (a ‘magicpink’ image with a black shape on it, with black set to the colour of alpha transparency) – $mask
  4. Copy $mask over the top of $copy maintaining the Alpha transparency
  5. Change what you need to on $copy
  6. Copy $copy back over $img maintaining the Alpha transparency

Hosting Headaches

I’m looking at buying a VPS through Linode as soon as my job situation stabilizes. Not really looking forward to porting my entire catalogue of sites, but the fact I am working at taking...

Tools of the Trade

As a developer/designer I spend far too much time trying to reconcile the differences between the Firefox and IE rendering engines. I’ve picked up a few habits that make it less painful, but until...

Stability and Flexibility

Well, I’ve been using Ubuntu 7.10 (64-bit) at work for almost a month now.  Even though I was already pretty experienced with Ubuntu before this, I have learned a lot since installing it as...