Category Archives: reference

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 Apple.com‘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.

ZoomifyImage ported to PHP

Wes Wright has ported Adam Smith‘s ZoomifyImage processor from Python to PHP. This is a tool that lets you convert images to a format that can be viewed using the flash based Zoomify viewer. Wes gave me the go-ahead to write a bit about his work on this and put it up for download. Additionally, [...]

Upcoming.org API wrapper for PHP4

Sounds like Upcoming.org 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 [...]

Recursive (multidimensional) array search in PHP

If you are looking to do a recursive array search in PHP (and don’t feel like writing your own), you might have tried a number of the functions described in the comments section of the array_search page in the manual. Just for future reference, I have tried a few, but not all of them worked [...]