Skip to content

Instantly share code, notes, and snippets.

Ry Dahl ry

Block or report user

Report or block ry

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
We couldn’t find that file to show.
View frame-protocol.js
/*
A simple new-line delimited JSON protocol with upgrades.
Receiving Usage:
protocol = require('./frame-protocol');
// parsing data
parser = protocol.Parser();
View set_process_name_mac.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Here is a reference to the commit: http://codereview.chromium.org/659007
// [...]
void SetProcessName(CFStringRef process_name) {
if (!process_name || CFStringGetLength(process_name) == 0) {
NOTREACHED() << "SetProcessName given bad name.";
View gist:3801520
% ls ~/src/dart-repo/dart/third_party
7zip apache_ant args4j bzip2 eclipse fest gsutil guava gyp hamcrest json junit mockito v8 WebCore weberknecht
View node-0.8.0.md

I am thrilled to announce the arrival of a new stable version of Node.js.

Compared with the v0.6 releases of Node, this release brings significant improvements in many key performance metrics, as well as cleanup in several core APIs, and the addition of new debugging features.

tl;dr

@ry
ry / dpkg-L-opa-wc.txt
Created Jun 21, 2012
playing around with opa 1.0.0
View dpkg-L-opa-wc.txt
% dpkg -L opa | wc -l
13369
View simple.txt
# ab -t 30 -c 100 http://localhost:8000/bytes/123 | grep Req
## v0.7.12-9-gc10e412
Requests per second: 7404.23 [#/sec] (mean)
Requests per second:    7419.61 [#/sec] (mean)
Requests per second: 7421.72 [#/sec] (mean)
## v0.6.19-7-gdd1c3d7
View spdy-install-problem
ryan@ryan-ThinkPad-X201:~/src/example% node -v
v0.7.12-pre
ryan@ryan-ThinkPad-X201:~/src/example% npm -v
1.1.26
ryan@ryan-ThinkPad-X201:~/src/example% pwd
/home/ryan/src/example
ryan@ryan-ThinkPad-X201:~/src/example% npm install spdy
spdy@1.2.0 node_modules/spdy
ryan@ryan-ThinkPad-X201:~/src/example% ls
node_modules
You can’t perform that action at this time.