Linux Crontab helpful hints

Posted on by Sheldon Lendrum
*    *    *    *    *  command to be executed
┬    ┬    ┬    ┬    ┬
│    │    │    │    │
│    │    │    │    │
│    │    │    │    └───── day of week (0 - 6) (Sunday=0 )
│    │    │    └────────── month (1 - 12)
│    │    └─────────────── day of month (1 - 31)
│    └──────────────────── hour (0 - 23)
└───────────────────────── min (0 - 59)

Calculating memory used by PHP to generate that page

Posted on by Sheldon Lendrum

Do you know how much memory those loops are using ? Why is this page taking so long to load ? Well with this simple PHP code you can daily benchmark different versions of your script to use the least … Continue reading

PHP Framework – Day 1

Posted on by Sheldon Lendrum

Start of simple, start off clean. I am going to assume a few things in these posts, PHP 5.2 or above. ( 5.3 is better ) mySQL is our database of choice. You understand the basics of setting up a … Continue reading

Beginners Guide to PHP Happiness.

Posted on by Sheldon Lendrum

Lately I have been seeing some nastiness being taught to a group of Junior web developers. It comprises of maxing all sorts of nasty combinations of mixing your PHP, HTML, classes, queries and stand alone functions into an unorganised pile … Continue reading

PHP Dump/Debug script.

Webkit custom scroll bars

Mootools Gallery ZoomBox Plugin

BounceBox Version 1.2 with Mootools 1.3 support