Thursday 31 July 2014

Window 7 Shortcut Keys


General Keyboard Shortcut

F1
Display Help
Ctrl+C
Copy the selected item
Ctrl+X
Cut the selected item
Ctrl+V
Paste the selected item
Ctrl+Z
Undo an action
Ctrl+Y
Redo an action
Delete
Delete the selected item and move it to the Recycle Bin
Shift+Delete
Delete the selected item without moving it to the Recycle Bin first
F2
Rename the selected item
Ctrl+Right Arrow
Move the cursor to the beginning of the next word
Ctrl+Left Arrow
Move the cursor to the beginning of the previous word
Ctrl+Down Arrow
Move the cursor to the beginning of the next paragraph
Ctrl+Up Arrow
Move the cursor to the beginning of the previous paragraph
Ctrl+Shift with an arrow key
Select a block of text

Friday 25 July 2014

Window 7 Basic and Tutorial

The desktop (overview)
The desktop is the main screen area that you see after you turn on your computer and log on to Windows. Like the top of an actual desk, it serves as a surface for your work. When you open programs or folders, they appear on the desktop. You can also put things on the desktop, such as files and folders, and arrange them however you want.
The desktop is sometimes defined more broadly to include the taskbar. The taskbar sits at the bottom of your screen. It shows you which programs are running and allows you to switch between them. It also contains the Start button, which you can use to access programs, folders, and computer settings.
Working with desktop icons
Icons are small pictures that represent files, folders, programs, and other items. When you first start Windows, you'll see at least one icon on your desktop: The Recycle Bin (more on that later). Your computer manufacturer might have added other icons to the desktop. Some examples of desktop icons are shown below.
Examples of desktop icons

Double-clicking a desktop icon starts or opens the item it represents.

Monday 21 July 2014

How to Find a Computer's MAC Address (Windows 7 and Vista)




A media access control address (MAC address) is a unique identifier assigned to network interfaces for communications on the physical network segment. MAC addresses are used as a network address for most IEEE 802 network technologies, including Ethernet. Logically, MAC addresses are used in the media access control protocol sublayer of the OSI reference model.
You can see your mac address by using following steps

    open start menu and Type ncpa.cpl into the search box and press ENTER as in image.



Right-click your Local Area Connection and select Status or just double click on Local Area Icon

Thursday 17 July 2014

Compare date in php

It’s really a horrible thing to work on date to being a programmer. If language is PHP then it’s too hard to achieve but don’t worry I have a best trick to solve it just take a look on following lines.

In PHP Date store in string format internally and time is store integer internally. You just have to change date into its equivalent time integer value and compare their integer as we work on number.

function compare_date($d1,$d2)
{
$date1=strtotime($d1);
$date2=strtotime($d2);
if($date1>$date2)
echo "First Date is greatest one";
else
echo "Second Date is greatest one";
}

I am using function for implement your logic you can work it where you want without using function