Quick Ways to Create a Local Static Dev HTTP Server

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

Docs

 curl lama.sh | sh

Python

Python 2 docs

python -m SimpleHTTPServer 8000

Python 3 docs

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).