Chris Brewer's Garbage Bags

“Praise song for the day”, the poem from Barack Obama’s Inauguration


  The following is a transcript of the Barack Obama inaugural poem recited by Elizabeth Alexander, which I thought was great: Praise song for the day.

Add Google Maps iframe & YouTube embed to Apple Wiki Server


Apple’s Teams Wiki Server supports very few HTML tags out of the box, in order to keep things simple. But, like Any Good Unix Ought To, Mac OS X Server gives you the ability to manipulated things, such as adding iframe, embed, param, and object tags to the Wiki/Blog server. Here’s how:

Handy regex / preg_match for ZIP codes, phone numbers, states, SSN, URLs, and email addresses


Here is a handy collection of regular expressions, for use with PHP preg_match. If you need to check for properly formatted US states (two letters), US ZIP codes, US phone numbers, US Social Security Numbers, URLs for web sites, and properly formatted email addresses, read on:

Clear DNS cache on Mac OS X


Changing domains around on your web server can leave you with a local DNS cache that doesn’t match your domain’s new settings. Flush your DNS cache on Mac OS X 10.5 by issuing the following command: dscacheutil -flushcache

Debugging web sites in Safari


Sure, Firefox has a great plug-in architecture that has created a rich ecosystem of third-party add-ons, but Safari’s got a halfway decent development debugging environment as well. Here’s how to enable it:

Install GD for PHP on Mac OS X 10.5 Leopard


So, you need GD for your killer PHP web app, and you’re running Mac OS X 10.5? A quick look shows that GD doesn’t ship with Leopard. No worries. It’s pretty simple to install.

Set up Screen Sharing (VNC) via command line on Mac OS X remotely using SSH


Locked out of a Mac because Remote Desktop has suddenly taken a crap on you? Want to remotely enable Screen Sharing (Apple’s fancy name for VNC)? Well, as long as you have SSH active, you can enable Screen Sharing on Mac OS X 10.5 by following these easy instructions.

Restore 30 second commercial skip to your Motorola DCT 6416 DVR


Want to fast forward 30 seconds at a time (commercial skip) on your Motorola 6416, 6412, or 6408 DVR? I’ve got a Motorola DCT 6416 DVR, which is used by Insight Cable here in Northern Kentucky and elsewhere, and by Comcast elsewhere. Both cable companies have kowtowed to the networks on this issue, disabling the [...]

Using wii’s controller as an advanced computer input device


Wii is currently one of the world’s best selling gaming platform, having sold 6.3 million units in 2007 and a cumulative 7.38 million units. The unique nature of its input devices makes it so. The motion-sensitive wireless hand held controller and sensor bar combine for a unique combination of twisting, turning, pushing and pulling game [...]

A multi-touch world awaits…


Multi-touch interfaces are taking the computing world by storm. While not completely new (multi-touch research has been around since the 80′s), researchers such as Jeff Han are hard at work bringing it to the forefront of computing interfaces. Traditional touch screens allow only one point of contact at a time. Apple’s iPhone utilizes a technique [...]

Who is Chris Brewer?

My most recent work and biography is at http://chrisbrewer.me (my home page, by the way). Chris Brewer has worked in both industry and academia for years at the intersection of information systems and communications. His background is in areas ranging from technical consulting with Fortune 500 companies, developing award-winning web sites, publishing the Denver Scene, and operating small business concerns. Chris has a unique mix of in-depth technical skills ranging from web and database development to server administration, and strong creative skills in traditional and rich media. Chris actively illustrates his love for the impact and promise of web-based media by fusing creative and technical inputs into seamless integrated output. Chris is also a dynamic lecturer and an innovative technical instructor, and holds an undergraduate business degree from the University of Colorado.