Skip to content

Instantly share code, notes, and snippets.

@garethredfern
Created August 11, 2012 16:51
Show Gist options
  • Save garethredfern/3325691 to your computer and use it in GitHub Desktop.
Save garethredfern/3325691 to your computer and use it in GitHub Desktop.
Alfred Extension Creates HTML Bolilerplate
cd ~/Desktop && mkdir {query} && cd {query}
#Begin with my templates
cp -R ~/Dropbox/Templates/html/ .
#Pull in jQuery
curl http://code.jquery.com/jquery.js > assets/js/libs/jquery.js
#Pull in Modernizr
curl https://raw.github.com/Modernizr/Modernizr/master/modernizr.js > assets/js/libs/modernizr.js
#Pull in Selectivizr
curl https://raw.github.com/keithclark/selectivizr/master/selectivizr.js > assets/js/libs/selectivizr.js
#Pull in DOMssistant
curl http://domassistant.googlecode.com/svn/trunk/DOMAssistantCompressed.js > assets/js/libs/domassistant.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment