about:jason Blog

Pray like you mean it!

I’m getting a little tired of hearing things like “we need to pray for the doctors, so they can manage my family member/friend’s illness to make it manageable” or “we need to pray that...

‘Mark as Scam’ for Gmail

As a result of some emails my wife and I have received trying to run a scam against us while we try to sell Sammy’s car, I started thinking how someone less tech-savvy may fall for the scam, and came up with an idea that might help reduce the likelihood of the scam succeeding – we’ve all heard if SPAM filters, how ’bout adding a SCAM filter to our email?

Default sucks

As a geek, I very rarely leave things the way they come … my Windows Mobile phone was heavily modified, I’ve altered just about every plugin for this wordpress journal, my old xbox runs XBMC, and all of my computers run customised software. I’m a geek. I don’t settle for things as they are out-of-the-box. Out-of-the-box is configured for the masses. I try to set myself apart from the masses. So I tweak, customise, hack, and modify until I am left with something unique. Or, in the case of my windows mobile phone, a paper weight.

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