Split concatenated certificates with awk

Tue 16 July 2013 by Lars Kellogg-Stedman Tags awk

This is a short script that takes a list of concatenated certificates as input (such as a collection of CA certificates) and produces a collection of numbered files, each containing a single certificate.

#!/bin/awk -f

# This script expects a list of concatenated certificates on input and
# produces a collection …
read more

Did Arch Linux eat your KVM?

Mon 08 April 2013 by Lars Kellogg-Stedman Tags archlinux virtualization kvm

A recent update to Arch Linux replaced the qemu-kvm package with an updated version of qemu. A side effect of this change is that the qemu-kvm binary is no longer available, and any libvirt guests on your system utilizing that binary will no longer operate. As is typical with Arch …

read more

I2C on the Raspberry Pi

I've set up my Raspberry Pi to communicate with my Arduino via I2C. The Raspberry Pi is a 3.3v device and the Arduino is a 5v device. While in general this means that you need to use a level converter when connecting the two devices, you don't need to …

read more

Interrupt driven GPIO with Python

Fri 08 March 2013 by Lars Kellogg-Stedman Tags raspberrypi hardware

There are several Python libraries out there for interacting with the GPIO pins on a Raspberry Pi:

All of them are reasonably easy to use, but the Quick2Wire API provides a uniquely useful …

read more

Controlling a servo with your Arduino

Thu 07 March 2013 by Lars Kellogg-Stedman Tags arduino hardware

I've recently started playing with an Arduino kit I purchased a year ago (and only just now got around to unboxing). I purchased the kit from SparkFun, and it includes a motley collection of resistors, LEDs, a motor, a servo, and more.

I was fiddling around with this exercise, which …

read more