Skip to content

Instantly share code, notes, and snippets.

Avatar

Eric Ferraiuolo ericf

View GitHub Profile
View gist:8025839
'use strict';
var fs = require('fs'),
path = require('path'),
Promise = require('es6-promise').Promise,
zlib = require('zlib');
module.exports = function fileSizes(pureDir, callback) {
getModules(pureDir)
.then(getFileSizes.bind(null, pureDir))
View gist:8016919
'use strict';
var fs = require('fs'),
path = require('path'),
Promise = require('es6-promise').Promise,
zlib = require('zlib');
module.exports = filesizes;
// -----------------------------------------------------------------------------
View gist:7760305
> var exposed = Exposed.create();
undefined
> var obj = {};
undefined
> Object.defineProperty(obj, 'foo', {
..... enumerable: true,
..... get: function () { return 'FOO'; }
..... });
{ foo: [Getter] }
> exposed.add('foo', obj);
View gist:7479727
.pure-u-1-1024,
.pure-u-2-1024,
.pure-u-1-512,
.pure-u-3-1024,
.pure-u-4-1024,
.pure-u-1-256,
.pure-u-5-1024,
.pure-u-6-1024,
.pure-u-3-512,
.pure-u-7-1024,
View gist:7479228
> var css = rework('').use(pureGrids.units(8)).toString();
undefined
> console.log(css);
.pure-u-1-8,
.pure-u-2-8,
.pure-u-1-4,
.pure-u-3-8,
.pure-u-4-8,
.pure-u-1-2,
.pure-u-5-8,
View gist:7478723
ericf@Fino:rework-pure-grids (master)$ node
> var rework = require('rework');
undefined
> var pureGrids = require('./');
undefined
> var css = rework('').use(pureGrids.units(5)).toString();
undefined
> console.log(css);
.pure-u-1-5,
.pure-u-2-5,
View gist:6748664
#!/usr/bin/env node
var csv = require('csv'),
path = require('path'),
invs = require('../lib/invitations'),
output = process.argv[2];
if (output) {
output = path.resolve(output);
@ericf
ericf / gist:6630093
Created Sep 19, 2013
Y.Transition diff v3.7.3...v3.12.0
View gist:6630093
diff --git a/src/transition/HISTORY.md b/src/transition/HISTORY.md
index 499be0c..9cb05a0 100644
--- a/src/transition/HISTORY.md
+++ b/src/transition/HISTORY.md
@@ -1,6 +1,59 @@
Transition Change History
=========================
+3.12.0
+------
View gist:6594826
diff --git a/src/app/js/router.js b/src/app/js/router.js
index 621f627..7a6f955 100644
--- a/src/app/js/router.js
+++ b/src/app/js/router.js
@@ -993,11 +993,12 @@ Y.Router = Y.extend(Router, Y.Base, {
**/
_getRequest: function (src) {
return {
- path : this._getPath(),
- query : this._parseQuery(this._getQuery()),
View email.js
var async = require('async'),
exphbs = require('express3-handlebars'),
path = require('path'),
request = require('request'),
config = require('../config'),
helpers = require('../lib/helpers'),
invs = require('../lib/invitations'),
templates = config.dirs.emails,
You can’t perform that action at this time.