Skip to content

Instantly share code, notes, and snippets.

@stevenwilkin
Last active August 4, 2017 09:24
Show Gist options
  • Save stevenwilkin/5ab871856d2464a23a203b1a9390e96d to your computer and use it in GitHub Desktop.
Save stevenwilkin/5ab871856d2464a23a203b1a9390e96d to your computer and use it in GitHub Desktop.

Revisions

  1. stevenwilkin revised this gist Aug 4, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions ruby_run_httpd.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ruby -run -e httpd . -p 5000
  2. stevenwilkin renamed this gist Aug 4, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. stevenwilkin created this gist Aug 4, 2017.
    1 change: 1 addition & 0 deletions webrick_oneliner.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    ruby -rwebrick -e "WEBrick::HTTPServer.new(:Port => ENV['PORT'], :DocumentRoot => ENV['HOME']).start"