Saturday, July 30, 2011

Mac: Take a screenshot in different ways

In Mac OS X, there are 3 ways to take a screenshot.

1. Cmd+Shift+3 : Capture the entire screen.

2. Cmd+Shift+4 : Capture a selected area of your screen. The cursor will turn into a crosshair and you can drag around the area you want to capture.

3. Cmd+Shift+4+Spacebar : Capture a specific window or Dock or menu bar. The crosshair will turn into a little camera and highlight the window or objects you can capture. Left Click to capture.
You can use Expose shortcut to switch between windows. After you switch press alt or cmd key to get the little camera. Left Click to capture.

Monday, July 18, 2011

jQuery: get specific list item by id

Consider the following html snippet

<div id="fruits">  
           <li id="5">Apples</li>  
           <li id="29">Oranges</li>  
           <li id="32">Peaches</li>  
           <li id="47">Bananas</li>  
           <li id="30">Grapes</li>  

You can get a specific list item using jQuery
 $jq("#fruits ul li[id=32]");  

Thursday, July 14, 2011

Mac: Mac OS X 10.6.8 Printing Issue, and a Fix

With the recent update to Mac OS X 10.6.8, the printing does not work.
After updating to 10.6.8, you might be Getting “paused printer” message

Download Fix Here

For More details, View This Post