Skip to content

Instantly share code, notes, and snippets.

Avatar

Stanislav Malyshev smalyshev

View GitHub Profile
@willurd
willurd / web-servers.md
Last active Nov 27, 2022
Big list of http static server one-liners
View web-servers.md

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
View tmux_cheatsheet.markdown

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: