Skip to content

Instantly share code, notes, and snippets.

Aren Blondahl Reanmachine

Block or report user

Report or block Reanmachine

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 Blastoff.md
        ^                                              
      <   >                                            
     |     |     WHOO HOO HERE WE GO !!!!!!!!!         
     |     |                                           
     |     |                                           
   " |  ^  | "                                         
  | || | | || |                                        
  | || ( ) || |                                        
  |_|| "_" ||_|    ON THE WAY TO THE SURFACE OF THE SUN
View Module Resolution.md

Raw Node Modules

+ package.json
+- node_modules/ -- External Dependencies
+- src/
 +- node_modules/
 |+- module-a/  -- Code lives here
 |+- module-b/  -- Code lives here
 +- index.js  -- Entry Point
View gist:d9c262065e6ce571bd5574ab3757c77a
### Keybase proof
I hereby claim:
* I am reanmachine on github.
* I am reanmachine (https://keybase.io/reanmachine) on keybase.
* I have a public key whose fingerprint is 0C22 1776 4C81 EC02 6145 0840 0CF0 F84F EA93 D5C6
To claim this, I am signing this object:
View NoRouteDecoratorExample.es6
class SessionController
{
construct() {
this.routes = {
"Session:login": this.login
}
}
login(payload) {
// ...
View RouteDecoratorExample.es6
class SessionController
{
@Route("Session:login")
login(payload) {
// ...
}
}
View Debounce.js
function Debounce(timeout) {
this._timeout = timeout;
this._registry = {};
}
Debounce.prototype.run = function(callback) {
var registry = this._registry;
if (registry[callback]) {
clearTimeout(registry[callback]);
}
@Reanmachine
Reanmachine / js-support.js
Created Oct 7, 2015
Support Script for showing how javascript works in jsbin
View js-support.js
(function() {
var output = $("<pre>");
$("body").append(output);
window.write = function() {
var message = arguments[0];
var formatted = message;
if (arguments.length > 1) {
View Bonsai_Api_Users_Draft1.md

Message Packages:

Client -> Server Message Example:

{
    token: string|null - The session token
    type: string - The message type
    payload: object - The payload of the message
}
You can’t perform that action at this time.