Thursday, August 28, 2014

Convert a bunch of AAC files to MP3 using ffmpeg and bash

Here's a little one-liner to convert a bunch of aac files to mp3 using bash and the non-free version of ffmpeg:

for i in *.aac; do ffmpeg -i $i -aq 2 `basename $i aac`mp3 ; done

A couple of things to note: the filename extension for aac is case-sensitive in bash. And this only works for the non-free version of ffmpeg that has AAC and MP3 enabled.

Thursday, August 21, 2014

Programming interview questions code repo on Google Code

I've started a repo that will include coding samples of interview question answers. The first commit is a simple linked list in C. The repo is called programming-interviews-code.

Friday, April 4, 2014

How to repoen accidentally closed tabs in Google Chrome

Google Chrome is now my browser of choice. Closing tabs accidentally has happened to all of us at some point. To reopen the tabs, simply type Ctrl-Shift-T