Skip to content

Instantly share code, notes, and snippets.

Ryan 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
View orig.js
import { grad, linspace, plot } from "propel";
f = x => x.tanh();
x = linspace(-4, 4, 200);
plot(x, f(x),
x, grad(f)(x),
x, grad(grad(f))(x),
x, grad(grad(grad(f)))(x),
x, grad(grad(grad(grad(f))))(x))
@ry
ry / SAP_CLA
Created Jan 12, 2018 — forked from CLAassistant/SAP_CLA
SAP Individual Contributor License Agreement
View SAP_CLA
###SAP Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by SAP SE or its affiliates (“SAP”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to SAP in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact opensource@sap.com.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to SAP a non-exclusive, perpetual, irrevocable, worldwid
View 0001-non-working-add-worker.Kill.patch
From 03a65b4be77847d618deac570842795f0a033e91 Mon Sep 17 00:00:00 2001
From: Ryan Dahl <ry@tinyclouds.org>
Date: Thu, 10 Sep 2015 18:11:55 -0400
Subject: [PATCH] non-working add worker.Kill()
---
binding.cc | 17 ++++++++++++++++-
binding.h | 1 +
worker.go | 6 ++++++
worker_test.go | 21 +++++++++++++++++++++
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 put-this-in-your-zshenv-or-bashrc.sh
for i in $HOME/local/*; do
[ -d $i/bin ] && PATH="${i}/bin:${PATH}"
[ -d $i/sbin ] && PATH="${i}/sbin:${PATH}"
[ -d $i/include ] && CPATH="${i}/include:${CPATH}"
[ -d $i/lib ] && LD_LIBRARY_PATH="${i}/lib:${LD_LIBRARY_PATH}"
[ -d $i/lib ] && LD_RUN_PATH="${i}/lib:${LD_RUN_PATH}"
# uncomment the following if you use macintosh
# [ -d $i/lib ] && DYLD_LIBRARY_PATH="${i}/lib:${DYLD_LIBRARY_PATH}"
[ -d $i/lib/pkgconfig ] && PKG_CONFIG_PATH="${i}/lib/pkgconfig:${PKG_CONFIG_PATH}"
[ -d $i/share/man ] && MANPATH="${i}/share/man:${MANPATH}"
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
You can’t perform that action at this time.