Skip to content

Instantly share code, notes, and snippets.

View dbrown29's full-sized avatar

David Brown dbrown29

View GitHub Profile
@dbrown29
dbrown29 / supervisord
Created November 30, 2012 15:28 — forked from guerrerocarlos/supervisord
supervisord init.d file
#! /bin/bash -e
SUPERVISORD=/usr/local/bin/supervisord
PIDFILE=/tmp/supervisord.pid
OPTS="-c /etc/supervisord.conf"
test -x $SUPERVISORD || exit 0
. /lib/lsb/init-functions
@dbrown29
dbrown29 / dpkt_netbios_mdns.py
Created October 2, 2012 06:50 — forked from m-mizutani/dpkt_netbios_mdns.py
packet dump with pcapy & dpkt in Python
#!/usr/bin/env python
# coding: utf-8
#----------------------------------------------------
# packet capture & decoding
import pcapy
import dpkt
class network_monitor:
def __init__ (self):