Using the command line to slice an image

The following command will slice an image into 8×8 sections outputting a series of files (units_00.png to units_63.png). This will work in Linux and OSX or any system that has ImageMagick installed.

convert Units.png -crop 8x8@ +repage +adjoin units_%02d.png

Hudson Xcode automated builds

Requirements:

1. Hudson 

2. Machine with OSX and XCode installed.

Building Shell Commands:  Notes: p.txt contains the password file (plain text)
security -q unlock-keychain /Users/linchear/Library/Keychains/login.keychain < ~/p.txt
xcodebuild -sdk iphoneos -configuration Ad-Hoc

 


Archiving command commands: This also copies the final ipa file to a shared dropbox location.
/usr/bin/xcrun -sdk iphoneos PackageApplication -v "${WORKSPACE}/build/Ad-Hoc-iphoneos/rider.app" -o "${WORKSPACE}/build/Ad-Hoc-iphoneos/rider.ipa" --sign "Lin Chear"
cp "${WORKSPACE}/build/Ad-Hoc-iphoneos/rider.ipa" ~/Dropbox/Distributions/

 

Optional slave machine set up if Hudson is not running on the OS X machine. The Slave machine is the OS X machine with XCode installed that will do the actual work.

37signals.com: All or something

 I don’t have 110% to give. I have a family, I have a mortgage, I have other interests. Where’s my place in the startup world if all I have to give is 60%? What can putting in part-time give?

The good news is much more than you think.

The world is full of ideas that can be executed with 10 to 20 hours per week, let alone 40. The number of projects that are truly impossible unless you put in 80 or 120 hours per week are vanishingly small by comparison.

link