Skip to content

Instantly share code, notes, and snippets.

@kaplas
Last active December 5, 2015 17:48
Show Gist options
  • Save kaplas/d89f7bea120a86c08df4 to your computer and use it in GitHub Desktop.
Save kaplas/d89f7bea120a86c08df4 to your computer and use it in GitHub Desktop.
Bootstrap an empty directory easily with web tech assets

Bootstrap an empty directory easily with web tech assets

This is a collection of some aliases that I regularly use to bootstrap an empty directory for web app development.

# Copy HTML5 Boilerplate contents to the current directory
alias html5bp="curl https://codeload.github.com/h5bp/html5-boilerplate/tar.gz/master | tar --strip-components=1 -xz"
# Copy HTML5 Mobile Boilerplate contents to the current directory
alias html5mbp="curl https://codeload.github.com/h5bp/mobile-boilerplate/tar.gz/master | tar --strip-components=1 -xz"
# Initialize a Sublime Text project file to the current directory
alias subl-project="echo '{ \"folders\": [ { \"path\": \".\" } ] }' > \"$(basename $(pwd)).sublime-project\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment