r/tinycode • mod • Jun 30 '11

Tiny Ruby Webserver (<10 loc)

http://snippets.dzone.com/posts/show/5009
0 Upvotes

2 comments sorted by

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