Skip to content

Instantly share code, notes, and snippets.

View taterbase's full-sized avatar

George Shank taterbase

View GitHub Profile
@taterbase
taterbase / index.html
Created January 18, 2019 22:30
x12 Viewer
<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>
@taterbase
taterbase / performance.worker.js
Created January 18, 2017 01:44
Performance Worker
onmessage = function() {
postMessage(performance.now())
}
@taterbase
taterbase / zkscan.go
Created June 21, 2016 01:42
Recursively watch child Zookeeper graph grow
package main
import (
"log"
"path"
"sync"
"time"
"github.com/samuel/go-zookeeper/zk"
)
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 March 5, 2015 20:39
requirebin sketch
// 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() {
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 April 21, 2014 18:54
This is used to test Geppetto's `install` option.
Hello geppetto.
@taterbase
taterbase / keybase.md
Created March 26, 2014 16:45
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:

@taterbase
taterbase / client.html
Last active December 27, 2015 21:39 — forked from supershabam/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() {