Sometimes you just want to create a quick http server locally to serve up some content. Here are a few quick one liners I have used.
Lama.sh
curl lama.sh | sh
Python
python -m SimpleHTTPServer 8000
python3 -m http.server
More
Here are some more (note: original article has not been updated since 2013. There are more entries in the comments).