Skip to content

Instantly share code, notes, and snippets.

View jpignata's full-sized avatar

John Pignata jpignata

View GitHub Profile
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Sebastien P. https://twitter.com/#!/_sebastienp
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@jpignata
jpignata / isreg.sh
Created October 24, 2009 23:36 — forked from jseifer/gist:217637
isreg() { test "`dig +short soa $1`" && echo "Yes" || echo "No"; }
# jp@populuxe:~$ isreg pivotallabs.com
# Yes
# jp@populuxe:~$ isreg everydayhealth.com
# Yes
# jp@populuxe:~$ isreg gov
# Yes
# jp@populuxe:~$ isreg mcfakester.fake
# No