Monday, 24 November 2008

MGMT - Time to Pretend

This is the latest track which I think is awesome!!! I heard it on some advert on TV, then heard it in a friend's car and hence managed to find out who it is. The synths are amazing! Check it out here:

MGMT - Time To Pretend

Wednesday, 19 November 2008

iPhone Application - Google Adsense

So, it appears that Google Adsense is now being using in iPhone applications to generate revenue. I've just submitted an app which will be using ads supplied from, however it would be very interested to see how successful the Adsense mobile is. Have a look at this app called AroundMe (it's free to download) at the following link:


Monday, 17 November 2008

Apple Mail HTML Signatures

OK, so apparently you can't have an HTML sig with Apple Mail. This however sucks, cause you need to have links to your stuff in your sig! If you just type the HTML code in, then this code is not rendered and you just end up emailing people code!

What you need to do, is make a HTML page of how you want your sig to be (ensuring that all images etc are online on a server, not on your local machine... only your html can be there). Then open this up in Safari, and save it as a webarchive. Then, copy this archive to ~/Library/Mail/Signatures where you will find all the archives of your sigs.

Goto Apple Mail and make a new sig, call it something useful. Go back to finder and sort the list (which will have names which mean nothing!) by date so that you have the last modified at the top. Don't delete the plist file... you need that! Instead copy the name of the last modified webarchive then move that off to somewhere else on your hard disk. Make the webarchive that you created from Safari to be the name that you just copied. Restart Apple Mail and you should have your lovely HTML file as your sig!


Monday, 10 November 2008

Cheap & Reliable Linux Hosting

I often get asked who I recommend for web hosting. Now, I've never had Windows hosting so I'm afraid I can't answer your question in that case, but for Linux hosting I've always used HostGator. I currently have about 5 sites all running off one of their cheap Linux shared hosting accounts and have no problems with them. I register all my domains with Daily and then simply change the nameservers to point to the hostgator hosting.

Anyways, check out hostgator at the link here:

And Daily here:

Tuesday, 4 November 2008

Iglu & Harlty - In This City

OK.. a slightly less informative blog posting now.. but I appear to be addicted to this song! It's quite comical, but definitely worth a listen.... pay attention to how they sing "liiiiife". Makes me chuckle each time!

Find a preview of it here:

Iglu & Hartly - In This City - Single - In This City

Monday, 3 November 2008

iPhone development - Creating an Email with valid text!

When writing your iPhone application you may wish to send an email using the iPhone's built in mail client. This simple piece of code will do this:

NSURL* mailURL = [NSURL URLWithString: @""];
[[UIApplication sharedApplication] openURL: mailURL];

However, remember that the string must be correctly URL encoded. This is simple with a small string such as that in the example, but when creating a fairly long email, or constructing one from data in a loop for example.. this isn't so easy! If you replace mailURL in the final line with:

[mailURL stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding]

then you can leave all the original space characters and slash n characters in with no problems!

iPhone Development - Application Verification Failed

So, you've made your iPhone application and it runs pretty well in the simulator, so now you need to deploy it. Apple's documentation on this is somewhat less than perfect! I thought I did everything perfectly, but I kept on getting an Application Verification Failederror message. After some snooping around the web it appeared that problem was because my Bundle Identifier was not set correctly. One simple change and that was it.. I has even been ready to reset the device!

For an excellent guide to deploying on the iPhone check out this blog post: