Linode DDNS and OpenWrt updater

Linode DDNS updater script

So my domain registrar doesn’t do DDNS (dynamic dns), but Linode have an API to update your DNS records that you have on their name servers, so you can do DDNS with your own domains really easily!

I use my Wifi router with OpenWrt on to run the update script every hour. There are a couple of updater scripts out there, a quick Google will find you some. Below is one I’ve bodged together using a couple I found Continue reading

Eclipse, PHPUnit, xdebug, MakeGood and Ubuntu (PHP Unit testing)

Well after about 2 hours of head desking I have I got the above to all work nicely together.

Firstly you need to install all the prerequisites. If you are using you can install most of these though apt-get. I assume you have LAMP set up locally and you will be testing on this

sudo apt-get install php5-dev php-pear php5-cli php5-xdebug phpunit

This will install a bunch of stuff you will need. If you want to install from source feel free.

Continue reading