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
var fs = require('fs'); | |
var path = require('path'); | |
var url = require('url'); | |
module.exports = function(directory, blacklist) { | |
if( directory === undefined ) { | |
throw new Error('You need to pass a location to work with'); | |
} | |
blacklist = blacklist || []; |
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
/* | |
* Less Middleware | |
* | |
* Captures requests for your production css and serves a compiled less bundle | |
* in its place. Less parser is pretty quick, no noticeable load times when | |
* parsing bootstrap & custom less on every request. Errors are printed to the | |
* console. | |
* | |
* Meant to be mounted to your css directory, eg: | |
* |
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
# Dependencies | |
fs = require('fs') | |
{_} = require('underscore') | |
path = require('path') | |
tmpl = require('handlebars-jst') | |
{log} = require('util') | |
growl = require('growl') | |
stitch = require('stitch') | |
uglify = require('uglify-js') |
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 | |
if [ "$1" = "-h" -o "$1" = "--help" ]; then cat <<EOF | |
Multi-Firefox Fixer - v0.2 - 4/26/2011 | |
http://benalman.com/ | |
Usage: `basename "$0"` | |
Run this shell script from beside (in the same parent directory as) one or more | |
Firefox*.app or Aurora*.app applications and it will "fix" those Firefoxes to |
NewerOlder