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
// app.js - core application object extending broadway.App, overriding some of these methods. | |
var fs = require('fs'), | |
path = require('path'), | |
util = require('util'), | |
broadway = require('broadway'); | |
var App = exports.App = function (options) { | |
broadway.App.call(this, options); | |
}; |
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 util = require('util'); | |
var levels = [ | |
'error', | |
'warn', | |
'info', | |
'log', | |
'debug' | |
]; |
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 | |
# this script install itself (npm package), create a tasks/docs.js, install the docs' task dependencies, | |
# and run the gh-pages task. | |
# | |
# Install: | |
# | |
# curl https://raw.github.com/gist/1332036/70f8f3f9b85082569aff7f10773fc40e2fd7388d/bash | sh | |
# | |
# It'll generate documentation based on the likely location of |
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
fs = require 'fs' | |
path = require 'path' | |
{EventEmitter} = require 'events' | |
colors = require 'colors' | |
# ### Options | |
# Options are handled using coffeescript optparser, | |
# You can define the option with short and long flags, | |
# and it will be made available in the options object. |
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
<!doctype html> | |
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> |
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
* index: https://raw.github.com/mklabs/h5bp-build-script-tags/master/index.html | |
* result: https://raw.github.com/mklabs/h5bp-build-script-tags/master/intermediate/index.html |
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 npm = require('npm'); | |
// simple npm script to automatically uninstall globally installed package | |
// | |
// Usage: [sudo] node npm-clean.js | |
// Or, maybe: npm start | |
// | |
// edit protecteds array below to disable uninstall on these packages |
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 globalize = require('globalize'), | |
_ = require('underscore'), | |
eyes = require('eyes'), | |
conf = require('./conf')(module), | |
output = conf.get('path'), | |
formats = conf.get('format'), | |
defaults = formats.defaults; | |
var helpers = exports; |
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
node_modules | |
# folders used for testing | |
css | |
img | |
images | |
test |
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 | |
// | |
// small program/library to make creation of data URIs for web content quick and easy | |
// | |
// ./base64 ../path/to/some/file.png | pbcopy | |
// | |
// may ends up in a tool to embed data URIs in HTML/CSS files. | |
// | |
// inspired by https://github.com/nzakas/cssembed |