Dec 4 2011
Please wait
For sometime, I’ve been having trouble encoding files to play on my LG PW350 TV, and a lot of encoders, some caused loss in quality, some had sync issue, and some didn’t work at all, but this seams to get me the perfect result.
$ mencoder input.mkv -o output.avi -oac twolame -ovc x264
no comments | tags: LG, Linux, mencoder
Oct 19 2009
Please wait

I found this while looking to one of the local weekly ad newspapers, and I’m just wondering, is this legal in Jordan?
6 comments | tags: Healing, Scam, Superficial
Jun 6 2009
Please wait

Economy is going Bad
I got this picture from a friend, it’s so cute, I know the economy is going bad, but I think that the cat exaggerated 
no comments | tags: Economy, Funny
Jun 5 2009
Please wait
“In the year 3000, YouTube,Twitter & FB will merge to form 1 super time wasting website called “YouTwitFace”
Conan O’Brian”
The cute thing is that Youtwitface.com already exists.
Lucky guys. 
no comments
Mar 26 2009
Please wait
I’m using an IPv6 tunnel using http://go6.net/, and when the internet connection goes down and up after a while, the tunnel just doesn’t refresh it self.
I run it on crontab for every 5 minutes for now 
My Machine is Gentoo 2008, I guess you need to do some changes for it to work on your distro.
Hope that any one will benefit from it
#!/bin/bash
function restartGW {
/etc/init.d/gw6c restart
date >> /var/log/checkipv
}
stat="`/etc/init.d/gw6c status | tr -d ' ' | cut -d':' -f2`"
if [ $stat == 'stopped' ]
then
restartGW
elif [ $stat == 'started' ]
then
IPV4connected="`echo $(nc -zv www.google.com 80 2>&1) | cut -d')' -f2 | tr -d ' '`"
if [ $IPV4connected == "open" ]
then
# check ipv6 connectivity
IPV6connected="`echo $(nc -6zv ipv6.google.com 80 2>&1) | cut -d')' -f2 | tr -d ' '`"
if [ $IPV6connected == "open" ]
then
exit 0;
else
restartGW
fi
fi
fi
exit 0Update:
This script is available at github on http://github.com/alaaibrahim/ala-scripts/.
no comments | tags: gentoo, ipv6
Feb 25 2009
Please wait
When you do something wrong, use this form to apologize 

Formal Apology
no comments | tags: apology, Form
Feb 9 2009
Please wait
The IT Crowd is one of my favorite shows, it became like an addiction to me, I can never get enough of it.
This is episode 1 from the first season, you can watch it, it’s on google-video.
Now, it seams that the “Are you from the past?” thing, is faced a lot in the IT world, it’s like either we are from another planet, or we live in a world, where idiots are main population occupying it.
We speak in simple matters, like turn on your computer, but people find it hard to understand.
People refuse to think for a second of what the error message told them, or worse, they refuse to read the error message, but they have an amazing skill of attracting viruses, worms and Trojans. It’s really amazing.
And do you know what the problem is? a lot of these people work in the IT industry, and other people might know them as Computer Experts.
Now the issue is always, how to communicate with them, of course telling them that they are stupid, is rude. But guess what is also rude, telling them to try to learn, or use google, or read the G** D*** F***** Message.
And believe me, they would never learn.
So what do you think? Anybody has any ideas?
4 comments | tags: idiots, JFGI, RTFM, The IT Crowd
Jun 3 2008
Please wait
This post just a reminder for me, as every time I need it, I look through the manual for options, to send a file through FTP using the command curl
$ curl ftp://server/Path/To/Destenation -T FileToUpload -u username:password
I just keep forgetting it, hope it would help someone else 
no comments | tags: curl, ftp
Feb 2 2008
Please wait
1. Take out your laptop from the bag;
2. Open it slowly and calmly;
3. Turn it on;
4. Make sure that the moron next to you is looking at your screen;
5. Access to the internet;
6. Close your eyes and raise your head towards the sky;
7. Take a deep breath and click on this link: http://www.thecleverest.com/countdown.swf
8. Watch carefully the expression on the moron’s face!
3 comments