mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 23:47:30 +00:00
Update cheatsheets
This commit is contained in:
37
tldr/dbeaver
Executable file
37
tldr/dbeaver
Executable file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dbeaver
|
||||
|
||||
> A GUI SQL client supporting many databases.
|
||||
> More information: <https://dbeaver.com/docs/dbeaver/Command-Line/>.
|
||||
|
||||
- Open `DBeaver`:
|
||||
|
||||
`dbeaver`
|
||||
|
||||
- Open `DBeaver` connecting to a specific database:
|
||||
|
||||
`dbeaver {{[-con|--connect]}} {{database}}`
|
||||
|
||||
- Force the creation of a new instance:
|
||||
|
||||
`dbeaver --newInstance`
|
||||
|
||||
- Stop the running instance:
|
||||
|
||||
`dbeaver --quit`
|
||||
|
||||
- Close all tabs within dbeaver:
|
||||
|
||||
`dbeaver --closeTabs`
|
||||
|
||||
- Bring `DBeaver` to the top of applications:
|
||||
|
||||
`dbeaver --bringToFront`
|
||||
|
||||
- Display help:
|
||||
|
||||
`dbeaver --help`
|
||||
@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all repositories in a Docker registry:
|
||||
|
||||
`dockdiver -url {{http://target}} -list`
|
||||
`dockdiver -url {{https://example.com}} -list`
|
||||
|
||||
- Dump a specific repository to the default output directory (docker_dump):
|
||||
|
||||
`dockdiver -url {{http://target}} -dump {{repository_name}}`
|
||||
`dockdiver -url {{https://example.com}} -dump {{repository_name}}`
|
||||
|
||||
- Dump all repositories with basic authentication:
|
||||
|
||||
`dockdiver -url {{http://example.com}} -dump-all -username {{username}} -password {{password}}`
|
||||
`dockdiver -url {{https://example.com}} -dump-all -username {{username}} -password {{password}}`
|
||||
|
||||
- Dump a repository with a custom port and rate limit:
|
||||
- Dump a repository with a rate limit and a custom port (the default port is `5000`):
|
||||
|
||||
`dockdiver -url http://example.com -dump {{repository_name}} -port {{port}} -rate {{requests_per_second}} -dir {{path/to/output_directory}}`
|
||||
`dockdiver -url {{https://example.com}} -dump {{repository_name}} -port {{port}} -rate {{requests_per_second}} -dir {{path/to/output_directory}}`
|
||||
|
||||
- Dump all repositories with bearer token for authorization:
|
||||
|
||||
`dockdiver -url {{http://example.com}} -dump-all -bearer {{bearer_token}}`
|
||||
`dockdiver -url {{https://example.com}} -dump-all -bearer {{bearer_token}}`
|
||||
|
||||
- Add custom headers as JSON (e.g., '{"X-Custom": "Value"}'):
|
||||
|
||||
`dockdiver -url {{http://example.com}} -list -headers {{'{"X-Custom": "Value"}'}}`
|
||||
`dockdiver -url {{https://example.com}} -list -headers {{'{"X-Custom": "Value"}'}}`
|
||||
|
||||
@@ -8,9 +8,13 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> A micro-compositor used as a game layer.
|
||||
> More information: <https://github.com/ValveSoftware/gamescope>.
|
||||
|
||||
- Run a program with gamescope:
|
||||
- Run a program with gamescope on the terminal:
|
||||
|
||||
`gamescope -- {{command}}`
|
||||
`gamescope -- {{program}}`
|
||||
|
||||
- Run a game with gamescope through Steam:
|
||||
|
||||
`gamescope -- %command%`
|
||||
|
||||
- Upscale a 720p game to 1440p with integer scaling:
|
||||
|
||||
|
||||
@@ -29,6 +29,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`zoxide remove {{path/to/directory}}`
|
||||
|
||||
- Generate shell configuration for command aliases (`z`, `za`, `zi`, `zq`, `zr`):
|
||||
- Generate shell configuration for command aliases (`z`, `zi`):
|
||||
|
||||
`zoxide init {{bash|fish|zsh}}`
|
||||
`zoxide init {{bash|elvish|fish|nushell|posix|powershell|tcsh|xonsh|zsh}}`
|
||||
|
||||
Reference in New Issue
Block a user