Public Gists by mojombo

Gravatar
Sat Oct 24 19:43:24 -0700 2009
1
2
3
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
 
require 'rubygems'
Gravatar
Thu Oct 22 15:28:29 -0700 2009
1
2
3
require 'rubygems'
require 'bert'
require 'json'
Gravatar
Thu Oct 15 19:43:34 -0700 2009
1
2
3
# Used to graph results from autobench
#
# Usage: ruby autobench_grapher.rb result_from_autobench.tsv
Gravatar
Wed Oct 14 18:49:13 -0700 2009

      
Gravatar
Sun Oct 04 13:50:19 -0700 2009
1
2
3
Failed on server connect attempt 1. Trying again...
Uncaught exception
recieved ConnectionUnbound for an unknown signature: f6f17803599e03b44307e9cbe741a2284
Gravatar
Thu Oct 01 21:46:00 -0700 2009
1
2
3
== Signal handling
 
In general, signals need only be sent to the master process. However,
Gravatar
Thu Oct 01 21:44:38 -0700 2009
1
asdasdas
Gravatar
Thu Oct 01 19:28:18 -0700 2009

      
Gravatar
Thu Oct 01 19:23:19 -0700 2009

      
Gravatar
Thu Oct 01 19:17:34 -0700 2009

      
Gravatar
Thu Oct 01 19:16:36 -0700 2009

      
Gravatar
Thu Oct 01 18:54:18 -0700 2009
1
asfsgasgsgasg
Gravatar
Sun Sep 27 17:57:05 -0700 2009
1
Hello Rackspace!
Gravatar
Tue Sep 15 13:07:55 -0700 2009
1
2
3
# Run the given block +num+ times and then print out the mean, median, min,
# max, and stddev of the run. For example:
#
Gravatar
Thu Sep 03 15:54:12 -0700 2009
1
2
3
function psg {
  ps wwwaux | egrep "($1|%CPU)" | grep -v grep
}
Gravatar
Thu Sep 03 12:02:14 -0700 2009
1
testing permissions 2 3 4
Gravatar
Tue Jul 21 18:12:53 -0700 2009
1
2
3
$ git config --global sendemail.smtpserver smtp.gmail.com
$ git config --global sendemail.smtpserverport 587
$ git config --global sendemail.smtpencryption tls
Gravatar
Wed May 27 15:49:33 -0700 2009
1
2
3
require 'digest/md5'
 
def gfm(text)
Gravatar
Sat Apr 25 17:39:57 -0700 2009
1
2
3
# This is a config file for ProxyMachine. It pulls the username out of
# the Git stream and can proxy to different locations based on that value
# Run with `proxymachine -c examples/git.rb`
Gravatar
Thu Apr 16 16:21:53 -0700 2009
1
2
3
  # GitHub Flavored Markdown Layer
  def fix_markdown_quirks(text)
    # prevent foo_bar_baz from ending up with an italic word in the middle