Wednesday, February 29, 2012

Google love

Simply in love with Google UI design revamp, especially Blogger.

Raspberry Pi

Raspberry Pi Released Today!

Monday, February 13, 2012

Monday, January 23, 2012

January 21, 2012

الحمدلله الذي أنعم علي بنعمته ورزقني بمولود

Thanks to Allah for blessing me with a beautiful baby boy.

Thursday, January 12, 2012

Recording OS X Text to Speech to an Audio file using Terminal

This is a very useful method to record OS X text to speech into an audio file.

  1. Create a text file using TextEdit and write whatever you want the Mac to speak then save it as "text.txt" on your desktop.

  2. Open Terminal

  3. Type cd ~/desktop and click Enter

  4. Type say -v Alex -o "audio.aiff" -f "text.txt" being "audio.aiff" is the name of the audio output file and "text.txt" is the name of your text file saved on your desktop then click Enter


Once you click Enter the audio file will appear on your desktop.

You can change the voice with any of OS X system voices (Kathy, Vicky, Victoria, Alex, Bruce, Fred) by replacing Alex with any of the names.

Note that even ".rtf" files can be read as well so in that case just change "text.txt" with "text.rtf".