Eclipse RCP
20.09.2010 - 24.09.2010, Hamburg
git
07.10.2010 - 08.10.2010, Essen
21.10.2009

www_here

Add this to your ~/.profile to start a tiny web server serving the current directory:

function www_here {
    python -c 'import SimpleHTTPServer,SocketServer;PORT=1234;httpd = SocketServer.TCPServer(("", PORT),SimpleHTTPServer.SimpleHTTPRequestHandler); print "serving at port", PORT; httpd.serve_forever()'
}

(thanks to Anatol from hypnocode)

ThomasK, 12. Mai, 13:10 Uhr

$ python -m SimpleHTTPServer

:)

I'm looking forward to your comments:

Schulungen

Tools

Ralf Ebert | Blog | Tools | www_here