Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-13 00:20:06 +00:00
parent d902176714
commit baa1d2fe7e
4 changed files with 52 additions and 11 deletions

37
tldr/dbeaver Executable file
View 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`

View File

@@ -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"}'}}`

View File

@@ -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:

View File

@@ -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}}`