Skip to content

Instantly share code, notes, and snippets.

View OverZealous's full-sized avatar

Phil DeJarnett OverZealous

View GitHub Profile
@OverZealous
OverZealous / index.js
Last active January 4, 2016 10:59
Sample for anysort error
var anysort = require('anysort');
var sortArr = [ 'js/vendor/angular/angular.js',
'js/vendor/angular-bootstrap/ui-bootstrap-tpls.min.js',
'js/vendor/angular-ui-router/release/angular-ui-router.js',
'js/vendor/angular-ui-utils/modules/route/route.js',
'js/vendor/firebase/firebase.js',
'js/vendor/angularfire/angularfire.js',
'js/common/**/*.js',
'js/app/**/*.js',
@OverZealous
OverZealous / build.config.js
Last active June 21, 2021 04:12
Preliminary Gulpfile for replicating ngBoilerplate — Still a work in progress!
/**
* This file/module contains all configuration for the build process.
*/
/**
* Load requires and directory resources
*/
var join = require('path').join,
bowerrc = JSON.parse(require('fs').readFileSync('./.bowerrc', {encoding: 'utf8'})),
bowerJSON = bowerrc.json.replace(/^\.?\/?/, './'),
@OverZealous
OverZealous / lazypipe.js
Last active January 3, 2016 18:39
Lazy Pipe for Gulp
var combine = require('stream-combiner');
function lazypipe() {
var createPipeline = function(tasks) {
var build = function() {
return combine.apply(null, tasks.map(function(t) {
return t.task.apply(null, t.args);
}));
};
build.pipe = function(task) {
@OverZealous
OverZealous / 1 gulpfile.js
Last active May 26, 2016 19:39
Gulpfile for replicating ngboilerplate
//<editor-fold desc="Node Requires, gulp, etc">
var gulp = require('gulp'),
autoprefixer = require('gulp-autoprefixer'),
clean = require('gulp-clean'),
concat = require('gulp-concat'),
csso = require('gulp-csso'),
debug = require('gulp-debug'),
footer = require('gulp-footer'),
gutil = require('gulp-util'),
gzip = require('gulp-gzip'),
@OverZealous
OverZealous / npm list
Created January 9, 2014 04:33
NPM results for gulp-less issue #16
[email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]