Starting an HTTP server from any folder in OS X

bash

One liner to start an HTTP server from any folder in OS X.

From a gist - lots of interesting related tricks in the comments.

alias server='open http://localhost:8000 && python -m SimpleHTTPServer'

/via Jeffrey Way