As my IP address changes so rarely, my Dynamic DNS accounts keep expiring before the IP changes!
(more…)
March 3, 2010
DynDNS Lite!
December 16, 2009
Digikam in Ubuntu 9.10
After installing Digikam on Ubuntu, I had no video thumbnails or ability to play video.
(more…)
August 29, 2009
Count unique IP address in Apache’s access log
sed < /var/log/httpd/webtop.access_log -e 's/ .*$//' | sort | uniq -c
May 26, 2009
Ubuntu – Purge configuration files for removed packages
This bash command will remove the left over config files from old packages that were removed with “apt-get remove”.
dpkg -l | awk '/^rc/ {print $2}' | xargs sudo dpkg --purge
See the source article for an explanation of how it works.
February 5, 2009
SD card and Arduino
So, I have not long had my Arduino development board, my first project was to try and get it to log data to an SD card. This will be essential for a few future projects I have in mind. The internal EEPROM is only 512bytes, so not particularly useful for logging large amounts of data.
November 23, 2008
Explode into associative array
Simple function to explode a string into an associative array. Works in the same way as the normal explode but takes an extra argument which is an array of keys to use for the returned associative array.