Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-23 00:19:06 +00:00
parent 8ba6f7fc9e
commit 94c28849c9
382 changed files with 1183 additions and 1056 deletions

View File

@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
- Start an HTTP server on a specific port to serve a specific directory:
`http-server {{path/to/directory}} --port {{port}}`
`http-server {{path/to/directory}} {{[-p|--port]}} {{port}}`
- Start an HTTP server using basic authentication:
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
- Start an HTTPS server on the default port using the specified certificate:
`http-server --ssl --cert {{path/to/cert.pem}} --key {{path/to/key.pem}}`
`http-server {{[-S|--ssl]}} {{[-C|--cert]}} {{path/to/cert.pem}} {{[-K|--key]}} {{path/to/key.pem}}`
- Start an HTTP server and include the client's IP address in the output logging:
@@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git
- Start an HTTP server with logging disabled:
`http-server --silent`
`http-server {{[-s|--silent]}}`