Skip to content

Instantly share code, notes, and snippets.

View jplewicke's full-sized avatar

John Paul Lewicke jplewicke

View GitHub Profile
@jplewicke
jplewicke / gist:5158301
Created March 14, 2013 02:22
Badger badger badger offline mode.
yes | gawk 'NR % 2 == 1 {s = "badger badger " ; print s s s s s s} NR % 4 == 2 {print "mushroom mushroom mushroom"} NR % 4 == 0{print "Snake snake snake. Its a snake"}' | head -9999 | say
require 'Neo4j'
require 'neo4j/extensions/graph_algo'
require 'neo4j/extensions/find_path'
Neo4j::Config[:storage_path] = './dbneotest'
Lucene::Config[:storage_path] = './dblucenetest'
class Dot
include Neo4j::NodeMixin
property :numid
has_n(:line_to)