Public Gists by jashmenn

Gravatar
Fri Nov 20 11:40:31 -0800 2009
1
2
3
#!/bin/bash
set -e
HADOOP=$HADOOP_HOME/bin/hadoop
Gravatar
Thu Nov 19 18:00:28 -0800 2009
1
2
3
# Use Jruby to read hadoop sequence files
 
def load_libs(libs)
Gravatar
Wed Nov 18 11:03:16 -0800 2009
1
2
3
package play;
 
import org.jruby.embed.PathType;
Gravatar
Mon Nov 16 13:48:14 -0800 2009
1
2
3
# make bash autocomplete with up arrow
# add to your ~/.profile
bind '"\e[A":history-search-backward'
Gravatar
Fri Nov 13 08:55:40 -0800 2009
1
2
3
#!/usr/bin/env ruby
# Short simple script to add custom directives to Markdown.
 
Gravatar
Wed Nov 11 13:05:48 -0800 2009
1
2
3
# script to load from a local wordnet file. Relative to this script is the zip file corp/wordnet.zip
 
import nltk
Gravatar
Fri Nov 06 16:41:31 -0800 2009
1
2
3
digraph G {
  1 [label = "Hfs['TextLine[['offset', 'line']->[ALL]]']['hdfs://master0:54310/user/nmurray/output']']"];
  2 [label = "Hfs['TextLine[['offset', 'line']->[ALL]]']['hdfs://master0:54310/user/nmurray/poem.txt']']"];
Gravatar
Thu Nov 05 12:33:44 -0800 2009
1
2
3
package cascadingtutorial.wordcount;
 
import cascading.flow.Flow;
Gravatar
Mon Oct 19 15:00:59 -0700 2009
1
2
3
#!/usr/bin/env perl -w
use strict;
use HTML::WikiConverter;
Gravatar
Thu Oct 01 13:44:20 -0700 2009
1
2
3
# ~/.inputrc - semi completion
"\ep": history-search-backward
"\en": history-search-forward
Gravatar
Mon Sep 14 14:52:39 -0700 2009
1
2
3
function clockin() {
  echo `date "+I: %Y-%m-%d %H:%M:%S"` | tee -a $HOME/.timecard
}
Gravatar
Fri Sep 11 16:14:20 -0700 2009
1
2
3
require 'java'
require 'hadoop-0.20.0-core.jar'
 
Gravatar
Wed Sep 02 11:26:39 -0700 2009
1
2
3
(Link to their fantastic book: http://www.amazon.com/Distributed-Computing-Principles-Algorithms-Systems/dp/0521876346)
 
On Sep 2, 2009, at 11:18 AM, Ajay Kshemkalyani wrote:
Gravatar
Mon Aug 17 17:50:33 -0700 2009
1
2
3
#!/bin/sh
# Find the next free erlang nodename using epmd
 
Gravatar
Wed Aug 05 09:25:04 -0700 2009
1
2
3
# Rough draft of erlang code coverage with Rake
 
class << self
Gravatar
Mon Jul 20 15:20:05 -0700 2009
1
2
3
2009-07-20 22:18:36,498 ERROR metadata.Hive (Hive.java:getTable(388)) - NoSuchObjectException(message:default.test_speak4itlogs table not found)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_table(HiveMetaStore.java:382)
        at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTable(HiveMetaStoreClient.java:429)
Gravatar
Mon Jul 20 08:18:49 -0700 2009
1
2
3
" Vim color scheme
" Name: vividchalk.vim
" Author: Tim Pope <vimNOSPAM@tpope.info>
Gravatar
Mon Jul 20 08:16:35 -0700 2009
1
2
3
#!/usr/bin/perl
 
# by entheon, do whatever the hell you want with this file
Gravatar
Mon Jul 20 08:16:28 -0700 2009
1
2
3
#!/usr/bin/perl
# Author: Todd Larason <jtl@molehill.org>
# $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.1 1999/07/11 08:49:54 dawes Exp $
Gravatar
Tue Jul 14 12:23:17 -0700 2009
1
2
3
/*
 * jQuery JSON Plugin
 * version: 1.0 (2008-04-17)