Web design, programming, graphics, and pretty much anything else I care about.

mac

Clearing DNS caches on Mac OS X

When making DNS changes, sometimes it is difficult to see the results from your own computer, because there are many caches involved that hold on to the last queried IP for the given host name. On Mac OS X dscacheutil can flush the DNS cache.

dscacheutil -flushcache

Sometimes, however, this isn't enough. In extreme cases you may have to kill the DNS responder.

sudo killall -HUP mDNSResponder

Creating Custom Keyboard Shortcuts in Mac OS X (10.3 +)

Starting with OS 10.3, Apple added a feature for users to create custom keyboard shortcuts to execute menu commands.

Go to System Preferences -> Keyboard & Mouse -> Keyboard Shorcuts

You will see a full list of the keyboard shortcuts already defined, with customized ones placed at the bottom. Editing a shortcut is as simple as clicking the box where the shortcut is displayed, and typing in a new key sequence.

Mac OS X Keyboard Shortcuts

These are the most useful of the keyboard shortcuts available in OS X. There are more, such as commands that are specific to menus or certain windows, but this list has mostly the universal ones. You can also create custom keyboard shortcuts. I have instructions for doing so -> Creating Custom Keyboard Shorcuts in Mac OS X

At Startup