أول يوم شغل في رمضان

رمضان كريم وكل سنة وانتم طيبين وربنا يعدوه علينا جميعا واحنا بصحة وعافية

امبارح كان اول يوم شغل في رمضان و انا كعادي كل سنة بيبقى ليا طرائف من نوع خاص في اليوم ده والسنة دي بالذات الدنيا حر و انا قاعد في القاهرة لوحدي من غير عيلة (لانهم كلهم مسافرين السعودية عن والدي ) : ولا اصحاب (لان  كلهم واخدين اجازة اول اسبوع في رمضان )

الجميل السنة دي ان الطرائف بداءت معايا بدري اوي

الموقف الأول : صحيت من النوم على صوت رفيقي في الشقة بيصحيني بلهفة لاننا اتاخرنا على الشغل فقمت و جهزت نفسي باقصى سرعة ممكنة و قمت نازل راكب تاكسي ورايح الشغل ولما وصلت عند بوابة المنطقة الحرة لقيت منبه الموبايل بيرن و يا ريته ما رن صعقت ان الساعة لسه 8:20 صباحا :يعني تقريبا قبل الشغل بساعة  ،يصراحة افتكرت ان انا غلطان دورت على اقرب واحد اساله و الكل بيقولي اه فعلا الساعة 8:20   و اضطريت امشي جوا المنطقة الحرة علشضان اوصل الشركة ما الاقيش فيها غير افراد الأمن

الموقف الثاني: الساعة 3:30 وانا جعان وعطشان و كمان هلكان و لكني اصريت اني اكل اول يوم بنفسي مش هاروح اكل بره فدخلت عملت الشوربة و……  (حصل الموقف ) و هوا موقف طبيعي بيحصل لاي حد جديد على المطبخ زي حالاتي  (بس مش لازم يحصل قبل المغرب بساعة )  الانبوبة عملتها معايا ولفظت انفاسها الاخيرة معلنة عن استسلامها قبل الاذان بساعة كاملة  بس الحمد لله كنت خلصت اغلب الاكل وكويس ان الجو حر والاكل ما لحقش يبرد

كل رمضان وانتم بخير

How to Install Windows 7 From USB Drive without Windows 7 ISO DVD

Dear Friends :

                After Spending Some time to try to Install Windows 7 from USB drive ,I reach to the working way 

Here is small guide on how to install windows 7 from USB flash drive

 

Requirement:

1. USB Flash Drive (Min 4 GB)

2. Windows 7 ISO (32 bit or 64 bit)

3. MBRwiz Download and Extract it on your hard drive (Diskpart utility for Windows XP doesn’t detect USB drive as Disk hence we need to use this free utility to make bootable USB drive).

Steps :

1. Connect your USB Flash Drive to your computer Format USB drive

2. To Format USB Flash Drive Go to My Computer -> Right click on USB drive and select Format from context menu.

clip_image002

3. Now go to Start Menu->run->cmd (Open Command Prompt) and Type following command

convert i: /fs:ntfs (Where “I” is your USB drive latter)

clip_image004

4. Mount Windows 7 iso as drive (You can use Freeware MagicDisc download from here).   (In my Case , I use Power ISO)

5. Type Start->run->cmd

Now dir to directory where you have extracted MBRWiz and run following commands

mbrwiz /list (note down disk number of your USB Pen drive)

mbrwiz /disk=X /active=1 (X is Disk Number of your USB Drive)

exit

clip_image006

6. Now open another command window and type following command

J: (Drive letter of Windows 7 iso mounted with demon tool)

CD boot

bootsect /nt60 Y: (Y is drive latter of your USB drive )

clip_image008

7. Now copy all files from drive where you have mount Windows 7 iso

8. Now reboot your computer and press F9 to get your BIOS screen and select USB drive as your boot drive.

9. If everything goes fine, Your Windows 7 Installation should start from your USB drive.

Puzzle Game using WPF

After Spending my weekend to Read about WPF

The Windows Presentation Foundation (or WPF), formerly code-named Avalon, is a graphical subsystem in .NET Framework 3.0 (formerly called WinFX), which uses a markup language, known as XAML, for rich user interface development. WPF is included with Windows Vista and Windows Server 2008, and is also available for Windows XP Service Pack 2 or later, and Windows Server 2003. It provides a consistent programming model for building applications and provides a clear separation between the user interface and the business logic. A WPF application can be deployed on the desktop or hosted in a web browser. It also enables rich control, design, and development of the visual aspects of Windows programs. It aims to unify a number of application services: user interface, 2D and 3D drawing, fixed and adaptive documents, advanced typography, vector graphics, raster graphics, animation, data binding, audio and video. Although Windows Forms will continue to be widely used, and Microsoft has created only a few WPF applications, the company promotes WPF for line-of-business applications. Future Microsoft software will be built on WPF; for example, the code editor in Visual Studio 2010 has been rebuilt on WPF.

it is really interesting technology and it will change the way to Design GUI for Standalone and Websites Solutions.

I have to read more about its concepts and how it is really work to make my Small Puzzle Game

Puzzle

and this is the code for this game Download Source Code

Nice Start with Project Euler

Today I have Start to solve problems in Project Euler

It is really amazing website to start practice your self  in programming tricks and also mathematics

I solve the first problem which was very easy , it can be solved by many ways and more simpler than my way

but I love .net 3.5

Here is my solution

var numbers = from number in Enumerable.Range(0, 1000)
                            where ((number % 3 == 0) || (number % 5 == 0))
                            select number;
 var answer = numbers.Sum();
 Console.WriteLine(answer);

ما هوا مستقبل القيادة في مصر؟!!

امبارح بالليل قريت موضوع كان بعته صديقي احمد سليمان عن حادث اليم حصل على الطريق الدائري 

واللي من وصفه للحادث يعتبر كارثة بمعنى الكلمة

والاصعب من كده ان فيه حادث كمان حصل بعده

و ده والله اعلم راجع لطبيعة السواقيين اللي بيسوقوا  وكمان الحالة المزاجية اللي بيكونوا فيها طبعا كلكم فاهميني كويس :)

أن أرواح الناس تبقى بالسهولة دي  وان ممكن اي حد فينا يكون مكان الناس اللي راحت في الحادث ده.

الحادث الأول   ،   الحادث التاني

What is the difference between efficient and effective?

“Efficient” means having a high ratio of output to input; which means working or producing with a minimum of waste.

For example, “An efficient engine saves gas.” Or, “An efficient test engineer saves time”.

“Effective”, on the other hand, means producing or capable of producing an intended result, or having a striking effect.
For example, “For rapid long-distance transportation, the jet engine is more effective than a witch’s broomstick”. Or, “For developing software test procedures, engineers specializing in software testing are more effective than engineers who are generalists”.