Oct 27

Assalammualaikum and very good day to everyone,

Linux kernel 2.6.18 has oficially got native real-time support thanks to the the work of Ingo Molnar (Red Hat) and Gleixner (TimeSys).  You can read about it here. It is a shame that the newly released Ubuntu Edgy Eft (today!) does not use this new kernel yet.   This is a good news for embedded developers and those using Linux for Multimedia application.

Two words describe the improvement,

                                                                       LINUX ROCKS!

written by teleforce

Oct 12

Ramadhan Mubarak everyone!

Ramadhan is definitely the month of Al-Quran. All these years islamway.com has been the source for downloading mp3 Quran recitations. To download one surah/file at a time manually will take a lot of effort. So, inspired by Shakir’s blog on scripting to be productivity, I decided to cook up a small bash script that’ll download everything for me, of course one at a time.


#script for dowloading Quran mp3 of your favorite recitor.
#script by adli.wahid@gmail.com 

START_SURAH=1
END_SURAH=114

while [ $START_SURAH -le $END_SURAH ]
        do
                echo "downloading $START_SURAH"
                if [ $START_SURAH -le 9 ]; then
                        wget  http://quran.islamway.com/shuraim/00$START_SURAH.mp3
                elif [ $START_SURAH -le 99 ]; then
                        wget http://quran.islamway.com/shuraim/0$START_SURAH.mp3
                else
                        wget http://quran.islamway.com/shuraim/$START_SURAH.mp3
                fi
                START_SURAH=$((START_SURAH+1))
        done
echo "-------done downloading the whole quran -------"

Cut and paste that into a file say download.sh and chmod 755 it. Make sure you replace the URL accordingly. I guess you can replace wget with your favorite command line downloading utility. Let me know if there’s an alternative way to write the script. Enjoy!

p/s who’s your favorite recitor? :-)

written by adli

my pass