-
Loading
-
Archives
- January 2012
- July 2011
- April 2011
- February 2011
- November 2010
- October 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- April 2008
-
Meta
Author Archives: Sheldon Lendrum
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 Code, develop, development, php, Technology, work
Leave a comment
PHP Framework – Day 1
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
Posted in Code, framework, Technology
Leave a comment
Beginners Guide to PHP Happiness.
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
Posted in Code, framework, Technology
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
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 ajax, class, Code, css, javascript, mootools, project, site, work
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