Skip to content

Instantly share code, notes, and snippets.

View syabro's full-sized avatar

Maxim Syabro syabro

View GitHub Profile
@plentz
plentz / nginx.conf
Last active March 3, 2026 06:56
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@willurd
willurd / web-servers.md
Last active March 9, 2026 23:37
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