Uncrustifying Objective-C Source in Xcode 4

K&R. Allman. BSD. Crazy Whitesmiths. No, it’s not a nu-punk-alt-country rock band, but a selection of common (well, sort of) code indent styles. Much blood has been spilled arguing over the merits of each.

I’m not brave enough to venture into that battlefield, but I can at least point the weary foot soldier towards the tent of General Uncrustify and his Marvellous Xcode Contraption.

VPN With Amazon EC2 or Saving Your Phone From Promiscuity

Modern mobile devices are a wonderful, especially when combined with some handy public WiFi hotspot. Unfortunately ne’er-do-wells abound so if you aren’t careful using public hotspots, people can poke around with your data packets and steal fun details like usernames and passwords. What is a mobile internet addict to do?

Simple! Setup up your own VPN. Here’s how to set one up on Amazon EC2, suitable for use with most smartphones and laptops.

Ludum Dare 22: Alone

My first venture into the world of programming competitions is beginning with Ludum Dare 22. I wonder if I’ll have anything finished by the end of it?

OS X Lion Terminal Colours

OS X is awesome for command line stuff, that’s why real programmers love it. But some of the defaults Apple have used make me sad. Where are all the colours? I demand my ls command be pretty and colourful! Why is Vim so bland? While we’re at it, can’t ping lick my eyeballs more?

Installing ReviewBoard on Amazon EC2

Recently at HuzuTech I updated our installation of ReviewBoard, which is a great code review tool. Rather than just update packages though, I decided to rebuild the server for shits and giggles. Herein lies my method, just in case you want to set one up yourself.

SparrowBones

Sparrow-Framework is pretty awesome for quickly chucking together iOS games. But wouldn’t it be nicer if there was a handy Xcode 4 template to start from?

No Vodka Tampons, We’re Scottish

So I’ve been thinking about this, and pending further evidence I’m going to assume that the story about vodka soaked tampons (see KPHO) is rubbish. Every so often it seems to make the rounds (see Snopes). Here’s why I’m an unbeliever.