Skip to content

Instantly share code, notes, and snippets.

View alerque's full-sized avatar
🩺
Coding as best I can in between dealing with my daughter's medical issues.

Caleb Maclennan alerque

🩺
Coding as best I can in between dealing with my daughter's medical issues.
View GitHub Profile
@alerque
alerque / pre-commit
Last active August 29, 2015 13:57 — forked from anl/pre-commit
git pre-commit hook (make executable at .git/hooks/pre-commit) to check dns zones
#!/bin/zsh
# Fail the hook if anything isn't 100% copacetic
set -e
# If anything goes wrong, try to show what and clean up after ourselves
function show_log () {
cat $tmpfile |
grep -v 'ignoring out-of-zone data' |
grep -v 'loaded serial' |
// ==UserScript==
// @name AutoReviewComments
// @namespace benjol
// @version 1.3.1
// @description Add pro-forma comments dialog for reviewing (pre-flag)
// @grant none
// @include http*://*stackoverflow.com/questions*
// @include http*://*stackoverflow.com/review*
// @include http*://*stackoverflow.com/admin/dashboard*
// @include http*://*stackoverflow.com/tools*
// ==UserScript==
// @name AutoReviewComments
// @namespace benjol
// @version 1.3.0izzy2
// @description Add pro-forma comments dialog for reviewing (pre-flag)
// @grant none
// @include http://*stackoverflow.com/questions*
// @include http://*stackoverflow.com/review*
// @include http://*stackoverflow.com/admin/dashboard*
// @include http://*stackoverflow.com/tools*