Skip to content

Instantly share code, notes, and snippets.

View tav's full-sized avatar

tav

View GitHub Profile
Who are the most active users?
For <person> who else is most in the space with them?
What days/times are the busiest?
During <event-period> who was new and how often did they come back?
Given <member-tariffs-and-opening-hours> who over/underused their membership?
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCmnLQN7Ph7ac3PvmJmMekgCG8mHop7KmuLJH+sBw2MSmJ5gky2xu5mlYyjE2CRkUjlroMlbLCYJ5jv2WV2i1Nqx0hKmqQ5X+uUUIdMKqF85xuosUdlut50H7f4zR7mbVSO0IM2lbydPGZoAaDDTPwHBqKrf+KXT1xEWhkozju7Hz86mhfYSie3cXX+rJNgDoURsj1DfLoJavB+bBZqy5XsJvkdzGvz/Obz9InSrJff/2OexoQEHV2ob4Zll55DfLVwznd+BuhTBA1qtiDt7378LvTBgZ2l2+UAWRDcLBUf9q0bQLccnI55HQmXxECb4eRt2e1X6UbyABHIxoM8vbYO7H8SYpEB4BHCSQqZFqwV9NrDGP0SPFdWkXGWoJ75vPeCqcNzeT+u7EUyA97b7UpJxL1UKRiKdogj9mKwfoqOS+lyMQrrOfZahStcq/5AIaskqADmBRzcJR9LedyAKdHmgCLfABE4i2Va2pgnfJuFaLBQA24ElT0npHl69IlBbDVQRjaWFeNkC/yT/h42i0oB9Xzc/8Wm7WwkU1yMHaqmFW3owyCp4eoy8xCewRbg1SEhLOsdNinIj5e5v7PHpO2x9QwIZmX4S+bVVyCBcawXY4lqyedngTZowGqtgbwq3wRSbA7o+UMmxwtinXHhpOu7m6VyZr1MNlTvB1e19fMrsw== [email protected]
# Public Domain (-) 2011 The Togethr Authors.
# See the Togethr UNLICENSE file for details.
define 'togethr', (exports, root) ->
lookup = []
for base in exports.DIGITS_BASES
for c in [base...(base+10)]
lookup[c] = '' + (c - base)
@tav
tav / ucd.js
Created December 29, 2011 19:18
// Generated by:
//
// $ ./genucd UnicodeData.txt
//
// DO NOT EDIT
define('togethr', function(exports, root) {
exports.UCD_VERSION = "6.0.0";
#! /usr/bin/env python
import sys
from commands import getoutput
from os import listdir, unlink
from subprocess import call
from time import sleep
from traceback import print_exc
Structured data:
argo.BenchmarkArgo 76601 ns/op 1098 bytes
argo.BenchmarkGob 109596 ns/op 1599 bytes
argo.BenchmarkJSON 1848052 ns/op 3138 bytes
Large structured data:
argo.BenchmarkArgo 1062088 ns/op 19566 bytes
argo.BenchmarkGob 1143704 ns/op 27845 bytes
# Inside the root of the Go repository...
from commands import getoutput
version = "%s %s\n" % (
getoutput(
'git describe --tags --abbrev=0 --match '
'"[wr]e[el][ke][la][ys][e.][2.][02r][0-9]*"'
),
getoutput("git describe --always --abbrev=8 --dirty=+")

gonicetrace.Print() outputs:

recover: ow
/Users/tav/gocode/gonicetrace/nicetrace/nicetrace_test.go:12
gonicetrace%2egooglecode%2ecom/hg/nicetrace.TestTrace()
/Users/tav/silo/ampify/third_party/go/src/pkg/testing/testing.go:156 testing.tRunner()

debug.PrintStack() outputs:

/Users/tav/silo/ampify/third_party/go/src/pkg/runtime/proc.c:1247 (0x1073e)

* RPC Structure
* RPC API
* Context API
* Multiplexing Messages Channel
* Multiplex compare
* Live-server Mods
* Live-server Timeouts -- 1min for norm, 1hour for stream
* Request dispatch tree
* App-server upstream
* App-server handle request
hello from emacs!