Skip to content

Instantly share code, notes, and snippets.

View dmhaiduchonak's full-sized avatar

Dzmitry Haiduchonak dmhaiduchonak

View GitHub Profile
@dmhaiduchonak
dmhaiduchonak / 0_reuse_code.js
Last active August 29, 2015 14:26
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
var fs = require('fs');
var vm = require('vm');
var log = console.log;
var emberjs = fs.readFileSync('client/code/libs/ember-1.0.pre.min.js', 'utf8');
var handlebarsjs = fs.readFileSync('client/code/libs/handlebars-1.0.0.beta.6.js', 'utf8');
var system = require('../system');