May
5
2010
662 views
This script trys to check for any direct Absolute Path call for the function include, include_once, require, require_once, fopen, file_get_contents, and file_put_contents in the code, and report them back.
Well, it’s a bit useful for detecting were are some of the hardcoded paths are used into a PHP Project. Hope you will find it useful.
get from github
no comments | tags: Absolute Path, Coding Practices, Git, Github, PHP | posted in PHP, Releases
May
3
2010
602 views
no comments | tags: California, Sunnyvale | posted in My Life
May
2
2010
748 views
It’s been around in the blog-sphere, people mentioning that Jordan is becoming a country for technology, and how it should be as a Silicon Sahara. I would like to share some opinions on that.
Continue reading
2 comments | tags: ICT, Jordan, Programmers, Telecomunication | posted in Internet
Nov
19
2009
1,318 views
no comments | tags: All hands, Jerry Yang, New hire, Yahoo | posted in My Life
Oct
19
2009
1,528 views
I found this while looking to one of the local weekly ad newspapers, and I’m just wondering, is this legal in Jordan?
3 comments | tags: Healing, Scam, Superficial
Jun
25
2009
3,791 views
For some time, I needed to convert a big number of files from mp3 to ogg format, as I didn’t see any loss of quality with the ogg format, also it need less space.
The problem was that I want to keep my id3 tags, rewriting them would be a pain in the a**. I searched the web for free tools to do that, but I couldn’t find any, maybe I didn’t look enough. So I had to implement it myself.
Also, as I’m learning ruby, I thought it would be a good idea to use it for the script.
The tools I needed to do this, were mplayer, id3tool, and oggenc (vorbis-tools). Also in order to utilize my quad-core processor, I built it in a multi-threaded way (not so much, but it works
).
Now, I noticed that oggenc takes a lot of time, more than mplayer, so it was loading my tmp directory, so I made the mplayer thread wait when oggenc has 20 or more in it’s queue to process. Also, for more utilization, I put 3 threads for the oggenc to process.
I think that the script can use some improvements, feel free to post your feedback.
The script is available at git-hub at http://github.com/alaaibrahim/mp3toogg
Enjoy
1 comment | tags: id3, Mp3, mplayer, ogg, Ruby, vorbis | posted in Free Software & Open Source, Ruby
Jun
18
2009
2,067 views
Every now and then I recieve some emails from Zend about training (I have an account there for the certifications I got), usualy they go directly into the trash. Continue reading
1 comment | tags: PHP, Training, Zend | posted in PHP
Jun
6
2009
1,856 views

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
1,813 views
“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
Jun
4
2009
2,093 views
I’ve been expermenting with ruby for sometime now, and I’m really enjoying it, and I’m now coping with ‘#’ comments
Now one of the points that’s about functions, is how do they pass, by value, or by reference. So to try out Ruby. Continue reading
no comments | tags: C, functions, Handle, PHP, Pointers, Ruby | posted in C, PHP, Ruby