Jun
29th

Creating ‘mask layers’ using PHP GD

Filed Under: Code, Geek | 1 comment

  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

read on
Feb
19th

Hosting Headaches

Filed Under: Geek, Hardware | 2 comments

Hosting HeadacheI’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 copies of all my sites from my current host down to my development server (once I get my internet reconnected at home) should make it

read on
Dec
30th

Tools of the Trade

Filed Under: Code, Geek, Software | 2 comments

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 there is a Firebug for IE, it’s still a long painful process.

I’ve been  using Aptana Studio as my PHP IDE for a long time now, and would love for it to have some live CSS editing abilities similar to Firebug

read on
Dec
30th

Previous Posts

Filed Under: General, Life | no comments

I’ve decided to restrict access to the more personal areas of this journal - this is because the content covered in those areas is more intimate and I don’t really want that sort of information available in the wild. I’ll be leaving the geek-centric posts open, at least the ones that provide useful information for others …

If you feel you know me well enough, sign up for an account on this site

read on
Apr
8th

Stability and Flexibility

Filed Under: Linux | 3 comments

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 my day-to-day operating system at work. I’ve learned about wine and wine-doors, adding printers (Fuji-Xerox DocuCentre II C2200), and network interoperability.

I’ve also learned that even though Ubuntu is an outstanding operating system, there are still somethings you will need either a

read on
Sep
23rd

Why run Ubuntu on a G4 Mac?

Filed Under: Linux | 3 comments

The real question is why not?. Especially if the Mac only had OS 9.2 on it, and that won't run at all.

read on