mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 22:02:25 +00:00
Update cheatsheets
This commit is contained in:
30
updog
Normal file
30
updog
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# updog
|
||||
|
||||
> A replacement for Python's SimpleHTTPServer.
|
||||
> It allows uploading and downloading via HTTP/S, can set ad hoc SSL certificates and use HTTP basic auth.
|
||||
> More information: <https://github.com/sc0tfree/updog>.
|
||||
|
||||
- Start a HTTP server for the current directory:
|
||||
|
||||
`updog`
|
||||
|
||||
- Start a HTTP server for a specified directory:
|
||||
|
||||
`updog --directory {{/path/to/directory}}`
|
||||
|
||||
- Start a HTTP server on a specified port:
|
||||
|
||||
`updog --port {{port}}`
|
||||
|
||||
- Start a HTTP server with a password (To log in, leave the username blank and enter the password in the password field):
|
||||
|
||||
`updog --password {{password}}`
|
||||
|
||||
- Enable transport encryption via SSL:
|
||||
|
||||
`updog --ssl`
|
||||
Reference in New Issue
Block a user