http://www.reddit.com/r/linux/comments/76p14/woof_simply_exchange_files/c05tpub
My Ruby version:
alias webshare='ruby -e "require\"webrick\";w=WEBrick::HTTPServer.new(:Port=>8000,:DocumentRoot=>Dir::pwd);Signal.trap(2){w.shutdown};w.start"'
And just go to the directory you want to share, use the 'webshare' command, and tell your friend(s) to go to http://<your-IP>:8000/