Skip to content

Instantly share code, notes, and snippets.

@empr
Created December 8, 2012 05:51
Show Gist options
  • Save empr/4238835 to your computer and use it in GitHub Desktop.
Save empr/4238835 to your computer and use it in GitHub Desktop.
http server one-liner
# python
python -m SimpleHTTPServer
# ruby
ruby -rwebrick -e "WEBrick::HTTPServer.new(:DocumentRoot => Dir.pwd, :Port => 3000).start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment