This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var _ = require('underscore'); | |
var $ = require('jquery'); | |
var global = global || window, doc = global.document, nav = global.navigator; | |
/** | |
* Function returns curried function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var fs = require('fs'); | |
var path = require('path'); | |
var _ = require('underscore'); | |
var concat = require('concat-stream'); | |
var csv = require('csv'); | |
var GeoJSON = require('geojson'); | |
var iconv = require('iconv'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node --harmony | |
var fs = require('fs'); | |
var path = require('path'); | |
var browserify = require('browserify'); | |
var f = fs.statSync(process.argv[2]).isFile() ? path.resolve(process.argv[2]) : ''; | |
browserify({ debug: true }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CWD=$(pwd) | |
function ctrl_c () { | |
#pgrep -f mongod && pkill mongod | |
pgrep -f mysql && mysql.server stop | |
cd ${CWD} | |
unset CWD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Vendor prefix polyfill for HTML 5 APIs | |
*/ | |
(function (w, d, n) { | |
/* jshint maxcomplexity: false */ | |
'use strict'; | |
/** | |
* Blob |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"coffeescript_error": { | |
"level": "error" | |
}, | |
"arrow_spacing": { | |
"name": "arrow_spacing", | |
"level": "ignore" | |
}, | |
"no_tabs": { | |
"name": "no_tabs", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"bitwise": false, | |
"camelcase": false, | |
"curly": false, | |
"eqeqeq": true, | |
"es3": false, | |
"es5": false, | |
"esnext": true, | |
"forin": false, | |
"freeze": false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (grunt) -> | |
grunt.initConfig | |
sprite: | |
common: | |
files: | |
'assets/img': 'assets/img/common/*.*' | |
options: | |
name: 'common' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* calc - Some calculation utilities | |
* | |
* Copyright 2014 Yu Inao under the terms of the Unlicense | |
* license found at http://unlicense.org/ | |
*/ | |
(function (root, factory) { | |
/* global define, exports, require */ | |
'use strict'; |