Skip to content

Instantly share code, notes, and snippets.

@shmdt
Created January 2, 2019 08:13
Show Gist options
  • Save shmdt/198670477d699a5862c2a1bbe8cdaa43 to your computer and use it in GitHub Desktop.
Save shmdt/198670477d699a5862c2a1bbe8cdaa43 to your computer and use it in GitHub Desktop.

Revisions

  1. shmdt created this gist Jan 2, 2019.
    4 changes: 4 additions & 0 deletions server.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    python -m SimpleHTTPServer 5000

    # Thank you, Benjamin Oakes
    # http://www.benjaminoakes.com/2013/09/13/ruby-simple-http-server-minimalist-rake/
    4 changes: 4 additions & 0 deletions server.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    ruby -run -e httpd . -p 5000

    # Thank you, Benjamin Oakes
    # http://www.benjaminoakes.com/2013/09/13/ruby-simple-http-server-minimalist-rake/