Skip to content

Instantly share code, notes, and snippets.

View jayperryworks's full-sized avatar

Jay Perry jayperryworks

View GitHub Profile
@jayperryworks
jayperryworks / gulpfile.js
Last active August 29, 2015 14:11
Create SVG sprites with Gulp, using gulp-svgstore
"use strict";
var gulp = require("gulp");
// useful file paths
var icons = {
src : "source/assets/images/icons",
dest : "source/assets/images"
};
@jayperryworks
jayperryworks / gulpfile.js
Last active August 29, 2015 14:10
gulpfile for sass processing/compression
'use strict';
var gulp = require('gulp');
// load plugins
var $ = require('gulp-load-plugins')();
// minifyCSS = require('gulp-minify-css');
// useful file paths
var path = {
@jayperryworks
jayperryworks / .editorconfig
Last active August 29, 2015 14:10
Bivee's default .editorconfig setup -- thanks to to editorconfig.org
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
# Change these settings to your own preference
@jayperryworks
jayperryworks / middleman.config.rb
Last active November 20, 2016 20:34
Middleman config file (basic setup including Bower)
# https://github.com/middleman/middleman/issues/841
# https://github.com/middleman/middleman-minify-html
###
# Compass
###
# Change Compass configuration
# compass_config do |config|
# config.output_style = :compact
@jayperryworks
jayperryworks / gulpfile.js.metalsmith
Created July 7, 2014 13:17
Gulpfile for metalsmith/gulp-based prototyping workflow
"use strict";
// based on generator-gulp-webapp 0.1.0
// manually require modules that won"t get picked up by gulp-load-plugins
var gulp = require("gulp");
// load plugins
var $ = require("gulp-load-plugins")();
// local server port
@jayperryworks
jayperryworks / gulpfile.js.jekyll
Last active August 29, 2015 14:03
gulpfile for jekyll (compiled)
'use strict';
// based on generator-gulp-webapp 0.1.0
var gulp = require('gulp');
// var connect = require('gulp-connect');
// local server port
var SERVE_PORT = 4000;
// tell me what the error is!
@jayperryworks
jayperryworks / gulpfile.js.jekyll-uncompiled
Last active August 29, 2015 14:02
gulpfile for jekyll (github pages, uncompiled version)
'use strict';
// generated on 2014-05-21 using generator-gulp-webapp 0.1.0
var gulp = require('gulp');
// useful file paths
var path = {
app: 'app',
dist: 'dist',
bower: '_bower_components',