Skip to content

Category Archives: Uncategorized

Amarok on my machine

yum install amarok

firefox 3.6 and java

install latest version of jre and ln -s /java/jdk1.6.0_16/jre/lib/i386/libnpjp2.so /home/mohamad/.mozilla/plugins/

mencoder rmvb to avi

i found it in fedoraforum mencoder in.rmvb -oac mp3lame -lameopts preset=128 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200 -ofps 25 -of avi -o out.avi File 1. rmvb file: in.rmvb 2. avi file: out.avi Information for the avi file Video format: mpeg4 bitrate:1200 kb/s fps: 25 fps Audio format: mp3 bitrate: 128 kb/s Explanation -oac: output audio codec mp3lame: […]

BIG Donkey

I have received via email Watch …. See ….Think دخل حمار مزرعة رجل وبدأ يأكل من زرعه الذي تعب في حرثه وبذره وسقيه؟ كيف يُـخرج الحمار؟؟ سؤال محير ؟؟؟ أسرع الرجل إلى البيت جاء بعدَّةِ الشغل القضية لا تحتمل التأخير أحضر عصا طويلة ومطرقة ومساميروقطعة كبيرة من الكرتون المقوى كتب على الكرتون يا حمار أخرج […]

google service names

found it here http://code.google.com/apis/gdata/faq.html#clientlogin

posting from python!!

just simple posting from python import wordpresslib url = ‘http://mohamadatef.wordpress.com/xmlrpc.php’ wp = wordpresslib.WordPressClient(url, ‘mohamadatef’, ‘PAssWord’) wp.selectBlog(0) post = wordpresslib.WordPressPost() post.title = ‘posting from python!!’ post.description = ‘just simple posting from python’ idPost = wp.newPost(post, True)

install php_posix for centos

for installing symfony on my centos –just for testing– , for installing php_posix yum install php-process for installing more recent version of php use remi repo install epel repo and remi rpm -i http://rpms.famillecollet.com/enterprise/remi-release-5.rpm enjoy!!

currency converter under linux command line

nice post i ve found http://segfault.in/2010/03/command-line-currency-converter-for-linux/currency_convert() { wget -qO- “http://www.google.com/finance/converter?a=$1&from=$2&to=$3&hl=es” | sed ‘/res/!d;s/]*>//g’;}paste it under .bachrccurrency_convert 10 usd egp10 USD = 55.0400 EGP

linux GWT firefox 3.6

here is summery of post i found for installing GWT plugin under linux with FF 3.6 http://www.devcomments.com/GWT-2-0-plugin-for-Firefox-3-6-at87024.htmsvn checkout http://google-web-toolkit.googlecode.com/svn/trunk/ trunksvn co http://google-web-toolkit.googlecode.com/svn/plugin-sdks/gecko-sdks/gecko-1.9.2 plugin-sdks/gecko-sdks/gecko-1.9.2under trunk/plugins/xpcom make ARCH=x86 BROWSER=ff36open plugin by firefox (file > open file) trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi

mplayer change resolution of movie (scale)

mplayer -vf scale=640:480 movie.avi