r/tinycode • u/nexe mod • Jun 30 '11
Tiny Ruby Webserver (<10 loc)
http://snippets.dzone.com/posts/show/5009
0
Upvotes
0
Jul 01 '11
[deleted]
1
u/nexe mod Jul 01 '11
this has been posted here http://www.reddit.com/r/tinycode/comments/idkry/python_simple_http_webserver_one_liner/
8
u/admax88 Jun 30 '11
I always think things like this are stupid. The actually webserver is tons of code, this is just a short launcher.
Look I made a 2 line shell!
#!/bin/bash
bash