Skip to content

Instantly share code, notes, and snippets.

const Schema = require('mongoose').Schema
, ObjectId = Schema.ObjectId
/**
* Suggestion Schema
*
* @api public
*/
λ ../node/tools/gyp/gyp -f make --depth=. hello.gyp
λ V=1 make
cc -fasm-blocks -mpascal-strings -Os -gdwarf-2 -arch i386 -MMD -MF out/Default/.deps/out/Default/obj.target/hello/hello.o.d.raw -c -o out/Default/obj.target/hello/hello.o hello.c
./gyp-mac-tool flock out/Default/linker.lock g++ -arch i386 -Lout/Default -o "out/Default/hello" out/Default/obj.target/hello/hello.o
LINK(target) out/Default/hello: Finished
λ traceroute geekli.st
traceroute: Warning: geekli.st has multiple addresses; using 75.101.163.44
traceroute to geekli.st (75.101.163.44), 64 hops max, 52 byte packets
1 192.168.0.1 (192.168.0.1) 0.726 ms 0.345 ms 0.322 ms
2 * * *
3 tl11bb.no.shawcable.net (64.59.167.34) 10.419 ms 9.413 ms 57.073 ms
4 rc1bb-pos4-0-0.vc.shawcable.net (66.163.77.185) 13.193 ms 22.722 ms 23.990 ms
5 66.163.78.17 (66.163.78.17) 33.168 ms 30.235 ms 31.571 ms
6 rc1we-tge0-1-5-0.ed.shawcable.net (66.163.70.21) 32.175 ms 27.701 ms 27.921 ms
7 rc2sc-tge0-1-5-0.wp.shawcable.net (66.163.77.65) 60.668 ms 46.536 ms 63.467 ms
λ traceroute geekli.st
traceroute: Warning: geekli.st has multiple addresses; using 75.101.163.44
traceroute to geekli.st (75.101.163.44), 64 hops max, 52 byte packets
1 192.168.0.1 (192.168.0.1) 0.793 ms 0.573 ms 0.414 ms
2 * * *
3 tl11bb.no.shawcable.net (64.59.167.34) 9.414 ms 9.706 ms 20.334 ms
4 rc1bb-pos4-0-0.vc.shawcable.net (66.163.77.185) 16.806 ms 17.327 ms 15.361 ms
5 66.163.78.17 (66.163.78.17) 32.944 ms 70.980 ms 30.140 ms
6 rc1we-tge0-1-5-0.ed.shawcable.net (66.163.70.21) 46.804 ms 27.280 ms 28.807 ms
7 rc2sc-tge0-1-5-0.wp.shawcable.net (66.163.77.65) 43.581 ms 47.135 ms 44.636 ms
λ traceroute geekli.st
traceroute: Warning: geekli.st has multiple addresses; using 75.101.163.44
traceroute to geekli.st (75.101.163.44), 64 hops max, 52 byte packets
1 192.168.0.1 (192.168.0.1) 0.651 ms 0.441 ms 0.411 ms
2 * * *
3 tl11bb.no.shawcable.net (64.59.167.34) 10.877 ms 21.327 ms 7.597 ms
4 rc2bb-pos0-1-5-0.vc.shawcable.net (66.163.77.185) 15.439 ms 15.877 ms 15.228 ms
5 66.163.78.17 (66.163.78.17) 35.186 ms 26.116 ms 49.064 ms
6 rc1we-tge0-1-5-0.ed.shawcable.net (66.163.70.21) 27.638 ms 30.908 ms 28.562 ms
7 rc2ch-pos2-0-0.il.shawcable.net (66.163.77.65) 52.897 ms 45.945 ms 47.225 ms
@arlolra
arlolra / server.js
Created January 28, 2012 23:50 — forked from isaacs/server.js
// test with:
// curl -X POST -d '{ "to" : "isaacs", "from" : "arlolra", "body" : "emoji 🍨 🍩 🍪"}' http://127.0.0.1:1337
var http = require("http")
// messages should be relatively short.
var maxLength = 1024
var server = http.createServer(function (req, res) {
// requests come in as json
{
"author": "Arlo Breault <arlolra@gmail.com>",
"name": "one",
"description": "One file module.",
"version": "0.0.1",
"repository": {
"url": "https://gist.github.com/1839189"
},
"main": "package.json",
"engines": {
alert('This does not work!')
function binary(arr, itm) {
var max = arr.length
, min = 0
, mid
while (max >= min) {
mid = Math.floor((max + min) / 2)
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>singly twitter</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans'
rel='stylesheet' type='text/css' />