archive | March, 2009

Configure a Quake-style dropdown Terminal in Mac OS X

Visor is a free Mac OS X Terminal add-on that provides a ‘Quake style’ drop-down HUD interface to the command line.

Read more

Enable syntax highlighting and other options in vim on Mac OS X 10.5.* “Leopard”

By default, the vim that ships with Mac OS X 10.5.* (Leopard) doesn’t have an optimized configuration file to allow for syntax highlighting, auto indentation, etc.

Read more

Validating and sanitizing URLs, Emails, and other inputs with PHP’s filter_* functions

PHP has several built-in filter_* functions that can assist with validating and sanitizing email addresses, URLs, strings, integers, float values, etc.
Please note that this these functions only validate the structure of email address or URL strings, they don’t check if the associated domains actually exist. To obtain a list of all available filters on your [...]

Read more

UNIX Quick Tip: See the current UNIX Timestamp and other date formats on the command line

The UNIX date command can show the current (or a future) date in several formats, as well as determine the last day of a month, last instance of a specific weekday, etc.

Read more

Safari 4 Quick Tip: Enable / Disable new features

Apple’s new Safari 4 browser includes several new features, some of which can be enabled / disabled by setting boolean values in a Preference List file.

Read more

Afrigator