View README.md

Setup reverse tunnel

Run the following in your client machine

ssh -R EXPOSED_PORT:localhost:SERVICE_PORT USER@HOST

Where

  • EXPOSED_PORT is the port exposed to the internet in the proxy server
  • SERVICE_PORT is the port your application is listening in your machine
View gist:8912340
var Promise = require("promise");
var p = new Promise(function(resolve) {
// Return an object with a 'then' property
var obj = {
then: function(res, rej) {
console.log("parg === p? " + (parg === p));
console.log("this === obj? " + (this === obj));
res();
}
View gist:8912323
var promisesAplusTests = require("promises-aplus-tests");
var Promise = require("promise");
var adapter = {
resolved: function(value) {
return new Promise(function(resolve) {
try {
resolve(value);
}
catch (e) {
View temp-prototype.js
/* TEMPORARY TESTING VERSION INCLUDING NEW SUPERCALLS FROM
http://github.com/tjcrowder/prototype/commit/79d3e1dfd32220299f0a5aceacfc6fd3ffa2a089
*/
/* Prototype JavaScript framework, version 1.6.1
* (c) 2005-2009 Sam Stephenson
*
* Prototype is freely distributable under the terms of an MIT-style license.
* For details, see the Prototype web site: http://www.prototypejs.org/
*
*--------------------------------------------------------------------------*/
View supercalls_perf.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>New Supercalls Performance Test Page</title>
<style type='text/css'>
#log p {
margin: 0;
padding: 0;
}