Skip to content

Instantly share code, notes, and snippets.

View zakmac's full-sized avatar

Zak MacDonald zakmac

View GitHub Profile
@zakmac
zakmac / Gulpfile.js
Created August 6, 2019 06:24 — forked from webdesserts/Gulpfile.js
Automatically reload your node.js app on file change with Gulp (https://github.com/wearefractal/gulp).
// NOTE: I previously suggested doing this through Grunt, but had plenty of problems with
// my set up. Grunt did some weird things with scope, and I ended up using nodemon. This
// setup is now using Gulp. It works exactly how I expect it to and is WAY more concise.
var gulp = require('gulp'),
spawn = require('child_process').spawn,
node;
/**
* $ gulp server
* description: launch the server. If there's a server already running, kill it.
@zakmac
zakmac / _lt-ie9-foundation-grid.scss
Last active August 29, 2015 14:23 — forked from hatefulcrawdad/ie8-grid-foundation-4.css
A SASS 3.2 compatible fix for the Foundation grid system in IE 7/8
@charset "UTF-8";
/**
IE 7/8 FIX FOR ZURB FOUNDATION 4 GRID
About: A SASS 3.2 compatible fix for the Foundation grid system in IE 7/8
Author: Zak MacDonald <http://github.com/zakmac>
Origin: https://gist.github.com/hatefulcrawdad/5068210
Fork: https://gist.github.com/zakmac/66f910ddfa3b5cc6b404