Skip to content

Instantly share code, notes, and snippets.

@OscarGodson
Created November 12, 2011 02:52
Show Gist options
  • Save OscarGodson/1359958 to your computer and use it in GitHub Desktop.
Save OscarGodson/1359958 to your computer and use it in GitHub Desktop.
Generates a base HTML project then opens it in sublime
function genproj {
mkdir $1
cd $1
mkdir js
mkdir css
mkdir images
touch index.html
echo -e "<!DOCTYPE html>\n<html>\n <head>\n <title>$2</title>\n </head>\n <body>\n \n </body>\n</html>" >> index.html
subl .
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment