News for hackers. Stuff that matters.
Re:Nweb: a tiny, safe web server (static pages only) by eik3_de on Tuesday April 01, 2014 @02:37AM (#7506507)
the minimal Ruby equivalent would be

    ruby -run -ehttpd .
Here's a handy snippet for bashrc:

    function S {
      ruby -run -ehttpd . -p${1-8080}  # default to port 8080 unless given as parameter
    }

There are no comments on this comment yet.