Public Gists by gaustin

Gravatar
Sun Nov 01 06:49:20 -0800 2009
1
2
3
# Subject: Re: Newbie to Sinatra looking for example
# From: Ryan Tomayko <r@tomayko.com>
# To: sinatrarb@googlegroups.com
Gravatar
Sun Sep 06 06:37:40 -0700 2009
1
2
3
Poor Man's Deploy
=================
 
Gravatar
Wed Jul 15 18:32:03 -0700 2009
1
2
3
require 'digest/sha1'
 
class String
Gravatar
Tue Jun 30 10:47:03 -0700 2009
1
2
3
from twisted.words.protocols.jabber import client, jid
from twisted.words.xish import domish, xmlstream
from twisted.application import internet, service
Gravatar
Sun Jun 21 07:45:48 -0700 2009
1
2
3
# Bash snippet to open new shells in most recently visited dir.
# Useful if you want to open a new terminal tab at the present
# tab's location.
Gravatar
Sat Apr 04 07:13:25 -0700 2009
1
2
3
# Monitor HTTP requests being made from your machine with a one-liner..
# Replace "en1" below with your network interface's name (usually en0 or en1)
sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E "Host\: .*|GET \/.*"
Gravatar
Wed Sep 17 17:29:17 -0700 2008
1
2
3
require 'web'
 
urls = {