Contact Me


Recent Posts


Categories


Archives


Tags

3d actionscript Actionscript 2 Actionscript 3 api APIs as2 as3 brand carousel channel code compress contest contract CSS Flash flv fp10 free gadget gadgets gdata google JavaScript jquery mvc papervision papervision3d PHP player playlist proxy puremvc pv3d Python search tube tutorial twitter video widget XML you youtube

Links


Help end world hunger

Archive for the “OS X” Category

A Simple Deploy Script

Thursday, July 29th, 2010

Don’t get me wrong, I love working with Capistrano, but sometimes it’s a bit over-kill. All I want to do is compress my stuff and just deploy up to a server for the client to see. Also, at times, some clients don’t give me SSH access and I have to use FTP, so it doesn’t quite work.

So, I’ve written my own little deploy script. It may be a bit crap, I don’t really care as it just works. It’s small, uses things like the YUI compressor for concat-ing and compressing CSS and JS; also optipng for downsizing the images; and finally ncftp when SSH isn’t there.
(more…)

Adding the “Safari” Style Search Box to Your Site

Friday, August 7th, 2009

So recently I published a post that contained a quick and simple browser detection snippet for jQuery. In that snippet, I accidently left a reference to a function called “initSafariSearch()”.

This function simply replaces the standard boring input text box with the nice Safari style one.
(more…)

Excluding Mac’s Hidden Files

Saturday, June 6th, 2009

Every now and then you’ll need to compress files. When it comes to creating new web projects where I’m using frameworks, I find it much faster to compress the base framework and upload that to my server rather than uploading each file individually.

Since I’m on a Mac, I had hidden files. So, if I simply OS X’s built in archiver, I’m left with a load of .DS_Store and hidden files, and that’s not nice. So I’ve been looking at the best ways I can compress folders and files and exclude all those nasty hidden files I don’t want to be on my server.
(more…)

Fork me on GitHub