Python ctypes module

Tue 10 August 2010 by Lars Kellogg-Stedman Tags python

I just learned about the Python ctypes module, which is a Python module for interfacing with C code. Among other things, ctypes lets you call arbitrary functions in shared libraries. This is, from my perspective, some very cool magic. I thought I would provide a short example here, since it …

read more

Importing vCard contacts into an LG 420G

Fri 06 August 2010 by Lars Kellogg-Stedman Tags phone vcard sync contacts import

Alix recently acquired an LG 420G from TracFone. She was interested in getting all of her contacts onto the phone, which at first seemed like a simple task -- transfer a vCard (.vcf) file to the phone via Bluetooth, and the phone would import all the contacts. This turned out to …

read more

Patch to gPXE dhcp command

Thu 22 July 2010 by Lars Kellogg-Stedman Tags gpxe linux dhcp

Update: This patch has been accepted into gPXE.

I just released a patch to gPXE that modifies the dhcp command so that it can iterate over multiple interfaces. The stock dhcp command only accepts a single interface as an argument, which can be a problem if you are trying to …

read more

Kerberos authenticated queries to Active Directory

There are many guides out there to help you configure your Linux system as an LDAP and Kerberos client to an Active Directory server. Most of these guides solve the problem of authentication by embedding a username and password into a configuration file somewhere on your system. While this works …

read more

Pushing a Git repository to Subversion

Tue 11 May 2010 by Lars Kellogg-Stedman Tags git subversion vcs

I recently set up a git repository server (using gitosis and gitweb). Among the required features of the system was the ability to publish the git repository to a read-only Subversion repository. This sounds simple in principle but in practice proved to be a bit tricky.

Git makes an excellent …

read more