Iāve got about 20GB of email, going back to 2000 (Iām of the belief that you should save everything, with storage getting more and more free every year). Ā Unfortunately Iāve been using Outlook the whole time, so Iām saddled with this email in the form of PST files that are easily corrupted. Ā Backing them up… Continue reading Migrating Outlook PST folders to Gmail
Month: December 2012
Pretty Git notification emails using PHP
In this post I showed how to configure Smart HTTP on Virtualmin.Ā What was immediately obvious upon your first commit was that the alert emails stunk.Ā There were no code diffs and as plain text, they were largely unreadable anyway. There are a lot better emailing projects that show nicely-formatted HTML mails, with diffs, but… Continue reading Pretty Git notification emails using PHP
Controlling element caching in CakePHP 2.3
Element caching is critical to site performance if used judiciously.Ā Sometimes you want more control over the cache expiration than you get automatically. In CakePHP 1.X, you used to be able to do this as described here: <?php $key = ‘my_cached_element’; echo $this->element(’my_element’, array(’cache’ => array( ‘time’ => $do_update ? ‘-1 day’ : ‘+1 day’,… Continue reading Controlling element caching in CakePHP 2.3