http://tiny.cc/fun-with-bookmarklets
##Fun
##Useful
<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> |
onmessage = function() { | |
postMessage(performance.now()) | |
} |
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) |
// 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() { |
http://tiny.cc/fun-with-bookmarklets
##Fun
##Useful
db = require "../lib/db" | |
Q = require "q" | |
_ = require "lodash" | |
GROUP = "messages" | |
getNewId = (cb) -> | |
db.getNewIdFor(GROUP, cb) | |
class Message |
Hello geppetto. |
I hereby claim:
To claim this, I am signing this object:
<!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() { |