Skip to content

{ Category Archives } code

Home time is a little closer

Before calling it a day last night I pushed out another release of my “toy” web-application, hometi.me. Thank you Capistrano!
I mentioned last month that I was intending on following the “release early, release often” paradigm with this project, but as always, life had other plans and I found myself doing very little hacking outside of [...]

Is it home time yet?

I’ve just released the first iteration of hometi.me which provides an answer to the important question of is it home time yet?
My general dislike of working for a living inspired me to craft a python script during my tenure at $BIG_CORP and last week the creativity bug bit me and I decided to quickly develop [...]

What, no version control?

$WEB_CORP has taken on the maintenance contract of a particular site and the client has asked for some changes to be made along with fixing up some SQL injection vulnerabilities.
My first step was to GET all the site’s scripts via FTP so I could create a local DEV instance of it and was surprised to [...]

$BIG_CORP rides the snake – my first Python script

In between support tasks at $BIG_CORP I’ve been slowly reading through O’Reilly’s Learning Python and trying a few things out with the command-line interpreter.
The first script I’ve written that actually does something useful is countdown.py:
#!/usr/bin/env python
# countdown to 5pm
# 2008 SJW
import datetime
now = datetime.datetime.now()
home = datetime.datetime(now.year, now.month, now.day, 17, 0, 0, 0)
total_secs = (home – [...]

Fun with Photoshop and cross-browser CSS

The consensus wasn't to go live with the new site straight away after all but to create a better impression on the public by waiting on the final design and within no time at all Jordan had worked his graphical magic and delivered the goods.
I was supplied with a .psd mockup and got busy with [...]

Getting ready to launch infurious.com

I’m preparing to push my code for the new Infurious site into production so we can start selling our first application, Rickshaw.
The site’s not too pretty but It Works and our freshly recruited designer Jordan has some interesting ideas for the next iteration. All the important stuff is present: people can download Rickshaw, purchase a [...]

Infurious Update

Just a quick update on what I’ve been working on for Infurious recently.
Since finishing up on configuring Jabber I’ve been developing our website with the specific aim of allowing customers to download our products and purchase licenses for them.
For this I’ve returned to CakePHP and been tinkering with the PHP portion of the AquaticPrime framework [...]

MySQL upgrade

I finally got sick of not being able to use SQL subqueries and decided to upgrade my MySQL installation from 4.0.x to 5.0.x.
I had wanted to do this previously but was afraid I’d end up breaking something and be left without a working development environment or a website either, for that matter, so I resorted [...]

CakePHP 1.2alpha – model validation

I thought I was out of the woods. I upgraded my development copy of MacServ to the alpha version of CakePHP so I could make use of it’s pagination features; I tweaked my views to replace calls to various deprecated html helper functions with the new ones in the form helper, made one or two [...]

Patching CakePHP

I submitted a minor contribution to the CakePHP framework today, a patch to a patch, to be specific. It’s good to give back