1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 23:26:00 +02:00

common*: refresh old pages part 10 (#16423)

This commit is contained in:
Managor 2025-05-09 20:39:26 +03:00 committed by GitHub
parent d983789a56
commit ae6dc84dac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 28 additions and 28 deletions

View file

@ -13,4 +13,4 @@
- Display help:
`doctl account --help`
`doctl account {{[-h|--help]}}`

View file

@ -21,4 +21,4 @@
- Show available commands:
`doctl auth --help`
`doctl auth {{[-h|--help]}}`

View file

@ -9,7 +9,7 @@
- Get the balance of an account associated with an access token:
`doctl balance get --access-token {{access_token}}`
`doctl balance get {{[-t|--access-token]}} {{access_token}}`
- Get the balance of an account associated with a specified context:

View file

@ -5,7 +5,7 @@
- Run a `doctl databases db` command with an access token:
`doctl databases db {{command}} --access-token {{access_token}}`
`doctl databases db {{command}} {{[-t|--access-token]}} {{access_token}}`
- Retrieve the name of the given database hosted in the given database cluster:

View file

@ -5,7 +5,7 @@
- Run a `doctl databases firewalls` command with an access token:
`doctl databases firewalls {{command}} --access-token {{access_token}}`
`doctl databases firewalls {{command}} {{[-t|--access-token]}} {{access_token}}`
- Retrieve a list of firewall rules for a given database:

View file

@ -5,7 +5,7 @@
- Run a `doctl databases maintenance-window` command with an access token:
`doctl databases maintenance-window {{command}} --access-token {{access_token}}`
`doctl databases maintenance-window {{command}} {{[-t|--access-token]}} {{access_token}}`
- Retrieve details about a database cluster's maintenance windows:

View file

@ -5,7 +5,7 @@
- Run a `doctl databases options` command with an access token:
`doctl databases options {{command}} --access-token {{access_token}}`
`doctl databases options {{command}} {{[-t|--access-token]}} {{access_token}}`
- Retrieve a list of the available database engines:

View file

@ -5,7 +5,7 @@
- Run a `doctl databases pool` command with an access token:
`doctl databases pool {{command}} --access-token {{access_token}}`
`doctl databases pool {{command}} {{[-t|--access-token]}} {{access_token}}`
- Retrieve information about a database connection pool:

View file

@ -5,7 +5,7 @@
- Run a `doctl databases replica` command with an access token:
`doctl databases pool {{command}} --access-token {{access_token}}`
`doctl databases pool {{command}} {{[-t|--access-token]}} {{access_token}}`
- Retrieve information about a read-only database replica:

View file

@ -5,7 +5,7 @@
- Run a `doctl databases sql-mode` command with an access token:
`doctl databases sql-mode {{command}} --access-token {{access_token}}`
`doctl databases sql-mode {{command}} {{[-t|--access-token]}} {{access_token}}`
- Get a MySQL database cluster's SQL modes:

View file

@ -5,7 +5,7 @@
- Run a `doctl databases user` command with an access token:
`doctl databases user {{command}} --access-token {{access_token}}`
`doctl databases user {{command}} {{[-t|--access-token]}} {{access_token}}`
- Retrieve details about a database user:

View file

@ -5,7 +5,7 @@
- Run a `doctl databases` command with an access token:
`doctl databases {{command}} --access-token {{access_token}}`
`doctl databases {{command}} {{[-t|--access-token]}} {{access_token}}`
- Get details for a database cluster:

View file

@ -1,28 +1,28 @@
# handbrakecli
> Command-line interface to the HandBrake video conversion and DVD ripping tool.
> More information: <https://handbrake.fr/>.
> More information: <https://handbrake.fr/docs/en/latest/cli/command-line-reference.html>.
- Convert a video file to MKV (AAC 160kbit audio and x264 CRF20 video):
`handbrakecli --input {{input.avi}} --output {{output.mkv}} --encoder x264 --quality 20 --ab 160`
`handbrakecli {{[-i|--input]}} {{input.avi}} {{[-o|--output]}} {{output.mkv}} {{[-e|--encoder]}} x264 {{[-q|--quality]}} 20 {{[-B|--ab]}} 160`
- Resize a video file to 320x240:
`handbrakecli --input {{input.mp4}} --output {{output.mp4}} --width 320 --height 240`
`handbrakecli {{[-i|--input]}} {{input.mp4}} {{[-o|--output]}} {{output.mp4}} {{[-w|--width]}} 320 {{[-l|--height]}} 240`
- List available presets:
`handbrakecli --preset-list`
`handbrakecli {{[-z|--preset-list]}}`
- Convert an AVI video to MP4 using the Android preset:
`handbrakecli --preset="Android" --input {{input.ext}} --output {{output.mp4}}`
`handbrakecli {{[-Z|--preset]}} "Android" {{[-i|--input]}} {{input.ext}} {{[-o|--output]}} {{output.mp4}}`
- Print the content of a DVD, getting the CSS keys in the process:
`handbrakecli --input {{/dev/sr0}} --title 0`
`handbrakecli {{[-i|--input]}} {{/dev/sr0}} {{[-t|--title]}} 0`
- Rip the first track of a DVD in the specified device. Audiotracks and subtitle languages are specified as lists:
`handbrakecli --input {{/dev/sr0}} --title 1 --output {{out.mkv}} --format av_mkv --encoder x264 --subtitle {{1,4,5}} --audio {{1,2}} --aencoder copy --quality {{23}}`
`handbrakecli {{[-i|--input]}} {{/dev/sr0}} {{[-t|--title]}} 1 {{[-o|--output]}} {{out.mkv}} {{[-f|--format]}} av_mkv {{[-e|--encoder]}} x264 {{[-s|--subtitle]}} {{1,4,5}} {{[-a|--audio]}} {{1,2}} {{[-E|--aencoder]}} copy {{[-q|--quality]}} {{23}}`

View file

@ -5,7 +5,7 @@
- Combine labels equal in their high-order bits:
`ipaggmanip --prefix {{16}} {{path/to/file}}`
`ipaggmanip {{[-p|--prefix]}} {{16}} {{path/to/file}}`
- Remove labels with a count smaller than a given number of bytes and output a random sample of such labels:
@ -13,4 +13,4 @@
- Replace each label's count with 1 if it is non-zero:
`ipaggmanip --posterize {{path/to/file}}`
`ipaggmanip {{[-P|--posterize]}} {{path/to/file}}`

View file

@ -2,7 +2,7 @@
> Dex to Java decompiler.
> Produces Java source code from Android Dex and APK files.
> More information: <https://github.com/skylot/jadx>.
> More information: <https://github.com/skylot/jadx#usage>.
- Decompile a Dex file into a directory:
@ -10,4 +10,4 @@
- Decompile a Dex file into a specific directory:
`jadx --output-dir {{path/to/directory}} {{path/to/file}}`
`jadx {{[-d|--output-dir]}} {{path/to/directory}} {{path/to/file}}`

View file

@ -9,23 +9,23 @@
- Specify an output location for the dump:
`mongodump --out {{path/to/directory}}`
`mongodump {{[-o|--out]}} {{path/to/directory}}`
- Create a dump of a given database:
`mongodump --db {{database_name}}`
`mongodump {{[-d|--db]}} {{database_name}}`
- Create a dump of a given collection within a given database:
`mongodump --collection {{collection_name}} --db {{database_name}}`
`mongodump {{[-c|--collection]}} {{collection_name}} {{[-d|--db]}} {{database_name}}`
- Connect to a given host running on a given port, and create a dump:
`mongodump --host {{host}} --port {{port}}`
`mongodump {{[-h|--host]}} {{host}} --port {{port}}`
- Create a dump of a given database with a given username; user will be prompted for password:
`mongodump --username {{username}} {{database}} --password`
`mongodump {{[-u|--username]}} {{username}} {{database}} {{[-p|--password]}}`
- Create a dump from a specific instance; host, user, password and database will be defined in the connection string: