Live on GitHub Pages

September 05, 2012 Comments

If you can see this, it means this site is now running on GitHub Pages.

Print from iOS 5 using OS X 10.6 Server

March 01, 2012 Comments

This guide was tested using Mac OS X Snow Leopard Server. It should also work with regular OS X 10.6 using the Printer Sharing functionality.

The first thing we need to do is create /usr/share/cups/mime/airprint.types and add image/urf urf (0,UNIRAST). Now open /usr/share/cups/mime/apple.types and add image/urf urf string(0,UNIRAST).

Open System Preferences and head into Print & Fax. Right-click inside the left column and click Reset printing system.... Please note that this will wipe all of your previously installed printers, so you will need to add them again.

Open Server Admin and enable the Print service. Enable IPP sharing and start the service.

Launch the CUPS web UI by going to localhost:631 in your browser. Ensure Share printers connected to this system is checked, then edit the configuration file. Set Browsing to Off.

Download Bonjour Browser and craft the following command from the IPP section. This will be used to advertise the printer to iOS 5 devices:

sudo dns-sd -R "iOS Printer" _ipp._tcp.,_universal . 631 txtvers= qtotal= rp= ty= note= product= printer-state= printer-type= Transparent= Binary= Fax= Color= Duplex= Staple= Copies= Collate= Punch= pdl=

Run the above command and your printer will now be available on iOS 5 devices.

My future standing desk

November 11, 2011 Comments

My future standing desk

Mobile support is live!

November 04, 2011 Comments

Mobile support is live!

Moved to Jekyll

October 31, 2011 Comments

Just a quick heads up, this site on now being statically generated using jekyll. I felt there was little sense in maintaining the kind of services that Django requires and decided to make things a little easier on myself.

Not much has changed from a viewer's perspective, but at the very least, things should run a little faster around here now. :)

Feels like a Molson night

October 21, 2011 Comments

Feels like a Molson night

Enable git bash completion in OS X

October 16, 2011 Comments

Before proceeding, ensure that you have Xcode installed. This is a Homebrew requirement.

ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"

brew install git bash-completion

Now edit your ~/.bash_profile and add the following:

if [ -f `brew --prefix`/etc/bash_completion ]; then
    . `brew --prefix`/etc/bash_completion
fi

My Saturday evening

October 15, 2011 Comments

My Saturday evening

Hanging out at the Badger game

September 24, 2011 Comments

Hanging out at the Badger game

Fluffy and Tubby enjoying their new structure

September 22, 2011 Comments

Fluffy and Tubby enjoying their new structure