Skip to content

Instantly share code, notes, and snippets.

💭
still doing homework....

josh bowles jbowles

View GitHub Profile
View letitfail.go
package main
import (
"bufio"
"fmt"
"os"
"time"
)
const numWorkers = 3
View monkey_patcher.rb
MONKEY_PATCHES = {}
module MonkeyPatcher
begin
errors = []
port = Mongo::Connection::DEFAULT_PORT
begin
db_conn = Mongo::Connection.new('host', port).db('db')
db_error = Mongo::Connection.new('host', port).db('db')
View gist:597921
# mongo_template.rb
# remove unneeded defaults
run "rm public/index.html"
run "rm public/images/rails.png"
run "rm public/javascripts/controls.js"
run "rm public/javascripts/dragdrop.js"
run "rm public/javascripts/effects.js"
run "rm public/javascripts/prototype.js"
You can’t perform that action at this time.