Technical

Overriding Drupal's mail() function

This article outlines a quick Drupal hack for controlling how mail gets sent. It was originally posted on matthine.com.

Javascript postback functions

Quick article explaining how to fire your own javascript functions before an asp.net page posts back. It's handy for pre-validation formatting and any number of any other things. I've found that it's handy to set this up the site's master page or a generic base page and a common javascript include so that it's available whenever you need it - there's very little overhead. Some of the code below is a bit ratty as I ripped this out of site in the middle of development.

UK Postcode Validation using ASP.NET validators

This article outlines a simple way to validate UK Postcodes with a .NET CustomValidator.

Simple FCKEditor CSS integration

This is a quick guide to setting up FCKEditor so that CMS users can work with your site styles.  It came about from some recent work where I had to plug a CMS into an existing site.  The site had a fairly simple but strict set of CSS allowed rules to keep branding consistent.  I knocked up a quick and dirty CMS using PHP to read and write XML data for the page content.  All that was needed was the the user to be able to edit the page title, meta data and main body content.  For this, last one, I needed a suitable editor.

Google maps

Hello world.

I'm posting this more for my own future reference than anything but if anyone else finds it useful then please let me know where you used it and what for.

Poor man's Linux server backup

This is a quick guide to setting up a simple backup process for a dedicated Linux server, with the aim of getting all critical information down to a home server or other storage.