Skip to content

Instantly share code, notes, and snippets.

@themorgantown
Last active December 2, 2020 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save themorgantown/1aa9b7182e26043b849cb7e281e91bf2 to your computer and use it in GitHub Desktop.
Save themorgantown/1aa9b7182e26043b849cb7e281e91bf2 to your computer and use it in GitHub Desktop.
# quick server for something in a folder called 'document' on your desktop.
# If your computer's hostname is 'Zappa' it will load http://zappa.local
myhost=`hostname` && cd ~/Desktop/document && open http://$myhost && python -m SimpleHTTPServer 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment