I’ve never thought that sometime I may write about such thing
But coz I’m a big fan of both Mac OS X and Windows 7 and I found some of features that I love in one of them and not available in the other! I hope that one day I can develop my Platform Independent Desktop Environment


anyway what I really love about Mac OS X Dock that I can add folder/file to the dock, change the dock size, style, effects and of course the Stacks with the fancy effects which I really miss when moving to windows 7 for a while doing any task
On the other hand, MS has just added/stolen (cough
) some of Mac OS X Dock features to windows taskbar such as pinning applications in the taskbar and using big icons! Windows 7 have a great feature there which is the previews or whatever they call it!! It really helps me switching between windows of the same application! Expose in Mac OS X may solve the problem but I still prefer the small thumbnails, each thumbnail with close button and also I can right click any one of them!
and that’s all folks

First time I used my MacBook Pro I haven’t got why there is no hibernate option!!!
After searching the web I found this article: http://www.geeked.info/make-my-macbook-pro-hibernate/ which helped me a lot understanding Hibernate Modes in MacBook Pro
The solution he provided is really great but actually I use the sleep option more than the hibernate one and I prefer to get the hibernate option when only I want to hibernate. So I find it silly to type everytime I want to hibernate “hibernateon”, putting my MBP into hibernate mode and after startup I have to type “hibernateoff” coz I don’t need hibernate option next time!!!
So simply I made a new command called “hibernate” which satisfy my needs
The command simply turn hibernate on and then parrallel execute shutdown and turn hibernate off
All you have to do is to add the follwoing line to the .bash_profile file that is located in /Users/YourUserName/
alias hibernate="sudo pmset -a hibernatemode 5; sudo shutdown -s now && sudo pmset -a hibernatemode 3"
Then execute the following command in the terminal
source .bash_profile
Now whenever you want to hibernate, just type hibernate in the terminal
Posted: 4th July 2009 by Osama Gamal in Programming
Tags: oSnake, Programming, Snake Game
Small Game I coded in C# just for fun
Snap suggested to add textures to the Snake but I don’t want to waste more time on it. I really enjoyed every line I wrote in it
I will be pleased, ff anyone has comments on my coding style or has any programming tips for me.

Posted: 12th June 2009 by Osama Gamal in Programming
Tags: C#, Programming
بقالي فترة طويلة جدا .. يمكن أكتر من سنة مبستخدمش أي تطبيق يطلق عليه Antivirus
لسبب ما دي حاجه غير مقبولة عندي من فترة طويلة لأني للأسف بحس ان كل الـ antiviruses بالإضافة لانها عديمة الاهمية فهيا بتاكل بشكل فظيع من امكانيات جهازي و بتقلل من كفائته و اللي طبعا اكتر حاجه بكرهها
و للأسف برضه Windows Live Messenger كان عاملي مشاكل مع كل ملف مضغوط أي حد يبعته و يقولي قال ايه و علي اخر الزمن حاتلي antivirus
و بما ان الحاجه ام الاختراع فقلت أجرب اديله اي برنامج ساذج مبيعملش حاجه . و المفاجأة انه مقلش لا و الملفات بتوصل و بيفتح البرنامج الساذج و بعد ما أقفل البرنامج بيعتبر اني الـ Virus Scan تم بنجاح
لوووووووووول .. قلت لما هيا كوسة كده طيب ما اعمل fake antivirus كل شغلته في الحياة انه يقفل
و بمنتهي السهولة عملت برنامج C# من سطر واحد فقط لا غير مكتوب فيه
Environment.Exit(0);
و بس
دلوقتي كل اللي بيحصل ان الـ Windows Live Messenger بيستقبل اي ملف و لما بيوصل بيفتح الـ fakeAntivirus و اللي كل الي هيعمله انه هيقفل تاني في سلام
How to use it:
- Download the FakeAntivirus and save it to your computer.
- In Windows Live Messenger Menu: Tools >> Options >> File Transfer Page
- Mark the option “Scan files for viruses using:”
- Click “Browse” and select the FakeAntivirus.exe
- You are done
ماما بقالها كام يوم رايحة جاية تقولي وطي صوت الكومبيوتر .. و انا للأسف بحب أذاكر في دوشة
و طبعا الـ Pocket PC بتاعي مش هيقدر يشيل كل الـ mp3s اللي انا عايز اسمعها و اللي ممكن توصل 3 جيجا
فوق ده كله عندي Wireless Stereo Headphone مش هعرف اشغله علي الكومبيوتر لان معنديش Bluetooth Key
بعد رحلة بحث مضنية عن Software يحل المشكله العويصة دي قررت اني احلها بطريقة مفتكسة
و الموضحة بالرسمة المعبرة جدا دي

How it works:
- When you connect your Windows Mobile Device to the PC via Active Sync or Windows Mobile Center in Windows Vista/Seven a network between your pocket pc and the computer exists. One of the best future of this network that you can access the internet.
- If you have apache server installed in your pc, then you can access it from your windows mobile device. So that it how it goes:
1- I connect my Pocket PC via USB/Bluetooth and make sure it is connected in Windows Mobile Center/Active Sync.
2- I launch my WAMP server and BTW I copied my /mp3s directory in the /www. – you may add alias rather than copying the files
-
3- Now I can access my mp3s from any media player if I opened the URL: http://my-ip/mp3s/fileName.mp3
4- To make it easier .. I made a playlist files .m3u and edited it with notepad. I replaced aal the “\” with “/” and then I replacedall the “c:/wamp/www” with “http://my-ip” 
5- Now simply open the playlists with the media player – I usually use Coreplayer- and anjoy
Notes:
- You may establish any type of connection .. you may join the same wifi network your PC is connected to.
- You may simply share the mp3s folder over the network and map it in your device .. but It didn’t work for me 
- You may use Broadcasting Server .. if you know a free good one, plz share