Skip to content

Instantly share code, notes, and snippets.

Brian Hayes joeyred

Block or report user

Report or block joeyred

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 package.json
"property": [
joeyred / gulpfile.js
Last active Dec 13, 2016
Use Jekyll with gulp.js while leveraging the use of a `--production` flag when running `gulp` to set the environment in Jekyll to production as well.
View gulpfile.js
var gulp = require('gulp');
var yargs = require('yargs');
var DEPLOY = Boolean(yargs.argv.production);
* Jekyll Task
* Make Jekyll run stuff when told to by gulp.
joeyred / debug.js
Created Nov 30, 2016
A little debugging object.
View debug.js
* Controls whether debug functions have any output to console.
* @type {Boolean}
var DEBUG_IS_ENABLED = true;
* Debug constructor
* @method Debug
* @param {string} objectName The name of the parent object of all logged data
You can’t perform that action at this time.