mirror of https://github.com/CrimsonTome/tldr.git
pages/*: remove double spaces (#10379)
parent
9add941ec6
commit
f7458cbb0c
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
- Delete an image from a repository:
|
- Delete an image from a repository:
|
||||||
|
|
||||||
`aws ecr batch-delete-image --repository-name {{repository}} --image-ids imageTag={{latest}}`
|
`aws ecr batch-delete-image --repository-name {{repository}} --image-ids imageTag={{latest}}`
|
||||||
|
|
||||||
- Delete a repository:
|
- Delete a repository:
|
||||||
|
|
||||||
|
|
|
@ -21,4 +21,4 @@
|
||||||
|
|
||||||
- Test DNS resolving by Amazon servers of a given zone:
|
- Test DNS resolving by Amazon servers of a given zone:
|
||||||
|
|
||||||
`aws route53 test-dns-answer --hosted-zone-id {{zone_id}} --record-name {{name}} --record-type {{type}}`
|
`aws route53 test-dns-answer --hosted-zone-id {{zone_id}} --record-name {{name}} --record-type {{type}}`
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
- Create a coprocess which repeatedly reads `stdin` and runs some commands on the input:
|
- Create a coprocess which repeatedly reads `stdin` and runs some commands on the input:
|
||||||
|
|
||||||
`coproc {{name}} { while read line; do {{command1; command2; ...}}; done }`
|
`coproc {{name}} { while read line; do {{command1; command2; ...}}; done }`
|
||||||
|
|
||||||
- Create and use a coprocess running `bc`:
|
- Create and use a coprocess running `bc`:
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# cs install
|
# cs install
|
||||||
|
|
||||||
> Install an application in the installation directory onfigured when installing `cs` (to enable the binary to be loaded add to your `.bash_profile` the `$ eval "$(cs install --env)"` command).
|
> Install an application in the installation directory onfigured when installing `cs` (to enable the binary to be loaded add to your `.bash_profile` the `$ eval "$(cs install --env)"` command).
|
||||||
> More information: <https://get-coursier.io/docs/cli-install>.
|
> More information: <https://get-coursier.io/docs/cli-install>.
|
||||||
|
|
||||||
- Install a specific application:
|
- Install a specific application:
|
||||||
|
|
|
@ -13,4 +13,4 @@
|
||||||
|
|
||||||
- Change a key's password inside a specific keystore:
|
- Change a key's password inside a specific keystore:
|
||||||
|
|
||||||
`keytool -keypasswd -alias {{key_name}} -keystore {{path/to/file.keystore}}`
|
`keytool -keypasswd -alias {{key_name}} -keystore {{path/to/file.keystore}}`
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
|
|
||||||
- Generate an image from a specific source file:
|
- Generate an image from a specific source file:
|
||||||
|
|
||||||
`silicon {{path/to/source_file}} --output {{path/to/output_image}}`
|
`silicon {{path/to/source_file}} --output {{path/to/output_image}}`
|
||||||
|
|
||||||
- Generate an image from a source file with a specific programming language syntax highlighting (e.g. `rust`, `py`, `js`, etc.):
|
- Generate an image from a source file with a specific programming language syntax highlighting (e.g. `rust`, `py`, `js`, etc.):
|
||||||
|
|
||||||
`silicon {{path/to/source_file}} --output {{path/to/output_image}} --language {{language|extension}}`
|
`silicon {{path/to/source_file}} --output {{path/to/output_image}} --language {{language|extension}}`
|
||||||
|
|
||||||
- Generate an image from `stdin`:
|
- Generate an image from `stdin`:
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- Create a diskless live virtual machine without an emulated sound device or a USB controller. Don't start an installation and don't autoconnect to console but attach a cdrom to it (might be useful for when using a live CD like tails):
|
- Create a diskless live virtual machine without an emulated sound device or a USB controller. Don't start an installation and don't autoconnect to console but attach a cdrom to it (might be useful for when using a live CD like tails):
|
||||||
|
|
||||||
`virt-install --name {{vm_name}} --memory {{512}} --disk {{none}} --controller {{type=usb,model=none}} --sound {{none}} --autoconsole {{none}} --install {{no_install=yes}} --cdrom {{path/to/tails.iso}}`
|
`virt-install --name {{vm_name}} --memory {{512}} --disk {{none}} --controller {{type=usb,model=none}} --sound {{none}} --autoconsole {{none}} --install {{no_install=yes}} --cdrom {{path/to/tails.iso}}`
|
||||||
|
|
||||||
- Create a virtual machine with 16 GiB RAM, 250 GiB storage, 8 cores with hyperthreading, a specific CPU topology, and a CPU model that shares most features with the host CPU:
|
- Create a virtual machine with 16 GiB RAM, 250 GiB storage, 8 cores with hyperthreading, a specific CPU topology, and a CPU model that shares most features with the host CPU:
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
- Escape special XML characters from `stdin`:
|
- Escape special XML characters from `stdin`:
|
||||||
|
|
||||||
`echo "{{<a1>}}" | xml escape`
|
`echo "{{<a1>}}" | xml escape`
|
||||||
|
|
||||||
- Display help for the `escape` subcommand:
|
- Display help for the `escape` subcommand:
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
`xml select --template --match "{{XPATH1}}" --value-of "{{XPATH2}}" {{path/to/input.xml|URI}}`
|
`xml select --template --match "{{XPATH1}}" --value-of "{{XPATH2}}" {{path/to/input.xml|URI}}`
|
||||||
|
|
||||||
- Match "XPATH1" and print the value of "XPATH2" as text with new-lines:
|
- Match "XPATH1" and print the value of "XPATH2" as text with new-lines:
|
||||||
|
|
||||||
`xml select --text --template --match "{{XPATH1}}" --value-of "{{XPATH2}}" --nl {{path/to/input.xml|URI}}`
|
`xml select --text --template --match "{{XPATH1}}" --value-of "{{XPATH2}}" --nl {{path/to/input.xml|URI}}`
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
- Unescape special XML characters from `stdin`:
|
- Unescape special XML characters from `stdin`:
|
||||||
|
|
||||||
`echo "{{<a1>}}" | xml unescape`
|
`echo "{{<a1>}}" | xml unescape`
|
||||||
|
|
||||||
- Display help for the `unescape` subcommand:
|
- Display help for the `unescape` subcommand:
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
- Create a coprocess which repeatedly reads `stdin` and runs some commands on the input:
|
- Create a coprocess which repeatedly reads `stdin` and runs some commands on the input:
|
||||||
|
|
||||||
`coproc {{name}} { while read line; do {{command1; command2; ...}}; done }`
|
`coproc {{name}} { while read line; do {{command1; command2; ...}}; done }`
|
||||||
|
|
||||||
- Create a coprocess which repeatedly reads `stdin`, runs a pipeline on the input, and writes the output to `stdout`:
|
- Create a coprocess which repeatedly reads `stdin`, runs a pipeline on the input, and writes the output to `stdout`:
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
`qtile start`
|
`qtile start`
|
||||||
|
|
||||||
- Check the configuration file for any compilation errors (default location is `~/.config/qtile/config.py`):
|
- Check the configuration file for any compilation errors (default location is `~/.config/qtile/config.py`):
|
||||||
|
|
||||||
`qtile check`
|
`qtile check`
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
- Send data in JSON format, specifying the appropriate content-type header:
|
- Send data in JSON format, specifying the appropriate content-type header:
|
||||||
|
|
||||||
`Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}`
|
`Invoke-WebRequest -Body {{'{"name":"bob"}'}} -ContentType 'application/json' {{http://example.com/users/1234}}`
|
||||||
|
|
||||||
- Pass a username and password for server authentication:
|
- Pass a username and password for server authentication:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue