From baa1d2fe7eea0f7a20738c5292d6c60ad8c053a7 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Tue, 13 May 2025 00:20:06 +0000 Subject: [PATCH] Update cheatsheets --- tldr/dbeaver | 37 +++++++++++++++++++++++++++++++++++++ tldr/dockdiver | 14 +++++++------- tldr/linux/gamescope | 8 ++++++-- tldr/zoxide | 4 ++-- 4 files changed, 52 insertions(+), 11 deletions(-) create mode 100755 tldr/dbeaver diff --git a/tldr/dbeaver b/tldr/dbeaver new file mode 100755 index 00000000..33792044 --- /dev/null +++ b/tldr/dbeaver @@ -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: . + +- 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` diff --git a/tldr/dockdiver b/tldr/dockdiver index 00d67125..0bfedbe7 100644 --- a/tldr/dockdiver +++ b/tldr/dockdiver @@ -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"}'}}` diff --git a/tldr/linux/gamescope b/tldr/linux/gamescope index 5bfe43d3..9f3dabf7 100644 --- a/tldr/linux/gamescope +++ b/tldr/linux/gamescope @@ -8,9 +8,13 @@ source: https://github.com/tldr-pages/tldr.git > A micro-compositor used as a game layer. > More information: . -- 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: diff --git a/tldr/zoxide b/tldr/zoxide index 7e87862b..e0e0cebb 100644 --- a/tldr/zoxide +++ b/tldr/zoxide @@ -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}}`