Skip to content

Instantly share code, notes, and snippets.

@davidpaulsson
Created February 19, 2014 07:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidpaulsson/9087449 to your computer and use it in GitHub Desktop.
Save davidpaulsson/9087449 to your computer and use it in GitHub Desktop.
.bash_profile candy
# open a file in chrome
# usage: $ chrome index.html
function chrome() {
open $@ --args --allow-file-access-from-files
}
# start a server in your current folder
# usage: $ server
alias server='open http://localhost:8000 && python -m SimpleHTTPServer'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment