Skip to content

Instantly share code, notes, and snippets.

@Pekk4
Pekk4 / Django token auth backend
Created April 5, 2023 17:25 — forked from tetafro/Django token auth backend
Django token auth backend
Naming file
@Pekk4
Pekk4 / web-servers.md
Created September 30, 2023 16:55 — forked from willurd/web-servers.md
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