View gist:bd469fc54d0ea7a84ef4
1 2 3 4 5 6 7 8 9 10
$ mddf -f auckland.mddf -d 3 knn 10 -5080203 354624 -4016714
-5065006.5 419536.9375 -3840691.75
-5065522 422530.28125 -3839690.75
-5065800.5 427683.125 -3838758.5
-5066874.5 434638.125 -3836574.75
-5058796.5 458735.375 -3844368.25
-5069325.5 444940.75 -3832183
-5071199.5 446882.96875 -3829493.75
-5072341.5 448165.5 -3827842.75
-5075230.5 450366.03125 -3823779.5
View basebot.js
1 2 3 4 5 6 7 8 9 10
var patterns = [ 4, 4, 4, 8, 8, 4, 2 ];
var base = [ 2, 1, 9, 7, 10, 3 ];
var ms = [ 1, 2, 8, 2, 20 ];
var basesp = [ 1, 8, 1/4, 1, 8 ];
 
return function (t) {
var p = patterns[Math.floor(t*4) % patterns.length];
var m = ms[Math.floor(t/4) % ms.length];
var bsp = basesp[Math.floor(t/8) % basesp.length];
var b = Math.pow(2,base[Math.floor(t*bsp) % base.length]/12);
View gist:7aeb03f66f78b25a7e26
1 2 3 4 5 6 7 8 9 10
$ npm test
 
> minimist@1.1.0 test /home/substack/projects/minimist
> tap test/*.js
 
not ok test/all_bool.js ................................. 3/5
Command: "/home/substack/prefix/bin/node all_bool.js"
TAP version 13
ok 1 should be equivalent
ok 2 should be equivalent
View contributing.md

OPEN Open Source Project


What?

Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.

Rules

View alarm
1 2 3 4 5
#!/bin/bash
at "$*"
amixer set Master unmute
amixer set Master 100%
mplayer -vo none $HOME/media/internet/dayvan_cowboy.mp4
View callsites.js
1 2 3 4 5 6 7 8 9 10
var falafel = require('falafel');
var inspect = require('object-inspect');
var fs = require('fs');
var src = fs.readFileSync('fib.js', 'utf8');
 
var id = 0;
var nodes = {};
 
var out = falafel(src, function (node) {
if (node.type === 'FunctionDeclaration'
View gist:24c6dd24e860c7b0e72c
1 2 3 4 5
~ $ time bash -c '(sleep 2 & sleep 3 & sleep 1 & sleep 1; wait)'
 
real 0m3.011s
user 0m0.000s
sys 0m0.004s
View main.js
1 2 3 4 5 6 7 8 9 10
 
buffer.js:343
throw new RangeError('attempt to write beyond buffer bounds');
^
RangeError: attempt to write beyond buffer bounds
at Buffer.write (buffer.js:343:11)
at Object.exports.string.encode (/home/substack/projects/changes-index/node_modules/changesdown/node_modules/protocol-buffers/encodings.js:64:12)
at Object.encode (eval at <anonymous> (/home/substack/projects/changes-index/node_modules/changesdown/node_modules/protocol-buffers/node_modules/generate-function/index.js:55:21), <anonymous>:8:10)
at ChangesDOWN._batch (/home/substack/projects/changes-index/node_modules/changesdown/changesdown.js:104:25)
at AbstractLevelDOWN.batch (/home/substack/projects/changes-index/node_modules/changesdown/node_modules/abstract-leveldown/abstract-leveldown.js:162:17)
View check_adventures.js
1 2 3 4 5 6 7 8 9 10
var fs = require('fs');
var path = require('path');
var perms = require('mode-to-permissions');
 
function check (name, cb) {
var parts = process.env.PATH.split(':');
(function next () {
if (parts.length === 0) return cb(null, false);
var p = parts.shift();
fs.stat(path.join(p, name), function (err, stat) {
Something went wrong with that request. Please try again.