Posts in the ‘Code’ category


Applescript for starting and stopping Apache and MySQL

Useful for saving as an executable.

CakePHP ForceDownload Component

Old code for forcing CakePHP to present a file as a download rather than display in-browser.

CakePHP Favatar Controller

Old code for displaying favicons as avatars in a CakePHP powered site.

PHP iCal Parser

PHP code for parsing iCalendar (.ics) files into nested associative arrays.