Skip to content

Instantly share code, notes, and snippets.

View maurerbot's full-sized avatar

Adrian maurerbot

View GitHub Profile
@maurerbot
maurerbot / manifest_generator.sh
Last active December 10, 2015 20:18
HTML5 Manifest Generator and Watcher
#!/bin/bash
#This script watches your project folder and outputs a HTML5 Manifest to $OUT
#You may need to change the location of your depency scripts
#Dependencies: confess.js and phantomjs
#Usage: sh manigest_generator.sh <url> <dir>
#Author Adrian Maurer (https://github.com/adrianmaurer)
#Based on http://stackoverflow.com/questions/2972765/linux-script-that-monitors-file-changes-within-folders-like-autospec-does
#sh manifest_generator.sh $URL $DIR $OUT
anonymous
anonymous / manifest_generator.sh
Created January 8, 2013 20:31
HTML5 Manifest Generator and Watcher
#!/bin/bash
#This script watches your project folder ($DIR) and outputs a HTML5 Manifest to $OUT
#You may need to change the location of your depency scripts
#Dependencies: confess.js and phantomjs
#Author Adrian Maurer (https://github.com/adrianmaurer)
#Based on http://stackoverflow.com/questions/2972765/linux-script-that-monitors-file-changes-within-folders-like-autospec-does
#sh manifest_generator.sh $URL $DIR $OUT
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@eligrey
eligrey / object-watch.js
Created April 30, 2010 01:38
object.watch polyfill in ES5
/*
* object.watch polyfill
*
* 2012-04-03
*
* By Eli Grey, http://eligrey.com
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/