Monthly Archives: August 2008

Displaying Ordered Directory Listings

This is a follow up to a previous post http://sheldon.lendrum.co.nz/clean-dynamic-directory-listing-with-php_206/04/ that will Dynamically display the files in a set directory. In this version the files can be ordered by the date that they were last modified. I will also explain … Continue reading

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

Disabling WordPress Auto-Save and Revision Saving

When writing a post, I don’t often write it all in one go, then before I publish it, I save it and preview it, generally more than once. WordPress has 2 Great ( or not ) features, Auto-Save, and Revisions. … Continue reading

Posted in Code, Technology, wordpress, work | Tagged , , , | 19 Comments

Clean Dynamic Directory Listing with PHP

This here is a quick couple of functions to dynamically display files from any given directory. It allows you to display it is a nice format with/out the files extension. Pretty simple, but comments/suggestions/ bugs are very much welcome!! 1 … Continue reading

Posted in Code, fun, Technology, work | Tagged , , , , | 6 Comments

Preventing Image theft with Apache's .htaccess

Do you have an image or images that people are using on their site, Not giving you the credit for your artwork and using your bandwidth? With a simple .htaccess on your Apache server you can prevent Image HotLinking. In … Continue reading

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

OSX Speech Commands

This is a cool tip that will work on and OSX Computer. You can get your mac to sing and swear and talk anything via a simple Shell Script. You can even get my mac to talk… I will be … Continue reading

Posted in apple, Code, fun, Technology | Tagged , , | 1 Comment

Building a Completely Dynamic site using text files, PHP and no mySQL.

I spent a fair amount of time trying to help people on PHP forums such as webdeveloper.com : Sheldon and one thing I see on a regular basis is over complex systems for basic site structures with people who at … Continue reading

Posted in Code, design, fun, SimpleSite, Technology, work | Tagged , , , , , , , | 1 Comment

Moving On

I live now in greater Auckland. Kauakapakapa. its about 1 hour/ 1 1/2 hours north from the CDB ( Central Business District) I grew up in Kaukapakapa, Went to school in Helensville, Moved to Auckland City for 2~3 years, Moved … Continue reading

Posted in fun, Life, Uncategorized | Tagged , , , , , | Leave a comment

Wellington.

Wellington… I have only been there once. It was a flying weekend once, oh maybe… God… 5 years ago. and really its wasn’t a flying weekend, so much as a fucking boozy weekend – partly landing in Wellington…

For a one way town, I am looking to go head down there… Continue reading

Posted in fun, Uncategorized | Tagged , , , , | Leave a comment