Category Archives: work

Linux Crontab helpful hints

* * * * * command to be executed ┬ ┬ ┬ ┬ ┬ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └───── day of week (0 – 6) (Sunday=0 ) │ │ │ … Continue reading

Posted in Code, fun, Technology, work | Leave a comment

Calculating memory used by PHP to generate that page

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

Posted in Code, framework, Technology, work | Tagged , , , , , | Leave a comment

PHP Dump/Debug script.

Ever use PHP’s var_dump() or print_r() to debug what is going wrong with that $data you have ? Well, this simple script acts as the above functions, yours first parameter is your data, and the second optional parameter is stoping … Continue reading

Posted in Code, fun, work | Tagged , , , , , | 1 Comment

Webkit custom scroll bars

Webkit browsers such as Safari and Chrome support some superb CSS3 styling. They are ( even thought I use firefox as my primary browser ) the most advanced browsers. For a while now I have created custom scroll bars using … Continue reading

Posted in apple, Code, design, fun, javascript, Technology, work | Tagged , , , , | Leave a comment

Mootools Gallery ZoomBox Plugin

I needed a simple lightweight Mootools Gallery Lightbox, and after a few googles, I found nothing that suited my needs with out all the extra ‘captions’ and grouping and bloat. This is a simple zoom from start position type lightbox … Continue reading

Posted in Code, design, fun, javascript, Technology, work | Tagged , , , , , , , , | Leave a comment

BounceBox Version 1.2 with Mootools 1.3 support

After around 19 months of inactive development I have updated my Mootools BounceBox class to support The current selector method and fix an Event issue in some browsers when opening the Box. Try out the demo at http://bouncebox.lendrum.co.nz and download … Continue reading

Posted in Code, fun, javascript, SimpleSite, work | 2 Comments

Update for Sheldon.Lendrum Search Rank checker

I have made an update to my search rank checker for http://sheldon.lendrum.co.nz to paginate the results. With over 4500 records, the list was getting a bit long. I have paginated it by rank’s rather than equal pages. Check it out … Continue reading

Posted in Code, Technology, work | Tagged , , , , , , | Leave a comment

Use PHP to find your mobile browser

I needed a quick way to include different files based on the if the visitor to a site is on a mobile device or a regular browser/computer. Every browser has a user agent depending on the operating system, browser and … Continue reading

Posted in apple, Code, fun, Technology, work | Tagged , , , , , | 3 Comments