Skip to content

Instantly share code, notes, and snippets.

View kinkerl's full-sized avatar

Dennis Schwertel kinkerl

View GitHub Profile
@kinkerl
kinkerl / supervisord.sh
Created August 8, 2012 09:39 — forked from danmackinlay/supervisord.sh
an init.d script for supervisord
#! /bin/sh
### BEGIN INIT INFO
# Provides: supervisord
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Example initscript
# Description: This file should be used to construct scripts to be
# placed in /etc/init.d.
@kinkerl
kinkerl / pre-commit
Created July 30, 2012 09:07 — forked from spulec/pre-commit
Yipit Pre-commit Hook
#!/usr/bin/env python
import os
import re
import subprocess
import sys
modified = re.compile('^(?:M|A)(\s+)(?P<name>.*)')
CHECKS = [