Hear me taste the running man

Command, Option, & Shift Symbols in Unicode

Unicode does define some other characters which are sort of Mac-specific.

⌘ - ⌘ - ⌘ - the Command Key symbol
⌥ - ⌥ - ⌥ - the Option Key symbol
⇧ - ⇧ - ⇧ - the Shift Key symbol
⎋ - ⎋ - ⎋ - the Power Button

Note: The Power Button and Shift Key are not Mac-specific. The power button is described as “broken circle with northwest arrow”, or an escape character from ISO 9995-7. The shift key is described as an “outline up-arrow”.

Even though these are defined in standard Unicode, there is no guarantee that they will exist in the font of the receiving browser, but they’re at least globally defined, so they’re fair game.

Keyboard Shortcut to Help Search Box

Wednesday May 27, 2009 | Comments (View) | mac shortcut

If you haven’t figured out how Mac OS X 10.5 (Leopard) help search box allows you to search menu items, check out Chris Pirillo demoing the feature.

The problem for me is that I’m a keyboard person. Over 90% of my day, I barely touch the mouse. Now, to get to the help search bar with your keyboard, just press:

⌘ (Command) + ⇧ (Shift) + ? (Question Mark)

Find & Replace in Linux/Mac

Wednesday May 27, 2009 | Comments (View) | bash unix mac

This is a quick one liner to find and replace strings in *nix. You can use this in your Mac terminal or Unix prompt.

In Bash:

find ./ -type f -exec sed -i 's/FIND/REPLACE/g' {} \;

Example:

find ./ -type f -exec sed -i 's/signin/login/g' {} \;

See how many Kernel Panics your Mac has had

Tuesday May 26, 2009 | Comments (View) | bash mac

In bash:

ls -1 /Library/Logs/PanicReporter/ | wc -l

I’ve had 5.