Skip to content

Instantly share code, notes, and snippets.

George Shank taterbase

Block or report user

Report or block taterbase

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<textarea id="edi-input" placeholder="Paste edi in here...">
</textarea>
<br />
<input id="search" placeholder="search segments and elements">
<table id="edi-table" border="1">
</table>
View performance.worker.js
onmessage = function() {
postMessage(performance.now())
}
@taterbase
taterbase / zkscan.go
Created Jun 21, 2016
Recursively watch child Zookeeper graph grow
View zkscan.go
package main
import (
"log"
"path"
"sync"
"time"
"github.com/samuel/go-zookeeper/zk"
)
View gist:fbe6524945002d7019ee
app.get '/Cards/adv/search', (req, res) ->
console.log(req.query)
colors1 = req.query.colors || []
if(colors1.length == 0)
colors1 = ["White", "Blue","Black","Green", "Red"]
rarity1 = req.query.rares || []
if(rarity1.length == 0)
@taterbase
taterbase / index.js
Created Mar 5, 2015
requirebin sketch
View index.js
// require() some stuff from npm (like you were using browserify)
// and then hit Rebuild to run it on the right
var assign = require('object-assign')
var inherits = require('inherits')
var A = function() {
}
//class method
A.hi = function() {
View message.coffee
db = require "../lib/db"
Q = require "q"
_ = require "lodash"
GROUP = "messages"
getNewId = (cb) ->
db.getNewIdFor(GROUP, cb)
class Message
@taterbase
taterbase / hello-geppetto.txt
Created Apr 21, 2014
This is used to test Geppetto's `install` option.
View keybase.md

Keybase proof

I hereby claim:

  • I am taterbase on github.
  • I am taterbase (https://keybase.io/taterbase) on keybase.
  • I have a public key whose fingerprint is F4CD 7F56 2D1B 9A6E 1F63 3088 3C9D 40E9 B135 9BEB

To claim this, I am signing this object:

View client.html
<!DOCTYPE html>
<html>
<head>
<script src='//polysocket.io/polysocket.js'></script>
<script>
var ps = new PolySocket('ws://echo.websocket.org')
ps.onmessage = function(e) {
console.log(e.data)
}
ps.onopen = function() {
You can’t perform that action at this time.