Skip to content

Instantly share code, notes, and snippets.

@pix0r
pix0r / pre-commit
Created March 29, 2012 15:36 — 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 = [
@pix0r
pix0r / shared_followers.rb
Created February 23, 2010 19:52 — forked from damon/shared_followers.rb
find shared twitter followers, then print all usernames
#!/usr/bin/env ruby
# Author: Damon Clinkscales
# Modified 2010-02-23 by Mike Matz
# Loop through all shared follower IDs to expose usernames.
# Not recommended for people with a lot of followers!
require 'rubygems'
require 'hpricot'
require 'net/http'