Interrupts on the PiFace
I recently acquired both a Raspberry Pi and a PiFace IO board. I had a rough time finding examples of how to read the input ports via interrupts (rather than periodically polling for values), especially for the newer versions of the PiFace python libraries.
After a little research, here's some …read more
Generating a memberOf attribute for posixGroups
This showed up on #openstack earlier today:
2013-07-22T13:56:10 <m0zes> hello, all. I am looking to setup keystone with an ldap backend. I need to filter users based on group membership, in this case a non-rfc2307 posixGroup. This means that memberOf doesn't show up, and that the memberUid in the group is not a dn. any thoughts on how to accomplish this?
Split concatenated certificates with 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 …