Resources

One of the things I enjoy most about my work is that I get to write all kinds of code in all manner of languages. I frequently write up my experiences intohelp page that might just possibly help save someone else from wasting their afternoon.

MATLAB

I use MATLAB quite extensively for building and developing models. Here, you can find a collection of hints and code snips that I have found useful over the years.

PHP/Drupal

When it comes to building websites, I tend to use PHP extensively. In this section, you will find all manner of random little scripts and hints that I have used in the past, including various code snips that can be used to extend the functionality of Drupal based websites.

Perl and Python

While MATLAB is a great language, it is expensive if you don't qualify for an academic license. While Octave provides a fantastic open source alternative, I'll often turn to either Perl (for string data processing) or Python (for more numerical tasks) if the job is quite small.


Warning: INSERT command denied to user 'revjbr_dan'@'10.0.0.14' for table 'watchdog' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>INSERT command denied to user &amp;#039;revjbr_dan&amp;#039;@&amp;#039;10.0.0.14&amp;#039; for table &amp;#039;sessions&amp;#039;\nquery: INSERT INTO sessions (sid, uid, cache, hostname, session, timestamp) VALUES (&amp;#039;ddb0d1b775a514423cffba4a5961468e&amp;#039;, 0, 0, &amp;#039;38.107.179.237&amp;#039;, &amp;#039;&amp;#039;, 1328688489)</em> in <em>/home/www/danpearce.co.uk/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://www.danpearce.co.uk/tutorials', '', '38.107.179.237', 1328688489) in /home/www/danpearce.co.uk/includes/database.mysql.inc on line 172