Archive for dev

ffmpeg reminders

blog, dev, random, tips on June 1st, 2012 No Comments

extract mp3 out of m4v video
ffmpeg -i video.m4v -vn -ar 44100 -ac 2 -ab 192 -f mp3 audio.mp3
clipping mp3 (from :07 to :30)
ffmpeg -ss 00:00:07.00 -t 30 -i audio.mp3 -acodec copy audio-new.mp3

Pune -> London

blog, dev, personal, travel on April 2nd, 2012 No Comments

For the past three months I’ve been working in Pune, India. It’s been challenging and rewarding work. India has become very dear to me. Will surely come back. Heading back to London for now.

iTerm2 option meta key

blog, dev, random, tips on February 25th, 2012 1 Comment

Giving iTerm2 a try. Happy so far, though I missed having the option key as meta. Here’s how to change:

xxd, I had forgotten about you :)

blog, dev, tips on September 26th, 2011 No Comments

More of a mental note… I had used xxd in the past to hexdump to a header file. Can be handy to compile files into binaries:
xxd -i somefile.ext
gives you something like this:
 
unsigned char somefile_ext[] = {
0×73, 0×6b, 0×79, 0×70, 0×65, 0×20, 0×6d, 0×65, 0×20, 0×61, 0×74, 0×20,
0×61, 0×6c, 0×76, 0×61, 0×72, 0×6f, 0×2e, 0×72, 0×61, [...]

photo smuggler now supports facebook pages

blog, dev, facebook, news, random, release on September 1st, 2011 2 Comments

Lots of Photo Smuggler users have been requesting fb page support. Spent some time adding this feature recently. Haven’t tested it throughly, but seems to work so far.

p-tiles facebook app

blog, dev, facebook, news, random on August 13th, 2011 No Comments

While playing around with ImageMagick (imagick and rmagick), wrote a little facebook app. P-tiles generates a profile pic mosaic, using your friends’ pics as tiles. Magic toolbox donated magic zoom, which gave it a nice touch.
P-tiles is hosted on a linode vps. Had been meaning to try them out. So far, so good. Had been a slicehost [...]

Pinblob Facebook app

blog, dev, personal, random, travel on July 17th, 2011 No Comments

I recently started to keep track of places worthy of going to in London. Shops, restaurants, coffee shops, parks, etc. I wanted to share these with others and hopefully get suggestions from different people.
Given that most people I know that may contribute are on Facebook, I wrote a FB app to compile a list of [...]

100 Photo Smuggler users :)

blog, dev, facebook, personal on May 11th, 2011 No Comments

Nice surprise to see 100 photo smuggler users. Have received some great feedback. Thanks! Seems people are actually using the app!

m4a to mp3

blog, dev, tips on March 11th, 2011 No Comments

more of a reminder, than anything… converting m4a to mp3 on mac:
faad -o – sample.m4a | lame – sample.mp3

Mac OS keybinding of the day

blog, dev, tips on February 10th, 2011 No Comments

Control+Shift+Eject to automatically start the screensaver.
This is particularly useful at work if you would like to lock your screen while away from your desk.