Shell-fu

Published on .
alias webshare='python -c "import SimpleHTTPServer;\
SimpleHTTPServer.test()"'
Want to show something on your machine to someone over the web? Don’t copy it or upload it somewhere. Just run “webshare” and the current directory and everything beneath it will be served from a new web server listening on port 8000. When your pal is finished, hit control-c.

Awesome.

Gems like this can be found on the aptly named Shell-Fu.

David Verhasselt

Senior full-stack engineer with 5 years of experience building web applications for clients all over the world.

Interested in working together?

Find out what I can do for you or get in touch!

Like this? Sign up to get regular updates