Skip to content

Instantly share code, notes, and snippets.

@paulmars
Created March 25, 2013 19:18
Show Gist options
  • Select an option

  • Save paulmars/5239813 to your computer and use it in GitHub Desktop.

Select an option

Save paulmars/5239813 to your computer and use it in GitHub Desktop.
Start a server `server 8080`
# add this to your shell
server() {
open "http://localhost:${1}" && python -m SimpleHTTPServer $1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment