Friday, October 7, 2011

Wake On LAN

 


Wake on LAN is something very useful, when thinking about not wasting energy, use Wake on LAN if you don’t like throwing money away to an always-on System.


1-Enable Wake on LAN in your BIOS:

 

-restart your computer and press and hold the

delete key (or whatever key to access your BIOS

settings)

-Once you are in the BIOS, go to the Power

Management section and search for the Wake on LAN settings.

Enable the Wake on LAN, Save and Exit.

-On some boards you may have to enable a "Power On

By PCI Devices" setting, others you won't find the

Wake on LAN option.

 

 

2-Enable Wake on LAN in Windows

 

-To Enable Wake on LAN in Windows, Right-Click on My Computer, select properties, then click on Device manager.
-Find your Network Card in the Hardware List, right click it and click properties.
-Go to Power Management tab in the Properties and tick the checkbox next to "Allow this device to wake the computer".

-Now Go to the Advanced tab and Change the "Wake From Shutdown" option to "On"
and the "Wake On Magic Packet" setting to "On".

Hit OK.

 

3-WAKE YOUR COMPUTER

//you can use the Magic Packet Sender Freeware to wake your computer from any device http://magicpacket.free.fr/

 

1-on the computer that you want to wake up, type the command in the CMD ipconfig/all.
take your internet connection ipv4 address and Physical address (MAC Address)

 


a-For Inner Network Remote Connections:

 

-Send a Magic packet with a host name = to the ipv4 of your computer "Internal IP Address", your computer's MAC address and your Subnet Mask should be 255.255.255.255

note: you have to use the UDP as your network protocol and port 9 as the sending port.

 


b-For Internet Connections:

 

-Send a Magic packet with a host name = to the external ipv4 of your computer (you can get it from www.whatismyip.com ), your computer's MAC address and your Subnet Mask should be 0.0.0.0

note: you have to use the UDP as your network protocol and port 9 as the sending port.

 

NOTE: you can also use www.dyndns.com  and create a free account to access your router and settings from the internet.


Good Luck ;)

 
  For More Info Please Visit: http://en.wikipedia.org/wiki/Wake-on-LAN  

Wednesday, September 28, 2011

Math Problem

One of the mathematical problems that I’ve seen today and decided to solve it :)
Problem:
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000.

Solution (This is my own solution – you can solve it using another way)
-The nearest multiple of 3 below to 1000 is 999 then we have 999/3 = 333 multipliers –>1 –> “m”
-The nearest multiple of 5 below to 1000 is 995 then we have 995/5 = 199 multipliers –>2
--> from step “1” we have:
The sum of all multiples of a Number n = (the number in the set “n”) x (The mean of the Set “o”)
n = 3 ,  o = m(m + 1) / 2 = 333(333 + 1)/2 = 333 (334)/2 = 55611

then the sum = 3 * 55611 = 166833 –> 3
--> from step “2” we have:
n = 5, o = 199 (200) / 2 = 19900
then the sum = 5 * 19900 = 99500 –> 4
From step “3” and step “4” we have:
the total sum of all multiplies of 3 and not or 5 below 1000 = 166833 + 99500 = 266333
We want now to remove the common multipliers between the 3 and 5 –> 3 * 5 = 15 –> n = 15
-The nearest multiple of 15 below to 1000 is 990 then we have 990/15 = 66 multipliers
then the sum = 15 * 66(67)/2 = 33165

Finally we got, the total sum of all multiples of 3 or 5 below 1000 = 266333 – 33165 = 233168

hope you enjoyed it too;
Thanks;
Mohamed Adel
For More Info Please Visit: http://projecteuler.net

Wednesday, September 21, 2011

How to Block “Facebook” on all your browsers

 


Sometimes, Facebook is wasting a lot of our working, studying or life time;

I will talk today about how to block “Facebook” on all your browsers;

Sometimes, The Normal block method used from the “Internet Options” isn’t working on some sites like Facebook.

Today, I’ll teach you how to block the Facebook Site from the Host File;

1-Open the C:\Windows\System32\drivers\etc folder

2-Right Click on the hosts file and Open it with Notepad or any text editor

3-Search for this line in the file:  #    127.0.0.1       localhost

4-Add these 2 lines after it:

127.0.0.1 facebook.com
127.0.0.1
www.facebook.com

(See the Figure)


5-Save the file.

  • Sometimes you can’t overwrite the host file when saving, follow these steps:
  1. Save the host file after editing it on any location you know on you PC
  2. From Windows Explorer Open Tools –> Folder Options –> View then Uncheck the “Hide extensions for known file types”.
  3. remove any additional extensions added to the file that you have created e.g. hosts.txt –> hosts remove the .txt by renaming the file.
  4. copy your host file from the location you know and replace the file in the C:\Windows\System32\drivers\etc folder.
  5. Say ByeBye Facebook

Share it if you believe that it’s important.

 
  For More Info Please Visit: 10 Reasons to leave Facebook  

Sunday, September 18, 2011

WPF VS Silverlight

 


What is the difference between WPF and Silverlight?

I’ve heard many developers talking about this topic;

Here’s a Good research about WPF VS Silverlight that answers this famous question

done by Eng. Ibraheem Osama Mohamed (MSP Egypt – Helwan Microsoft Tech-Club)

 

 http://j.mp/WPF_vs_SL (PDF Version – 232 KB)

 
  For More Info Please Visit: Helwan Microsoft Tech-Club Page on Facebook  

Wednesday, September 7, 2011

How to install the Windows Phone Developer Tools on Windows Server 2008

 


The Windows Phone Developer Tools are not officially supported on operating systems other than Windows Vista or Windows 7. 

There is a way you can work around the Windows Server 2008 setup block if needed.  Please note that this is not officially supported, so if you try these steps, you are doing so at your own risk.

  1. Download the Windows Phone Developer Tools web installer and save it to your hard drive
  2. Extract the contents of the setup package by running vm_web.exe /x and choosing a path to extract to
  3. Go to the folder you extracted to in step 2 and open the file baseline.dat in notepad
  4. Look for the section named [gencomp7788]
    Note - you have to change this exact section - this is the one that controls the OS version blocking behavior in Windows Phone Developer Tools setup.
  5. Change the value InstallOnLHS from 1 to 0
  6. Change the value InstallOnWin7Server from 1 to 0
  7. Save and close baseline.dat
  8. Run setup.exe /web from the folder you extracted to in step 2
    Note - please make sure that you include the /web command line parameter in step 8.  If you don't, setup will not attempt to download the packages it needs to install, and it will fail to install correctly as a result.
 
  For More Info Please Visit: Aaron Stebner's WebLog  

Monday, September 5, 2011

Installing SQL Server 2008 R2 (SQL Administration Part 2 - 1)

 

Hardware Requirements:

1-For SQL Server 2008 R2 Standard Edition “32 Bit”

a-Processor
-Pentium 1.0 GHZ minimum processing power

-2.0 GHZ or higher “recommended”

b-Operating System:

-XP SP3 or higher

b-Memory

-MIN 1GB.

-4 GB or more“recommended”

-MAX 64 GB

-Express Editions requires 192 MB and recommends 512 MB RAMS


2-For SQL Server 2008 R2 Standard Edition “64 Bit”

a-Processor
-Pentium 1.4 GHZ minimum processing power

-2.0 GHZ or higher “recommended”

b-Operating System:

-XP Professional SP2 64x – Windows Server 2003 SP2 64x or higher

b-Memory

-MIN 1GB.

-4 GB or more“recommended”

-MAX 64 GB

-Express Editions requires 192 MB and recommends 512 MB RAMS



Disk Space Required (32 bit and 64 bit)

verify that you have at least 3.6 GB of available disk space on the system drive for these files before starting the SQL Server installation.

-Database Components (Engine – data files – Replication – Full Text Search): 711 MB

-Analysis Services: +90 MB (Average 345 MB)

-Reporting Services: +120 MB (Average 304 MB)

-Integration Services: +120 MB (Average 591 MB)

-Client Components: +850 MB (Average 1823 MB)

 
  For More Info and to view the other SQL Server 2008 R2 Editions HW and SW Requirements Please Visit: Hardware and software requirements for installing SQL Server 2008 R2  

Wednesday, April 27, 2011

Introduction to SQL Server 2008

 

Hi again,

I’m Mohamed Adel Microsoft Middle East and Africa Data Platform Developer and I'll write a series of blog posts about SQL Server 2008 R2, hope you enjoy this series.

  • Introduction to SQL Server 2008 R2

 

SQL Server Storage:

-524272 TB per DB

-32767 concurrent user connections

-32757 Databases on a server

-up to 2147483647 tables per database

-1024 columns per table

 

SQL Server Versions and history:

-Microsoft and IBM are the first to start The data base development concept @1989

-1998 MS OLAP TOOLS

-2000 SQL Server 2000 (8.0)

-9.0 SQL Server 2005

-10.0 SQL Server 2008

-Virtual Box (SUN Virtual Machine)

 

SQL Server Editions:

 

1-Core Editions (Standard & Enterprise)

 

a- Standard

-Small to large business

-Up to 4 CPU

-Max OS Ram

b-Enterprise

-Enterprise Workloads and BI

-CPU and raM limited by OS

 


2-Specialized Editions

 

a-Workgroup:

-Remote offices
-2 CPU Max
-4 GB Ram MAX

b-Web

-Web application hosting

-4 CPU's MAX

-OS MAX RAM

c-Developer

-licensed for development and testing only
-OS MAX CPUs
-OS MAX RAMs

 


3-Free Editions

 

a-Express Edition:

-Entry level for learning

-1 CPU MAX

-1 GB MAX RAM

-4 GB MAX Database SIZE

b-Compact 3.5

-embedded database for developing desktop and mobile apps
-OS MAX CPUs
-OS Max RAMs

 
 
  For More Info Please Visit: SQL Server 2008 R2 Introduction  

Search This Blog