Skip to content

Instantly share code, notes, and snippets.

View jlgarnier's full-sized avatar

Jean-Luc GARNIER jlgarnier

  • France
  • 13:21 (UTC +02:00)
View GitHub Profile
@willurd
willurd / web-servers.md
Last active September 19, 2024 12:43
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