Shell

Update twitter via curl

Update twitter via curl (and also set the “from” bit):

$ curl -u twitter-username -d status="Hello World, Twitter!" -d source="cURL" http://twitter.com/statuses/update.xml

Convert AVI to iPhone MP4

$ ffmpeg -i [source].avi -f mp4 -vcodec mpeg4 -b 250000 -s 480x320 -acodec aac -ar 24000 -ab 64 -ac 2 [destination].mp4