Wednesday, 28 September 2011

Download Mozilla Firefox 7 Stable Version


The stable version of Firefox 7 is now available for download.  The Firefox 7 stable is now uploaded on the FTP server. Although, Mozilla has yet to update the official download page. The new stable version will consume less memory compared to the previous version, as the company claims.
I’m not much of a Firefox fan but still I downloaded the latest build to get my hands on. I definitely saw the improved memory consumption behavior while using it for hours. But, I’d still prefer Google Chrome as a browser over Firefox. If you want to download the latest build, find the download link at the end of the post.
New in Firefox 7 Stable Version
  1. Drastically improved memory use
  2. Added a new rendering backend to speed up Canvas operations on Windows systems
  3. Bookmark and password changes now sync almost instantly when using Firefox Sync
  4. Added support for text-overflow: ellipsis
  5. Added support for the Web Timing specification
  6. Added an opt-in system for users to send performance data back to Mozilla to improve future versions of Firefox. This can be enabled by installing an add-on
  7. Fixed several stability issues

Saturday, 17 September 2011

Download Angry Birds Rio Full Version For PC


Intel Appup is running a promotional offer where they are giving away a free copy of the popular Angry Birds Rio game. You need to register a new account on Intel AppupSM center to get PC version of Angry Birds Rio game. Only new registrants can take advantage of this offer. So if you already have an account there, you need to create a new account with other email address.
If you buy the activation key of Angry Birds Rio PC version from the official website, it will normally cost you around $5. Here’s a chance for you to save your $5. All you have to do is register a new account on Intel AppupSM.

 Register with Intel AppUpSM Center by September 29, get a FREE copy of the Angry Birds Rio app – then help the birds help their friends from the film Rio.
 
How To Create Account And Get Angry Birds For Free
  • Download the Intel Appup software (Direct Link) on your PC. It’s available for all the versions of Windows.
  • Once installed, launch the Intel Appup center and click ‘Sign in’ on the application window.
  • Now, in the welcome message box, click ‘Get one here’ and follow the instructions to create a new account.
  • After you create a account there, just check the ‘My apps’ tab and get the Angry Birds Rio absolutely free from there.
Note that the offer is valid till 29 September. If you register a new account after 29th, you won’t get the free app. Enjoy!! and play Angry Birds Rio full version on your PC.

Friday, 9 September 2011

How to Make Your Own PHP Captcha Generator

3 Major Anti-spamming techniques used?
  1. Mathematical Operation like Random number + Random Number = -> The user must specify the answer
  2. Random word -> User must type the word
  3. Random question -> Obvious one which the user should answer correctly [ex: Are you human?]
How Captcha works?
  1. The captcha generator generates an IMAGE with the question and then put up a session variable storing the value.
  2. User input though an input box.
  3. Using php POST, we compare the session variable data with the user input and tell whether its a bot or human.

The Code

  1. First let's write the php script which generates the captcha image. We use the simple header-content change technique, from which we can easily bring up an image from a given text.
    captcha.php

    PHP Code:
    <?php //This should be the first 
    line as in the rule book :D session_start();
    //These variables store the 
    Question and the answer $ques ""; $ans ""
     //This is the MAJOR array, this holds 
    all the random things, 
    like the question you need to ask. 
    You can add up new ones easily $words = array(
            
    => array("Num" => "Num"),
            
    => array("Are you human?" => "yes"),
            
    => array("Type 'one' " => "one"),
            
    => array("Type 'test' " => "test"),
            
    => array("AxHGA" => "AxHGA"),
            
    => array("zontek" => "zontek"),
            
    => array("12terd " => "12terd")
        );
        
    //Now we need to pic up a random question, 
    array_rand is the perfect thing to this
        
    $r array_rand($words);
        
    //Then we check about what we have in the select array
        
    switch(key($words[$r])){
            
    //If we have the "NUM" selected, that is a 


    special one
            //Num means the user will be prompted to 

     do a simple addition like 5+6
            
    case "Num":
                
    //Pretty basic stuff, generate 2 random numbers and 
    tell the user to put the addition
                
    $i rand(1,10);
                
    $j rand(1,10);
                
    $ans $i+$j;
                
    $ques "$i + $j = ";
                break;
            default:
                
    //If not a number, ask the user a question or ask 
    him to type a word
                
    $key key($words[$r]);
                
    $ques $key;
                
    $ans $words[$r][$key];
                break;
        }
    //NOW we put up the answer to the session variable  

    $_SESSION['cap'] = strtolower($ans); 
     //This would change the content type, or in english 
    this would tell the browser that
    //what ever retuened by this script is an image 

     header('Content-Type: image/png');
    //Following code is to generate the image from the test
    //We first specify colour ranges, you can refer to 

    the php manaul for more $img imagecreatetruecolor(250,30);
    //In the above code, the image size is set to 250x30 
     $white imagecolorallocate($img,255,255,255); 
     $grey imagecolorallocate($img,128,128,128);
    $black imagecolorallocate($img,0,0,0);
    //Filling the rectangle with white as we need black text on white
    imagefilledrectangle($img,0,0,399,29$white); $text $ques;  

    //THE below code is CRITICAL. This is the palce 
    where we tell which font to use.
    //Choose any ttf you like and name it as font.ttf or 
    change the following code, make sue
    //you put the path to the file correctly [i used STENCIL 
    so that parsers will find it hard to detect]
    $font "./font.ttf";
    imagettftext($img,20,0,11,21,$grey,$font,$text);
    imagettftext($img,20,0,10,20,$black,$font,$text);
    //Creating a PNG image, i use png cuz i <3 png 
    [really its so small and efficient ;)]
    imagepng($img);
    //And then remove the memory parts once the output is given
    imagedestroy($img); ?>   
    index.php
    <?php
    session_start();
    if(isset($_POST['done'])){
        if(isset($_SESSION['cap'])){
            //This is the code for comparing the user input 
    against the session variable
            $cap = $_POST['captcha'];
            if($_SESSION['cap']==strtolower($cap)) echo "Okay you are human :)";
            else echo "Off You go BOT / SPAMMER!!";
        }
    } ?> <html>
    <head>
    <title>Simple Captcha Script</title>
    </head>
    <body>
    <form action="index.php" method="post">
    <img src="captcha.php" align="absmiddle" />
    <!-- NOTE how the captcha.php is used as an image link,

     that's a whole new way to think -->
    <input type="text" size="20" name="captcha" /><br />
    <input type="submit" name="done" value="Login" />
    </form>
    </body>
    </html>
    Upload the stuff and make sure you have the following files in the same directory level : index.php captcha.php font.ttf
     

Thursday, 8 September 2011

Important PHP Functions

1. Sending email with multiple attachment using php’s mail() function

All we know how to send email in php. You might not be aware with sending email with attachment in php. If so than refer my previous article which explains how to send email with attachment(single). Today i have a special requirement where i need to send multiple attachments (more than one) in mail. If you are looking for send function for sending email with multiple attachment in php than here i am sharing the function using which you can send an email with mulitple attachment using php's mail function. 
<?php

    $files = array("file_1.ext","file_2.ext","file_3.ext",……); // files
    
    $to = "raxit4u2@gmail.com";
    $from = "raxit4u2@yahoo.com";
    $sub ="Testing for multiple attachment";
    $msg = "Attachment mail testing";
    $headers = "From: $from";
    
    $semi_rand = md5(time());
    $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x";
    
    // headers for attachment
    $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\"";
    
    // multipart boundary
    $msg = "This is a multi-part message in MIME format.\n\n" . "–{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $msg . "\n\n";
    
    // attachments code starts
    for($x=0;$x<count($files);$x++)
    {         $msg .= "–{$mime_boundary}\n";
        $file = fopen($files[$x],"rb");
        $data = fread($file,filesize($files[$x]));
        fclose($file);
        $data = chunk_split(base64_encode($data));
        $message .= "Content-Type: {\"application/octet-stream\"};\n" . " name=\"$files[$x]\"\n" .
        "Content-Disposition: attachment;\n" . " filename=\"$files[$x]\"\n" .
        "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n";
    }
    $msg .= "–{$mime_boundary}–\n";     
    $res = @mail($to, $sub, $msg, $headers);
  
    if($res)
    {
        echo "<p>mail sent with attachments</p>";
    }
    else
    {
        echo "<p>error in processing email!</p>";
    }

?>

2. Export MYSQL data into Excel/CSV via php

Export the MYSQL data into CSV/Excel file via PHP function/script. There are such requirement where client needs to Export the MYSQL data (Order data,Member data,Newsletter emails etc) into Excel sheet or CSV file for future reference or need to send to other team for future work. You can give a button or link from where client can click on it and get a Excel or CSV file with all data from MYSQL database tables using(through) PHP.
<?php
function export_excel_csv()
{
    $conn = mysql_connect("localhost","root","");
    $db = mysql_select_db("database",$conn);
  
    $sql = "SELECT * FROM table";
    $rec = mysql_query($sql) or die (mysql_error());
  
    $num_fields = mysql_num_fields($rec);
  
    for($i = 0; $i < $num_fields; $i++ )
    {
        $header .= mysql_field_name($rec,$i)."\\t";
    }
  
    while($row = mysql_fetch_row($rec))
    {
        $line = '';
        foreach($row as $value)
        {                                          
            if((!isset($value)) || ($value == ""))
            {
                $value = "\\t";
            }
            else
            {
                $value = str_replace( '"' , '""' , $value );
                $value = '"' . $value . '"' . "\\t";
            }
            $line .= $value;
        }
        $data .= trim( $line ) . "\\n";
    }
  
    $data = str_replace("\\r" , "" , $data);
  
    if ($data == "")
    {
        $data = "\\n No Record Found!\n";                      
    }
  
    header("Content-type: application/octet-stream");
    header("Content-Disposition: attachment; filename=reports.xls");
    header("Pragma: no-cache");
    header("Expires: 0");
    print "$header\\n$data";
}
?>
What you need to do is…
1) Copy above function and paste it into your file.
2) Change MYSQL connection settings in mysql_connect("localhost","root","").
3) Change database name in mysql_select_db("database",$conn)
4) Change table name in $sql = "SELECT * FROM table".
5) Thats it

3. Get Visitors Real IP Address in PHP

If you want track visitor's or user's IP address than you may use $_SERVER['REMOTE_ADDR']. Well, you might be shocked to know that it may not return the real IP address of the visitor/user at all time. Here are the cases when it happens. If visitor/user is connected to the Internet through Proxy Server then $_SERVER['REMOTE_ADDR'] in PHP will give the IP address of the proxy server and it will not be visitor's/user's IP address.
In PHP , there are other server variables ( HTTP_CLIENT_IP , HTTP_X_FORWARDED_FOR along with REMOTE_ADDR) using which we can find the real IP address even if visitor/user is connected to Proxy Server. Here is a function in PHP to find the real IP address of the visitor's/user's PC.
function get_real_IP_address()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet
{
$ip=$_SERVER['HTTP_CLIENT_IP'];
}
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check ip is pass from proxy
{
$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];
}
else
{
$ip=$_SERVER['REMOTE_ADDR'];
}
return $ip;
}
In above PHP function, it wil first check for IP address of visitor's/user's PC and return if it get IP address. If client's IP address is not available then it will find for forwarded for IP address using HTTP_X_FORWARDED_FOR. If still it did not get IP address than it return IP address using REMOTE_ADDR.

4. Some of Unknown and rarely used but very helpful functions of PHP

1. Swapping two values using list() function
$x = 1;
$y = 2;
list($x, $y) = array($y, $x);
echo $x; // Outputs – 2
echo $y; // Outputs – 1
2. Compress/Uncompress strings
You can compress long strings using gzcompress() and than make an entry in to database. This will save a space and make your database lighter at some level. You can uncompress the compressed string by using gzuncompress() function.
3. Validate real time email address
What we are validating for email address is not a perfect validation. If anyone enter aaaa@aaaaaaaa123.com than this is not a valid email address. You can validate real time email by the checkdnsrr() function. It checks the email's host address if it's a valid DNS record.
3. highlight_file() function
Output HTML string with nice colored using above function. Many servers are configured to automatically highlight files with a phps extension. To use this , you have to enable phps by adding this line to the httpd.conf:
AddType application/x-httpd-php-source .phps
4. Easy manage of IP addresses as strings.
IP address can be stored as integers using the ip2long(). If you want to convert it back to IP address from integer string than use long2ip() function.
Some of the advantages to store IP address as Integers are :
1) Less memory space used
2) Searching of IP address will be faster
3) Easy to check if IP address is inbetween IP address ranges
5. __autoload() method – PHP5
The magic method __autoload() function is a convenience that allows you to include files dynamically when instant of class is created.
This function will search file name as class name and add that file at run time. This will reduce a load time because files will be included as per needs.
6. preg_split function
This function will split string to array of strings. This can also be done using the explode function. Benifits of using preg_split function is , it will eliminate empty strings.














Wednesday, 7 September 2011

5 Must Have Chrome Extensions For Facebook Users

1. Facebook Official Like Button Chrome Extension

 A few days ago, Facebook released its official extension for Google Chrome browser that lets you like any webpage, image, video (html5 only) and audio (html5 only) on Facebook from any site you happen to be on, with the click of a button. In order to use this extension, you must be logged into Facebook. After you’ve installed this extension, it adds ‘Facebook Like Button’ option to right click context menu.
You can right click on any page to like, share or recommend content from the Facebook Like Button menu. Also, you’ll see a thumbs up icon in the top right corner of your Chrome browser that displays the total number of likes associated with any website you are viewing. 
Install Facebook Like Button Extension here

2. Automate Facebook Birthday Wishes

Remembering your friends’ birthday is a good thing but it’s not possible to remember all the birthdays of your Facebook friends. You have to be a genius to remember all the dates. Although Facebook reminds you everyday ‘Whose birthday it is today’ at the homepage and I tell you sending birthday wishes is one of the important actions on Facebook, if missed, your friends might be offended. All you need is ‘Happy Birthday’ Chrome extension.The ‘Happy Birthday’ Chrome Extension automatically sends birthday wishes to your Facebook friends. It allows you to customize birthday messages so you can’t be accused of a lazy copy-paste job and at the time of the wishing, it randomly chooses a birthday message to write on the birthday boy/girl wall post. 
Install ‘Happy Birthday’ Chrome extension here.

3. Easily Add Emoticons to Facebook Chat

The extension adds a list of emoticons at the top of Facebook chat window. You can easily add any emoticon just by clicking it from the list. You don’t have to remember all the text symbols to add emoticons to your Facebook chat.
Install Facebook chat Smiley Chrome extension here.
  
4. Facebook Notifications 

Here’s a chrome extension that enables you to check notifications right from the browser without having to open a Facebook tab. ‘Facebook notifications’ adds a Facebook icon next to address bar and clicking on it will open a small pop-up window containing all the notifications of your Facebook account, no matter which website you’re browsing.
In order to use this extension, you must be logged into Facebook. It also displays a red number in your bookmark bar lets you know how many unread notifications you have. Furthermore, it keeps showing you notifications each time you open the browser. 
Install Facebook Notifications chrome extension here. 

5. Facebook Super Select All 

This extension allows you to select all friends in one click. Once you’ve this extension installed in your chrome browser, you should see the ‘Select All’ button appear when you click on "Select Guests" for an Event or "Invite Friends" for a Fan Page.
Install Facebook Super Select All chrome extension here. 

Monday, 5 September 2011

10 most useful Linux commands

#1: top

Although top is actually responsible for listing currently running tasks, it is also the first command Linux users turn to when they need to know what is using their memory (or even how much memory a system has). I often leave the top tool running on my desktop so I can keep track of what is going on at all times. Sometimes, I will even open up a terminal (usually aterm), place the window where I want it, and then hide the border of the window. Without a border, the terminal can’t be moved, so I always have quick access to the information I need.
Top is a real-time reporting system, so as a process changes, it will immediately be reflected in the terminal window. Top does have some helpful arguments (such as the -p argument, which will have top monitor only user-specified PIDs), but running default, top will give you all the information you need on running tasks.

#2: ln

To many administrators, links are an invaluable tool that not only make users lives simpler but also drastically reduce disk space usage. If you are unaware of how links can help you, let me pose this simple scenario: You have a number of users who have to access a large directory (filled with large files) on a drive throughout the day. The users are all on the same system, and you don’t want to have to copy the entire directory to each user’s ~/ directory. Instead, just create a link in each user’s ~/ directory to the target. You won’t consume space, and the users will have quick access. Of course when spanning drives, you will have to use symlinks. Another outstanding use for links is linking various directories to the Apache doc root directory. Not only can this save space, it’s often advantageous from a security standpoint.

#3: tar/zip/gzip

Tar, zip, and gzip are archival/compression tools that make your administrator life far easier. I bundle these together because the tools can handle similar tasks yet do so with distinct differences (just not different enough to warrant their own entry in this article). Without these tools, installing from source would be less than easy. Without tar/zip/gzip, creating backups would require more space than you might often have.
One of the least used (but often most handy) features of these tools is the ability to extract single files from an archive. Now zip and gzip handle this more easily than tar. With tar, to extract a single file, you have to know the exact size of the file to be extracted. One area where tar/zip/gzip make administration simple is in creating shells scripts that automate a backup process. All three tools can be used with shell scripts and are, hands down, the best, most reliable backup tools you will find.

#4: nano, vi, emacs

I wasn’t about to place just one text editor here, for fear of stoking the fires of the “vi vs. emacs” war. To top that off, I figured it was best to throw my favorite editor — nano — into the mix. Many people would argue that these aren’t so much commands as they are full-blown applications. But all these tools are used within the command line, so I call them “commands.” Without a good text editor, administering a Linux machine can become problematic.
Imagine having to attempt to edit /etc/fstab or /etc/samba/smb.conf with OpenOffice. Some might say this shouldn’t be a problem, but OpenOffice tends to add hidden end-of-line characters to text files, which can really fubar a configuration file. For the editing of configuration or bash files, the only way to go is with an editor such as nano, vi, or emacs.

#5: grep

Many people overlook this amazingly useful tool. Grep prints lines that match a user-specified pattern. Say, for instance, that you are looking at an httpd.conf file that’s more than 1,000 lines long, and you are searching for the “AccessFileName .htaccess” entry. You could comb through that file only to come across the entry at line 429, or you can issue the command grep -n “AccessFileName .htaccess” /etc/httpd/conf/http.conf. Upon issuing this command you will be returned “439:AccessFileName .htaccess” which tells you the entry you are looking for is on, surprise of all surprises, line 439.
The grep command is also useful for piping other commands to. An example of this is using grep with the ps command (which takes a snapshot of current running processes.) Suppose you want to know the PID of the currently crashed Firefox browser. You could issue ps aux and search through the entire output for the Firefox entry. Or you could issue the command ps aux|grep firefox, at which point you might see something like this:
jlwallen 17475  0.0  0.1   3604  1180 ?        Ss   10:54   0:00 /bin/sh /home/jwallen/firefox/firefoxjlwallen 17478  0.0  0.1   3660  1276 ?        S    10:54   0:00 /bin/sh /home/jlwallen/firefox/run-mozilla.sh /home/jlwallen/firefox/firefox-bin

jlwallen 17484 11.0 10.7 227504 97104 ?        Sl   10:54  11:50 /home/jlwallenfirefox/firefox-bin

jlwallen 17987  0.0  0.0   3112   736 pts/0    R+   12:42   0:00 grep --color firefox
Now you know the PIDs of every Firefox command running.

#6: chmod

Permissions anyone? Linux administration and security would be a tough job without the help of chmod. Imagine not being able to make a shell script executable with chmod u+x filename. Of course it’s not just about making a file executable. Many Web tools require certain permissions before they will even install. To this end, the command chmod -R 666 DIRECTORY/ is one very misused command. Many new users, when faced with permissions issues trying to install an application, will jump immediately to 666 instead of figuring out exactly what permissions a directory or folder should have.
Even though this tool is critical for administration, it should be studied before jumping in blindly. Make sure you understand the ins and outs of chmod before using it at will. Remember w=write, r=read, and x=execute. Also remember UGO or User, Group, and Other. UGO is a simple way to remember which permissions belong to whom. So permission rw- rw- rw- means User, Group, and Other all have read and write permissions. It is always best to keep Other highly restricted in their permissions.

#7: dmesg

Call me old-school if you want, but any time I plug a device into a Linux machine, the first thing I do is run the dmesg command. This command displays the messages from the kernel buffer. So, yeah, this is an important one. There is a lot of information to be garnered from the dmesg command. You can find out system architecture, gpu, network device, kernel boot options used, RAM totals, etc.
A nice trick is to pipe dmesg to tail to watch any message that comes to dmesg. To do this, issue the command dmesg | tail -f and the last few lines of dmesg will remain in your terminal. Every time a new entry arrives it will be at the bottom of the “tail.” Keep this window open when doing heavy duty system administration or debugging a system.

#8: kill/killall

One of the greatest benefits of Linux is its stability. But that stability doesn’t always apply to applications outside the kernel. Some applications can actually lock up. And when they do, you want to be able to get rid of them. The quickest way to get rid of locked up applications is with the kill/killall command. The difference between the two commands is that kill requires the PID (process ID number) and killall requires only the executable name.
Let’s say Firefox has locked up. To kill it with the kill command you would first need to locate the PID using the command ps aux|grep firefox command. Once you got the PID, you would issue kill PID (Where PID is the actual PID number). If you didn’t want to go through finding out the PID, you could issue the command killall firefox (although in some instances it will require killall firefox-bin). Of course, kill/killall do not apply (nor should apply) to daemons like Apache, Samba, etc.

#9: man

How many times have you seen “RTFM”? Many would say that acronym stands for “Read the Fine* Manual” (*This word is open for variation not suitable for publication.) In my opinion, it stands for “Read the Fine Manpage.” Manpages are there for a reason — to help you understand how to use a command. Manpages are generally written with the same format, so once you gain an understanding of the format, you will be able to read (and understand) them all. And don’t underestimate the value of the manpage. Even if you can’t completely grasp the information given, you can always scroll down to find out what each command argument does. And the best part of using manpages is that when someone says “RTFM” you can say I have “RTFMd.”

#10: mount/umount

Without these two commands, using removable media or adding external drives wouldn’t happen. The mount/umount command is used to mount a drive (often labeled like /dev/sda) to a directory in the Linux file structure. Both mount and umount take advantage of the /etc/fstab file, which makes using mount/umount much easier. For instance, if there is an entry in the /etc/fstab file for /dev/sda1 that maps it to /data, that drive can be mounted with the command mount /data. Typically mount/umount must have root privileges (unless fstab has an entry allowing standard users to mount and unmount the device). You can also issue the mount command without arguments and you will see all drives that are currently mounted and where they’re mapped to (as well as the type of file system and the permissions).

Best Windows 7 Tips and Hacks

1. Use Keyboard Shortcuts

Using the mouse, you can drag-”˜n-dock windows to either side of the screen, or drag it to the top to maximize it. These keyboard shortcuts are even faster:
  • Win+Left Arrow and Win+Right Arrow dock the window to the left and right side of the screen
  • Win+Up Arrow and Win+Down Arrow maximize and restore/minimize
  • Win+M minimizes everything
  • Alt+Up, Alt+Left Arrow, Alt+Right Arrow navigate to parent folder, or browse Back and Forward through folders in Explorer
  • Win+Home minimizes/restores all open windows except the active window
  • Alt+Win+# accesses the Jump List of program number ‘#’ on the taskbar

2.Rearrange System Tray Icons

SystemTray
You can rearrange icons on the taskbar as you wish and start new (or switch to running) instances of the first ten taskbar programs using Win+1, Win+2, and so on. The cool thing is you can also rearrange system tray icons. Reorder them on the tray or move them outside or back in the tray. Take control of what you want to always keep an eye on, and from which apps you’ll require notifications.

3. Access Jump Lists with the Left Mouse Button

Jump Lists usually show up when you right-click on a taskbar icon. However, they can also be accessed by holding the left mouse button and dragging upwards. If you’re using a laptop touchpad or a touch screen, this is convenient because you do not have to click any button to access a context menu.

4. Add Any Folder to Favorites

AddToFavorites
You can add any library or folder to the Favorites section in Windows Explorer. To add a folder, navigate to it in Explorer, right-click Favorites in the left navigation pane, and select Add current location to Favorites. Now you get quick access to your favorite folders in all File->Save As dialogs!

5. Pin Frequently Used Folders to the Taskbar

Right-click, drag, and pin your favorite folders to Windows Explorer on the taskbar. They will now show up in the Jump List when you right click on Explorer giving you quick access to your favorite folders.

6. Pin Control Panel to the Taskbar

PinControlPanel
You cannot pin the Control Panel to the taskbar via the Start Menu or by drag and drop. Open the Control Panel and right-click its taskbar icon to pin it to the taskbar. An advantage of this is that Control Panel’s Jump List allows quick access to recently used functions.

7. Create Keyboard Shortcuts for Programs

You can create keyboard shortcuts for any program in Windows 7. Right-click the program icon and select Properties. Select the Shortcut tab, click in Shortcut key, to set the keyboard shortcut for that program.
ProgramShortcutKey

8. Open Command Prompt in Any Folder

Like the command prompt? Miss the “˜Open Command Window Here’ Windows XP power toy? Press “˜Shift’ when right-clicking on a folder to get that option in the context menu. This also works on the desktop. No power toy required!
ExpandedContextMenu

9. View Expanded ‘Send To’ Menu

Press Shift when right-clicking on a folder to get an expanded Send To menu.

10. Adjust Screen Text with Clear Type

Use Clear Type Tuner for the best look on your LCD monitor or laptop screen. Run “˜cttune.exe‘ from the Start Menu search box, or go to the Control Panel Display applet, and select Adjust ClearType Text from the left.
ClearType Tuner

11. Get Exact Colors On Your Screen

If you are an artist or you work with colors, use the Calibrate Color option in the Control Panel Display applet or run dccw.exe from the Start Menu search box. You can adjust gamma, brightness, contrast, and color balance, ensuring that colors are displayed correctly on your screen.

12. Customize the Power Button

If you restart your computer more often than you shut it down, change the default Shutdown power button to Restart. Right-click on Start, select Properties, and choose the Power button action that you use the most.
StartMenuProperties

13. Customize Number of Items in Jump Lists & Start Menu

Right-click Start, select Properties, click Customize and choose the number of recent programs to be shown in the Start Menu and the number of items displayed in Jump Lists from the Start Menu Size section below.

14. Search Internet from the Start Menu

SearchInternetStartMenu
Enable Internet search from the Start Menu using your default browser. Run GPEDIT.MSC from the Start Menu search box to start the Group Policy Editor. In the left pane, go to User Configuration->Administrative Templates->Start Menu and Taskbar. In the right pane, right-click to Edit and Enable Add Search Internet link to Start Menu.
SearchInternet

15. Add Videos to Start Menu

Windows 7 does not place a link to your videos on the Start Menu by default. To add a link to your videos on the Start Menu, right-click Start, select Properties, click on Customize. In the Videos section at the bottom, choose Display as a link.
Add Videos