So yesterday I thought it would be useful to have a tool that generates CSS classes based on defined slices of an image. There are tools out there that do this but I wanted to…
Tag: linkedin
HTML5 getting started with canvas
HTML5 and javascript are the next wave of web capabilities to do rich content without flash or any other plug-ins like unity. A big part of this is the canvas element which allows you to…
Flixel Animated TileMap
So I was putting together a game where I wanted an animated tilemap in flixel, it did not seem to have this functionality natively, so I created a class for it and thought I'd share.…
applescript to hide/reveal hidden files
There are certain things I find I do now and again which would be nice to automate. One of them is revealing hidden files, on a mac that means the file name begins with a…
deploy any site with capistrano from svn
Capistrano is a very cool web deployment tool initially built for the ruby on rails environment, more info can be found here. However you don't just have to be coding in Ruby to use it,…
trace flash log output in terminal
It's a great easy way to debug flash in the browser without relying on third party plug ins. If you want to save it you can even put the command in a text file and…
iphone rotate ui to orientation
I found a lot of confusing descriptions on how to get iphone views rotated to orientation. Most of them were using interface builder which doesn't help me as most of the applications I build are…
implementing iAd Framework ADBannerView on iOS4
Putting ads in your iPhone app is as simple as adding an ADBannerView to your view. You can alter the location of the view by changing CGRectZero to CGRectMake(x, y, 0, 0) or altering the…
Read more of implementing iAd Framework ADBannerView on iOS4
scale up images for retina display on iphone 4
if you include the suffix "@2x" at the end of your image names the app will use these images instead of your regular low res images. For example if I have an image "title.jpg" I…
MPMoviePlayerController in iOS4 horizontal
I updated XCode and my iPhone SDK today to the latest 3.2.3 and iPhone OS4 only to find that it broke my video players, so below is the code to play it the same way…