How to setup a 30 second Cron job
Sometimes you need a cron jobs at a frequency less than the minimum of 1 minute (60 seconds) that cron allows. One way of achieving this is by...
Custom group by pagination and a calculated field
This is a basic example of how to use the CakePHP paginator helper with the group by condition, it took a little mucking around but this is how I got it working.
In this example we have a Comment controller which I want to paginate a custom query displaying an IP address and a calculated count field of the number of spam comments from this particular IP address...
Geshi code to plain text JQuery javascript toggle
I was about to update my somewhat limited Geshi helper to handle more code types and to sort out the added character errors when pasting a copied code block when I stumbled upon Mark Story's Geshi Helper and took a look.
Marks code was super simple to use, the only real coding I did was to convert Marks MooTools javascript text toggle to JQuery...

