Parsing XML with Awk

Mon 10 September 2012 by Lars Kellogg-Stedman Tags awk xml

Recently, changes from the xmlgawk project have been integrated into GNU awk, and xmlgawk has been renamed to gawkextlib. With both a recent (post-4.0.70) gawk and gawkextlib built and installed correctly, you can write simple XML parsing scripts using gawk.

For example, let's say you would like to …

read more

Markdown in your Email

Thu 09 August 2012 by Lars Kellogg-Stedman

I really like Markdown, a minimal markup language designed to be readable as plain text that can be rendered into structurally valid HTML. Markdown is already used on sites such as GitHub and all the StackExchange sites.

I use Markdown often enough that it's become ingrained in my fingers, to …

read more

Chasing OpenStack idle connection timeouts

Mon 30 July 2012 by Lars Kellogg-Stedman Tags openstack networking

The original problem

I've recently spent some time working on an OpenStack deployment. I ran into a problem in which the compute service would frequently stop communicating with the AMQP message broker (qpidd).

In order to gather some data on the problem, I ran the following simple test:

  • Wait n …
read more

Git fetch, tags, remotes, and more

Fri 27 July 2012 by Lars Kellogg-Stedman Tags git

I’ve been playing around with Git, Puppet, and GPG verification of our Puppet configuration repository, and these are some random facts about Git that have come to light as part of the process.

If you want to pull both changes and new tags from a remote repository, you can …

read more

Capturing Envoy Data

Wed 22 February 2012 by Lars Kellogg-Stedman

Pursuant to my last post, I've written a simple man-in-the-middle proxy to intercept communication between the Envoy and the Enphase servers. The code is available here.

What it does

As I detailed in my previous post, the Envoy sends data to Enphase via http POST requests. The proxy intercepts these …

read more