Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9b950319c2
Fetching contributors…

Cannot retrieve contributors at this time

executable file 8 lines (6 sloc) 0.181 kb
#!/usr/bin/ruby
require 'webrick'
server = WEBrick::HTTPServer.new :Port => 1234
server.mount "/", WEBrick::HTTPServlet::FileHandler, './'
trap('INT') { server.stop }
server.start
Jump to Line
Something went wrong with that request. Please try again.