I hereby claim:
- I am knicklabs on github.
- I am knicklabs (https://keybase.io/knicklabs) on keybase.
- I have a public key ASAVeY725mOqR2XzUgey-cAqSEmGVarRj0XngC4-26Sv-wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| set -e | |
| GVERSION="1.9.2" | |
| GFILE="go$GVERSION.linux-amd64.tar.gz" | |
| GOPATH="$HOME/go" | |
| GOROOT="/usr/local/go" | |
| wget --no-verbose https://storage.googleapis.com/golang/$GFILE -O $TMPDIR/$GFILE |
| const maybe = (result) => { | |
| return { | |
| if(number) { | |
| return { | |
| divisibleBy(divisor) { | |
| return number % divisor === 0 && result; | |
| } | |
| } | |
| } | |
| } |
| const maybe = (result) => { | |
| return { | |
| if(number) { | |
| return { | |
| divisibleBy(divisor) { | |
| return number % divisor === 0 && result; | |
| } | |
| } | |
| } | |
| } |
| var gulp = require('gulp'); | |
| var fs = require('fs'); | |
| var plugins = require('gulp-load-plugins')(); | |
| var es = require('event-stream'); | |
| var del = require('del'); | |
| var historyApiFallback = require('connect-history-api-fallback'); | |
| var vendor = require('./vendor/manifest'); | |
| var paths = { |
| { | |
| "name": "project-name", | |
| "version": "1.0.0", | |
| "devDependencies": { | |
| "grunt": "~0.4.1", | |
| "grunt-contrib-concat": "~0.3.0", | |
| "grunt-contrib-uglify": "~0.2.2" | |
| } | |
| } |
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| concat: { | |
| options: { | |
| separator: ';' | |
| }, | |
| dist: { | |
| src: [ | |
| 'assets/js/_src/modernizr.js', |
| task :server do | |
| server = Process.spawn('jekyll serve --watch') | |
| compass = Process.spawn('compass watch') | |
| trap('INT') do | |
| [server, compass].each { |pid| Process.kill(9, pid) rescue Errno::ESRCH } | |
| exit 0 | |
| end | |
| [server, compass].each { |pid| Process.wait(pid) } |