Alaa Abdelhaq Blog
26 Aug
Building websites with a lot of client script like javascript may be a nightmare sometimes!
there is a big possibility that the client disabled the javascript by mistake or does not know whats javascript is!
so am wondering when browsers like firefox IE or Opera will make javascript support as an mandatory thing, and the end-user will never ever be able to disable it?
or what could replace javascript??
17 Aug
After working with maktoob.com I found that more than 90% of girls working in this lovely sector
are not really girls?!?
why its hard to find a girl like the marketing and sales girl working as a developer?
why they are not friendly at all?
does the computer change something in their minds and the way they think??
I really doubt it.
mostly all of my friends who are working in the same sector do agree.
is there any reason for this??
17 Aug
At first I should define, what is mod_rewrite?
mod_rewrite is a part of Apache server that can rewrite requested urls on the fly.
To enable mod_rewrite in Ubuntu, you just need to write this command in terminal
sudo a2enmod rewrite
17 Aug
This post will help you to install ffmpeg and compile it with some important codecs.
First, get your dependencies:
sudo apt-get build-dep ffmpeg sudo apt-get install liblame-dev libfaad2-dev \ libfaac-dev libxvidcore4-dev liba52-0.7.4 \ liba52-0.7.4-dev libx264-dev checkinstall \ build-essential subversion
Next, grab the ffmpeg source:
svn checkout -r 8998 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
If you’re feeling adventurous, you can try the very latest code by omitting the -r 8998 part of that line. Revision 8998 is the latest at the time of writing, and worked for me.
Now you can configure and build ffmpeg. This takes a little while:
cd ffmpeg ./configure --enable-gpl --enable-pp --enable-libvorbis \ --enable-libogg --enable-liba52 --enable-libdts \ --enable-dc1394 --enable-libgsm --disable-debug \ --enable-libmp3lame --enable-libfaad --enable-libfaac \ --enable-xvid --enable-pthreads --enable-x264 make
Finally, install it. checkinstall gives you the option to edit some parameters: I set the name to ffmpeg and the version to 3:0.svn20070511
sudo checkinstall