Skip to content

Instantly share code, notes, and snippets.

View darac's full-sized avatar

Paul Saunders darac

View GitHub Profile
@darac
darac / dhcp-event.py
Created June 13, 2012 13:01 — forked from tomoconnor/dhcp-event
Thingy for updating powerdns backend when stuff changes
#!/usr/bin/env python
import MySQLdb
import syslog
import sys
import pprint
pp = pprint.PrettyPrinter()
mysql_host = "localhost"
mysql_user = "dbusername"
mysql_pass = "dbpassword"