13 July, 2012
1 min read
118 words
Growing a Linux VM disk in place with a new partition, pvcreate, vgextend, lvextend and resize2fs, with no redeploy.
5 July, 2012
1 min read
34 words
A site to site VPN on a Cisco ASA comes up but passes no packets one way, because the dynamic profile outranks the L2L one.
3 July, 2012
1 min read
27 words
The 2012 leap second pinned Hadoop nodes at 100% CPU. Resetting the clock with date and restarting ntpd fixes it without a reboot.
24 June, 2012
1 min read
47 words
Fixing iMessage and FaceTime picking up the SIM's built-in number instead of the number you ported in after a carrier change.
16 May, 2012
1 min read
22 words
Pulling the device credential off a Cisco box for licence lookup and transfer, and why SSH beats the serial console for it.
2 May, 2012
1 min read
65 words
Multi-part ZeroMQ messaging between a PHP client and a Python server, without relying on either language's own serialisation.
30 April, 2012
1 min read
91 words
Hubot script that pipes chat messages to a Pandorabots AI bot and returns the reply, using xml2js to parse the response.
20 April, 2012
1 min read
118 words
Hubot script that takes a CloudMailin webhook and posts the email into a HipChat room, with the room ID read from the URL.
1 March, 2012
1 min read
117 words
Python that gzips log data in memory with StringIO and writes it straight into HDFS through pyhdfs, ready for Hive or MapReduce.
17 February, 2012
1 min read
82 words
Build order and configure flags for compiling Facebook Scribe with HDFS support: boost, thrift, fb303, then scribe itself.
30 January, 2012
2 min read
330 words
A Perl Nagios check for the Flume DFO backlog directory, so a failed driver does not quietly fill the local disk.
24 January, 2012
1 min read
135 words
Prefilling the Fix Version field on the Jira create screen with a little JavaScript, once you dig the version ID out of the database.
30 December, 2011
1 min read
28 words
Clearing the MPlayerX recent files list from the macOS terminal with defaults delete, and stopping it recording history at all.
28 December, 2011
1 min read
54 words
Crowd keeps its directory config in the database, so a migrated Jira or Confluence needs a SQL update to point at the new Crowd URL.
21 December, 2011
1 min read
60 words
Working sip-ua and voice service voip config for registering a Cisco router against an Acme Packet SBC, including fax and codec pass-through.
30 September, 2011
1 min read
41 words
Giving a Cisco router a non-NAT public IP over PPPoE, using a loopback interface or a static NAT entry alongside the route-map overload.