Starting a local simple http server (and Articles that I liked: May 2015)

Github pages are amazing. Best thing ever. Well, second best thing after git, anyway.

More and more javascript work that I do (such as creating slide deck using remark, for example), less and less I need heavy dependency on servers, but I just need to serve up markup and javascript. In the past I have used Mac installed Apache or MAMP type solution, but that is even much more than I need. Then I came across Python 2’s SimpleHTTPServer. Mac OS (at least ones on my machines) comes with it.

All you need to do is:

python -m SimpleHTTPServer 8088

then you can access http://localhost:8088. Nice.

I am constantly running vagrant machines, so usually port 8080 is taken. Being able to specify port like that is actually really cool.

Also, I’ve been posting links that I liked at my tumblr blog. Here are few weeks worth of links:

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>