David Goodwin’s blog
-
Script to fix NFS (Debian Squeeze + Backports bits)
I have a NFS server running Debian Squeeze. Additionally it’s using the 3.2.x kernel from backports, and the nfs-kernel-server from backports too. Sometimes NFS breaks, and gives helpful messages like : mount.nfs: connection timed out or just: Stale NFS handle on clients. While I’m confident that my /etc/exports and other configuration files are correct,…
-
Spam and Comic Sans.
Today, I received a spammy email from an unknown golf club. There was no obvious unsubscribe link or instructions, so I blindly replied with : Hi, Please remove ‘xxxxxx’ from your mailing list; we’ve no interest in golf… Thanks, David They replied with : REMOVED OK But it was actually : <FONT color=#0000ff size=4…
-
A few months with a Nexus 4
So, I’ve had a Nexus 4 for a while now … here’s some findings : The phone is symmetrical (or very close to it) – so I often pick it up the wrong way around – at least with an iPhone there was a button at the bottom which acts as an easy to feel…
-
Automated twitter compilation up to 01 March 2013
Arbitrary tweets made by TheGingerDog (i.e. David Goodwin) up to 01 March 2013
-
Automated twitter compilation up to 01 February 2013
Arbitrary tweets made by TheGingerDog (i.e. David Goodwin) up to 01 February 2013
-
Automated twitter compilation up to 01 January 2013
Arbitrary tweets made by TheGingerDog (i.e. David Goodwin) up to 01 January 2013
-
Virtualbox 4.2 VM autostart on Debian Squeeze & Wheezy
One new feature of VirtualBox 4.2 is that it has support for auto-starting vm’s on bootup of the host server (via init etc). This means I can remove my hackish ‘su – vbox -c “VBoxHeadless –startvm VMName &”‘ additions in /etc/rc.local, and the VM’s will also hopefully be terminated gracefully on shutdown. The docs/guides online…
-
Developer wanted … must have …….
Sometimes I come across job postings which are slightly optimistic in what they think is possible ….. like this one.
-
MySQL update/write query analysis (query profiling)
Do you have a slow MySQL update/insert/delete query? Obviously, for ‘SELECT’ queries you can prepend the query with “EXPLAIN ” – however that doesn’t work for the other query types (UPDATE/INSERT/DELETE). So, one solution which may explain why the query is slow is to turn on MySQL’s profiling functionality, like in the following example :
-
Exim selective copying/bcc’ing of mail based on sender and recipient
If you’re unfortunate enough to be using Exim, and you need to configure the server to selectively bcc some emails (e.g. emails going to a specific recipient need bcc’ing to another address for archiving/compliance purposes) then the following may be useful :
Contact / Links etc