Public Gists by jmhodges

Gravatar
Fri Sep 25 14:02:26 -0700 2009
1
2
3
class User < Personalization
  # vroommm. honk, honk. hey, bill! runnin' a little late, aren't we?
  CHARPOOL = (('a'..'z').to_a + ('0'..'9').to_a) - %w(i o 0 1 l I O)
Gravatar
Mon Sep 21 01:56:11 -0700 2009
1
2
3
  def test_open_with_write_clears_existing_file
    FileUtils.mkdir_p('/path/to')
 
Gravatar
Thu Sep 03 23:53:41 -0700 2009
1
2
3
require 'transformer'
require 'json'
 
Gravatar
Wed Aug 26 14:19:21 -0700 2009
1
http://qafscity1.wc1.yellowpages.com:35200/cgi-bin/citystaterv?hits=25&sortby=dirlookup&qtpipeline=citylookup&spell=0&qtf_spellcheck=0&qtf_lemmatize=0&query=AND%28citystatelookup:string%28%22HI%22,mode=%22all%22,annotation_class=%22citystatelookup%22%29,filter%28AND%28NOT(citytype:%22zp%22),meta.collection:sbcCityState%29%29%29&urid=rserv-67b76039-b2ca-4932-b381-e8b062cfdd62&resubmitflags=8048&qtype=directories
Gravatar
Fri Aug 21 16:39:43 -0700 2009
1
http://wc1fs11.wc1.yellowpages.com:15200/cgi-bin/asearch?qtpipeline=boostnowcname&query=xrank%28AND%28namesearch:string%28%22Nationwide+Insurance%22,mode=%22all%22,annotation_class%3D%22namesearch%22%29,filter%28AND%28meta.collection:sbcYP,directorycode:OR%28%22INT%22,ARDMZ,DAMZ,DCNMZ,FWMZ,IAR,ICB,IDS,IDW,IFW,IGB,IGR,IMK%29%29%29%29,city:string%28%22fort+worth%22,linguistics=%22off%22,mode=%22all%22%29,boost=500000%29&sortby=%20-relnamesearch%20%2Btier%20-prioritypointvalue%20%2Bsenioritydate%20%2Blistingname%20%2Bstate%20%2Bcity%20%2Baddresstext%20%2Bphonetext&qtf_geosearch%3Acenter=%2832.725278%2C-97.320556%29&qtf_geosearch%3Aradius=200&qtf_geosearch%3Aunit=mi&rpf_navigation:enabled=0&resubmitflags=8048&qtf_propername_listingnames:addconsidered=1&qtf_propername_listingnames:consideredverbose=1&qtf_propername_custom_listingnames:addconsidered=1&qtf_propername_custom_listingnames:consideredverbose=1&qtf_propername_custom_listingnames:phrasing=1&qtf_lemmatize=1&spell=0&qtf_spellcheck=0&qtf_spellcheck:addconsidered=1&qtf_spellcheck:consideredverbose=1&collapseon=batvcompanyid&offset=25&hits=25&urid=rserv-53495aa9-5e5b-4738-bf29-3bb60d06773d&qtype=listings_by_name_NAME_SEARCH
Gravatar
Tue Aug 18 16:59:37 -0700 2009
1
2
3
diff --git a/git-jira-attacher.py b/git-jira-attacher.py
index 6ad4dda..1186edb 100755
--- a/git-jira-attacher.py
Gravatar
Mon Aug 17 15:13:16 -0700 2009
1
2
3
require 'benchmark'
require 'rubygems'
require 'gruff'
Gravatar
Fri Aug 14 01:24:30 -0700 2009
1
2
3
jmh @ shinygecko: ~/projects/cassandra_client (master)
→ irb -r lib/cassandra
irb(main):001:0> c = Cassandra.new('Twitter'); c.get(:Tweets, 'first')
Gravatar
Mon Aug 10 18:52:17 -0700 2009
1
2
3
6:50:01 PM Jeff Hodges: btw, if the bug takes hold, see if you can't get php5 with phuby to work as
a portfile because i will be goddamned if i can manage the patience after that first night of
trying to make it happen
Gravatar
Fri Aug 07 16:03:15 -0700 2009
1
2
3
// This is what boots Cassandra for the hadoop stuff
private void startKeyspace() throws IOException
{
Gravatar
Mon Jul 20 23:48:18 -0700 2009
1
2
3
diff --git a/Makefile.am b/Makefile.am
index 38accd4..d6a3196 100644
--- a/Makefile.am
Gravatar
Mon Jul 20 18:38:08 -0700 2009
1
2
3
lib_LTLIBRARIES = libmurmurhash.la
 
libmurmurhash_la_SOURCES = src/murmurhash.cc
Gravatar
Mon Jul 20 02:12:06 -0700 2009
1
2
3
  /**
   * Calculates the splits that will serve as input for the map tasks.
   * <ul>
Gravatar
Sat Jul 11 22:53:51 -0700 2009
1
2
3
irb(main):001:0> `ruby --version`
=> "jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-05-13 rev 6586) [x86_64-java]\n"
irb(main):002:0> `cruby --version`
Gravatar
Wed Jul 01 22:44:38 -0700 2009
1
2
3
require 'irb/ext/save-history'
module IRB
  module HistorySavingAbility
Gravatar
Thu Jun 25 17:07:22 -0700 2009
1
2
3
-module(recess_controller).
-import(error_logger).
-export([
Gravatar
Fri Jun 19 21:17:19 -0700 2009
1
2
3
unless ARGV[0]
  STDERR.puts "Hey, you suck. Include a process name to look for"
  exit(1)
Gravatar
Tue Jun 16 16:11:11 -0700 2009
1
2
3
class ReverseGeoThread < Thread; end
class ListingThread < Thread; end
 
Gravatar
Wed Jun 10 15:17:36 -0700 2009
1
2
3
# this is how many Threads are currently allocated and in play
# over a 3 minute interval with the number of Threads being
# rechecked every two seconds
Gravatar
Wed Jun 10 15:02:33 -0700 2009
1
2
3
class MemoryProfiler