Category Archives: tools

Fixing UNIX permissions en masse

Every once in a while I need to “fix” the unix permissions on a directory. This is usually a web directory, so all the folders need to be readable and executable (i.e. 755), and the files need to be readable (i.e. 644). A preventative measure might be to set the umask appropriately (i.e. 022), so [...]

The subtle power of microformats

Drew McLellan describes a great example of microformats in action: This is a superb example of the utility of hAtom. doesn’t have a dedicated feed for their shoutboxes, but because they’re nicely marked up with hAtom, it can be converted to Atom on the fly. Awesome. In other words: outputs their content in [...]

Finding and deleting old files

Here’s a nifty little unix command line snippet that I found a while back while trying to find a way to clear images from a directory on a regular basis. It lets you manipulate files that are more than a specified age. For example, if you wanted to see all files in the /var/log directory [...]

Directory Digger

Update (2007-06-27): Directory Digger is a featured download on‘s main dashboard widget site. Cool! (thanks Rob, for the tip) In my spare time (heh), I’ve built an Apple dashboard widget that lets one search an LDAP directory. For me, the tool is filling a number of needs. The project page summarizes some of them: [...]

Caching and zooming your Flickr images

I’ve made a few changes and additions to Dan Coulter‘s phpFlickr API class. These modifications address the retrieval of image URL’s, and allow the caching of images locally. In the process, I also created a little helper class to complement existing phpFlickr interface methods.

The Upcoming API as a CakePHP Model

As part of a calendar-of-events application, I needed a way to easily publish and update our events to external services, such as Upcoming or Eventful. Here are a few tools to help you integrate your CakePHP application with the community events service formerly known as (now known as just simply, Upcoming). Felix Geisendörfer has [...] API wrapper for PHP4

Sounds like is set for some upgrades (does version 2.0 of a Web 2.0 application == 4.0? :) ) next week. Aside from a yahoo account merge, they are keeping things pretty close to the vest. Maybe the documentation wiki will be reincarnated. The suggestion board is nice, but doesn’t have the same information. [...]

Constants, Paths and ecetera in CakePHP

It took me longer than it should have to find the Global Constants And Functions section of the CakePHP Manual. At least I seem to remember searching for it a few times. Maybe I was looking for something with a vague keyword. Ah, yes – how to get the path to a specific directory in [...]