Skip to content

Instantly share code, notes, and snippets.

@willurd
willurd / web-servers.md
Last active November 19, 2024 22:45
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@javisantana
javisantana / api.md
Last active December 22, 2015 03:49
this is a small API documentation template for your projects

Library or whatever title

Here what the library can do for other people

dead simple code example

API definition