the easiest way to install #NodeJS and #NPM on #Windows10

Using OneGet, I’ll tell you how to install #NodeJS in 3 easy steps on powershell.

  1. open powershell:
    Run (Window + R) > powershell.
  2. install #Chocolatety provider:
    get-packageprovider -name chocolatey
  3. install #NodeJS
    install-package nodejs


#OneGet, the hidden package manager on windows 10

If you are a Linux user, you will probably be familiar with APT-GET the applications package manager.

On windows, I have been using similar pm called “#Chocolatey” but since I upgraded to windows10, I discovered a new way to manage my packages through a new set of powershell cmdlets under a new module called #OneGet.

#OneGet is a package manager for package mangers. you can add package managers to it and manage all your packages though same set of cmdlets.


Here is how it works:

hit powershell (Win+R > and write “powershell”) and follow the post and write these commands.


  • Find all package managers: Get-PackageProvider
PS C:\WINDOWS\system32> Get-PackageProvider

Name Version DynamicOptions
---- ------- --------------
NuGet {Destination, SkipDependencies, ContinueOnFailure, ExcludeVersion...}
msi 10.0.10240.16384 {AdditionalArguments}
msu 10.0.10240.16384 {}
Programs 10.0.10240.16384 {IncludeWindowsInstaller, IncludeSystemComponent}
PSModule {PackageManagementProvider, Location, InstallUpdate, InstallationPolicy...}


  • install #Choclatety: Get-PackageProvider -name chocolatey
PS C:\Users\Alaa> Get-PackageProvider -name chocolatey

The provider 'chocolatey v2.8.5.130' is not installed.
chocolatey may be manually downloaded from and installed.
Would you like PackageManagement to automatically download and install 'chocolatey' now?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): Y

Name Version DynamicOptions
---- ------- --------------
Chocolatey {SkipDependencies, ContinueOnFailure, ExcludeVersion, ForceX86...}


installing your first package “Google Chrome”: install-package googlechrome

PS C:\WINDOWS\system32> install-package googlechrome

The package(s) come from a package source that is not marked as trusted.
Are you sure you want to install software from 'chocolatey'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): Y

and voila,
Your machine is now have Chrome installed without googling and looking for installers online.

How to bypass workplace Group Policy and save your Onenote Notebooks to skydrive

New year, New laptop from my company.. new day wasted in moving stuff n making apps like onenote n dropbox working!

I opened onenote’10 to connect 2 my skydrive account n found that they have disabled the service from the group policy! and the below message appeared.
“This service is disabled by policy. Contact your system administrator to enable it.”

So, here is a step by step to create a new Registry key to re-enable the service…

1. Open Registry editor (Run > RegEdit)
-you must have admin. privileges on your machine-

2. Browse to “HKEY_CURRENT_USER\Software\Microsoft\Office\Common\”.

3. right click this ‘key’ (folder icon), and click new>key.

4. rename this key (folder icon) to “WebIntegration”.

5. Right click this new key and click “new > String Value”

6. rename “New Value #1” to “WebIntegrationEnabled”

7. Double click it and set the value data to “1”

Close oneNote *totally* from your ‘notification area’ and reopen it n BOM you are done!

Fix your SSMS SQL Server Management Studio R2 Intellisense

I have been working without SSMS Intellisense for more than 2 weeks now, It was really pain.. it made me feel I am traveled 10 years bk to sql sever 2000 !!

Yesterday.. I noticed that the whole team is facing the same problem, and someone told me that it happened after installing Visual Studio 2010 SP1.

Once you know the reason, you can find the issue online in seconds, and the solution too.

I just installed the hotfix package, and it worked like a boss!!

How to install windows 8 on VHD file and boot from it

Today I have installed windows 8 beside windows 7 on my laptop in a VHD file..
Here is a STEP by STEP Guide to what I have done.


There are several ways to install multi OSs,
the easiest way is to simply install the 2nd OS from inside the 1st one on another partition BUT there is a chance for any of them to mess with the other one’s files ..
another way is to install the 2nd one inside virtual machine using virtual PC/VM ware or any other VM Software BUT this won’t give us full hardware performance on the guest machine …
In order to get full hardware access and performance … and don’t let any OS mess with the other.. We will install the OS on VHD file and boot from it.


  1. Download “Windows 8″ iso file
    Download it from this link OR here is a link for Windows 8 Developer Preview with developer tools English, 64-bit (x64)
  2.  Download Windows 7 USB/DVD download tool from this link (this is a tool by MS to make bootable Flashdisk or DVD out of ISO files, Released for users who purchase windows online from windows store)
  3. Get a 8.5 Double layer DVD or 16 GB Flash disk


  1. Creating Bootable Flashdisk / DVD
    • start installing Windows 7 USB/DVD download tool
    • in the installation process you will pass throught four steps
      • First: Selecting ISO File (select the ISO file u just downloaded in the prerequisists)
      • Second: Choose DVD or USB Device , the media you want to put the installation files on.
      • Third: Select the Flash memory partition OR the DVD Drive.
      • Fourth: Wait for Formatting / installation on your media (~10 minutes)
  2. Making a VHD – Virtual Hard Disk – File
    • Open up CMD -commmand prompet- with Admin Preveligde
    • Run MS diskPart tool by writing “diskpart” and hit enter
    • create a VHD File on the windows by the following command
      DISKPART> create vdisk file=d:\Windows8Dev.vhd type=expandable maximum=50000
      Note:  your can change “d:\Windows8Dev.vhd” to your preferred directory and 50000 to a diffrenet size (but not less than 30000 -30GB-)
    • select the VHD you just created
      DISKPART> select vdisk file=d:\Windows8Dev.vhd
    •  Now attach that VHD to windows
      DISKPART> attach vdisk
    • Create a primary partition on it
      DISKPART> create partition primary 
  3. Booting from Flash memory / DVD and Proceed to the installtion process of windows 8
    • Restart your computer and change your boot order to the flashdisk/dvd
    • once you computer starts installing windows 8, Press SHIFT + F10, you will get a CMD window
    • Write the 2 commands commands of selecting and attaching the vhd
      DISKPART> select vdisk file=d:\Windows8Dev.vhd
      DISKPART>attach vdisk
    • Once you reach the Partition selection window “Where do you want to install windows ?”
      You will find another Disk with 1 partition in the partitions list (with the size you have made in the first step)
    • Choose that partition, and proceed the normal installation process of windows.
  4. Finally..
    • After installation process, you will find a boot menu consists of 2 items “Windows Developer Preview” and “Windows 7”
    • inside windows 8 there is an extra partition C, this is the emulated partition of VHD
    • inside windows 7: your normal partitions without any extras, the file at d:\Windows8Dev.vhd will be about ~10 GB at first installation.

My OneNote 2010 training prezi file

At my work, my team organizes a small session every Sunday morning with random speaker from inside the team .. and the presenter choose a random topic to talk about.

Yesterday, It was my turn.. and I have chosen MS onenote to talk about.

I have made the prezi file public, and I am posting this to share it with U!

You can view it from this link :



Remap your acer TravelMate 8472 notebook keyboard

If you have ACER’s I5 TravelMate 8472

with the annoying $ & € keys beside up arrow key,

and it always happen to click it accidentally when clicking left arrow or right arrow.

I have made a registry file that will remap your $ to be right arrow and € to left arrow.
Download link:

After downloading..
Run the file, then restart your computer 🙂

Enjoy ^_^

[solution] how to enable HTTPS to your facebook applications for FREE

Tomorrow, 1 Oct. 2011 ..
All Facebook canvas applications must have SSL certified URL in the app. settings or else these apps won’t work with users.

I was trying to find a “cheap” solution for my applications cuz buying an https <SSL certification>will cost me alot !!

Go daddy and some other internet assets sellers have discounts for SSL these days!
you can Google it.

OR .. use this 100% Free solution from social server:

Open up social-server’s facebook hosted portal at

1st: Create a free account (down).

2. Login to account you just created (up).

you will find an interface like this one

3. add non-certificed (normal HTTP) tab URL to the textbox at the top then click the checkmark.

4. you will find that “my adapted facebook page tab(s)” small dialog appears at the bottom.

5. get the secure URL and add it your application settings.

6. Set App ID , width , height for the facebook canvas application.

7. Congratulations .. Your app. will now transfer to users via “secure” connection 🙂

100% Free solution =:D

Please post any Qs./problems to the comments below.


How to upgrade (install) Blackberry OS without having active subscription

Here is step by step guide that will help you upgrade (install) your blackberry operating system without having active subscription (BIS)
note: I upgraded from v.4.6 to v5.0 on my 8900, and I was running windows 7.

Please follow exactly these steps to get it working …


1. the device software (OS): you can download it from Blackberry software website.
 (Note: If you need  input languages support other that English, you need to get a multilingual package. here is a version 5 one.)
2. In case you need to backup your device before installation.. download Blackberry desktop software.


1. (optional) Backup all you contacts / MSGs/ etc… using blackberry desktop software.

2. UNINSTALL all programs related to RIM including Desktop manager,
and make sure nothing left related to it in your program files folder and in common files (\Program Files\Common Files\Research In Motion).
then restart your windows. 

3. after windows starts up, Install the device software you downloaded in the first step in requirements part.

4. Remove VENDOR.XML from ApplLoader Folder located in (\Program Files\Common Files\Research In Motion\AppLoader).

5. PlugIn your blackberry to the computer using USB Cable and Remove the Batter and the SIM Card from the blackberry.
Now Focus in the coming 2 steps, cuz you have to fast ( and don’t plug out the USB cable !! ):

6. Open AppLoader folder and keep it opened.

7.  Insert the battery back to the blackberry [the LED Light will turn RED

      –NOW-Run the Loader.exe from the AppLoader folder before the RED light goes away.

8. In the application, you will see that your device found But with Unknown PINPress Next and start the sofware scanning.

9. Follow the installation process and choose all modules you need =)

after installation … Wait and mmmmmmm Wait, Because it will take alot of time to bootup your blackberry for the first time.

1o (optional) Install the desktop software and restore important personal data you backed up in the first step.
Don’t restore all settings cuz some settings might be not compatible with the new version just do with important stuff only.

Finally .. you are done :=D

Angry birds is not working on chrome after installing the latest offline version [ FIX ]

A couple of weeks ago angry birds -web-  got a new version that is capable of working offline with HTML5 Cache !

Some people reported that it doesn’t work and craches on this screen:
angry birds crash chrome version


Today, I tried to delete the cache and re-install the game .. and it worked fine =)

Here is HOW:

Go to

Options >under the Hood > Content settings > Click “All Cookies and site data…”

OR simply write  chrome://settings/cookies in your address bar !

You will find a long list of all sites “Cookies and Other Data” in your browser !

in the small box above write “chrome.angrybirds

angrybirds fix for offline version on google chrome



You will find only 1 entry filter, click “session storage” then > “Remove

NOTE: All your saved data <levels> will be lost ! (90%)

Now.. open up your angry birds web app and wait for the installation.
and u r done =D