Skip to content

Instantly share code, notes, and snippets.

@warmwaffles
Created February 12, 2014 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save warmwaffles/8958111 to your computer and use it in GitHub Desktop.
Save warmwaffles/8958111 to your computer and use it in GitHub Desktop.
#!/bin/bash
PORT=$1
${PORT:=8000}
python -m SimpleHTTPServer $PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment