Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View caulagi's full-sized avatar
🎧
A different error message! Finally some progress!

Pradip Caulagi caulagi

🎧
A different error message! Finally some progress!
View GitHub Profile
@willurd
willurd / web-servers.md
Last active April 23, 2024 04:35
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
# see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/
# core
brew install coreutils
# key commands
brew install binutils
brew install diffutils
brew install ed --default-names
brew install findutils --with-default-names