mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
godoc, gunicorn, ss, uuid, qm, git-standup, aplay, shiori: remove placeholders (#22761)
This commit is contained in:
@@ -6,15 +6,15 @@
|
||||
|
||||
- Show a given author's commits from the last 10 days:
|
||||
|
||||
`git standup -a {{name|email}} -d {{10}}`
|
||||
`git standup -a {{name|email}} -d 10`
|
||||
|
||||
- Show a given author's commits from the last 10 days and whether they are GPG signed:
|
||||
|
||||
`git standup -a {{name|email}} -d {{10}} -g`
|
||||
`git standup -a {{name|email}} -d 10 -g`
|
||||
|
||||
- Show all the commits from all contributors for the last 10 days:
|
||||
|
||||
`git standup -a all -d {{10}}`
|
||||
`git standup -a all -d 10`
|
||||
|
||||
- Display help:
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
- Serve documentation as a web server on port 6060:
|
||||
|
||||
`godoc -http=:{{6060}}`
|
||||
`godoc -http=:6060`
|
||||
|
||||
- Create an index file:
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
- Listen on port 8080 on localhost:
|
||||
|
||||
`gunicorn {{[-b|--bind]}} {{localhost}}:{{8080}} {{import.path:app_object}}`
|
||||
`gunicorn {{[-b|--bind]}} localhost:8080 {{import.path:app_object}}`
|
||||
|
||||
- Turn on live reload:
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
|
||||
- Use 4 worker processes for handling requests:
|
||||
|
||||
`gunicorn {{[-w|--workers]}} {{4}} {{import.path:app_object}}`
|
||||
`gunicorn {{[-w|--workers]}} 4 {{import.path:app_object}}`
|
||||
|
||||
- Use 4 worker threads for handling requests:
|
||||
|
||||
`gunicorn --threads {{4}} {{import.path:app_object}}`
|
||||
`gunicorn --threads 4 {{import.path:app_object}}`
|
||||
|
||||
- Run app over HTTPS:
|
||||
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
- Start the web interface for managing bookmarks at port 8181:
|
||||
|
||||
`shiori serve --port {{8181}}`
|
||||
`shiori serve --port 8181`
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
- Play the first 10 seconds of a specific file at 2500 Hz:
|
||||
|
||||
`aplay {{[-d|--duration]}} {{10}} {{[-r|--rate]}} {{2500}} {{path/to/file}}`
|
||||
`aplay {{[-d|--duration]}} 10 {{[-r|--rate]}} 2500 {{path/to/file}}`
|
||||
|
||||
- Play the raw file as a 22050 Hz, mono, 8-bit, Mu-Law `.au` file:
|
||||
|
||||
`aplay {{[-c|--channels]}} {{1}} {{[-t|--file-type]}} {{raw}} {{[-r|--rate]}} {{22050}} {{[-f|--format]}} {{mu_law}} {{path/to/file}}`
|
||||
`aplay {{[-c|--channels]}} 1 {{[-t|--file-type]}} raw {{[-r|--rate]}} 22050 {{[-f|--format]}} mu_law {{path/to/file}}`
|
||||
|
||||
- List available audio devices:
|
||||
|
||||
|
||||
+2
-2
@@ -8,9 +8,9 @@
|
||||
|
||||
`qm list`
|
||||
|
||||
- Create a virtual machine with a 4 GB SCSI disk on the `local-lvm` storage and an ID of 100 using an ISO file uploaded on the local storage:
|
||||
- Create a virtual machine with a 4 GB SCSI disk on the `local-lvm` storage and an ID of 100 using an ISO file uploaded on the `local` storage:
|
||||
|
||||
`qm {{[cr|create]}} {{100}} --scsi0 {{local-lvm:4}} --net0 {{e1000}} --cdrom {{local:iso/proxmox-mailgateway_2.1.iso}}`
|
||||
`qm {{[cr|create]}} 100 --scsi0 local-lvm:4 --net0 {{e1000}} --cdrom local:{{iso/proxmox-mailgateway_2.1.iso}}`
|
||||
|
||||
- Show the configuration of a virtual machine, specifying its ID:
|
||||
|
||||
|
||||
+4
-4
@@ -13,15 +13,15 @@
|
||||
|
||||
- Show all TCP sockets connected to the local HTTPS port (443):
|
||||
|
||||
`ss {{[-t|--tcp]}} src :{{443}}`
|
||||
`ss {{[-t|--tcp]}} src :443`
|
||||
|
||||
- Show all TCP sockets listening on the local 8080 port:
|
||||
|
||||
`ss {{[-lt|--listening --tcp]}} src :{{8080}}`
|
||||
`ss {{[-lt|--listening --tcp]}} src :8080`
|
||||
|
||||
- Show all TCP sockets along with processes connected to a remote SSH port:
|
||||
|
||||
`ss {{[-pt|--processes --tcp]}} dst :{{ssh}}`
|
||||
`ss {{[-pt|--processes --tcp]}} dst :ssh`
|
||||
|
||||
- Show all UDP sockets connected on specific source and destination ports:
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
- Show all TCP IPv4 sockets locally connected on the subnet 192.168.0.0/16:
|
||||
|
||||
`ss {{[-4t|--ipv4 --tcp]}} src {{192.168/16}}`
|
||||
`ss {{[-4t|--ipv4 --tcp]}} src 192.168/16`
|
||||
|
||||
- Kill IPv4 or IPv6 Socket Connection with a specific destination IP and port:
|
||||
|
||||
|
||||
+5
-5
@@ -10,23 +10,23 @@
|
||||
|
||||
- Generate a UUIDv4 (based on random data):
|
||||
|
||||
`uuid -v {{4}}`
|
||||
`uuid -v 4`
|
||||
|
||||
- Generate multiple UUIDv4 identifiers at once:
|
||||
|
||||
`uuid -v {{4}} -n {{number_of_uuids}}`
|
||||
`uuid -v 4 -n {{number_of_uuids}}`
|
||||
|
||||
- Generate a UUIDv4 and specify the output format:
|
||||
|
||||
`uuid -v {{4}} -F {{BIN|STR|SIV}}`
|
||||
`uuid -v 4 -F {{BIN|STR|SIV}}`
|
||||
|
||||
- Generate a UUIDv4 and write the output to a file:
|
||||
|
||||
`uuid -v {{4}} -o {{path/to/file}}`
|
||||
`uuid -v 4 -o {{path/to/file}}`
|
||||
|
||||
- Generate a UUIDv5 (based on the supplied object name) with a specified namespace prefix:
|
||||
|
||||
`uuid -v {{5}} ns:{{DNS|URL|OID|X500}} {{object_name}}`
|
||||
`uuid -v 5 ns:{{DNS|URL|OID|X500}} {{object_name}}`
|
||||
|
||||
- Decode a given UUID:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user