diff --git a/tldr/az-quantum b/tldr/az-quantum new file mode 100644 index 00000000..f4e8cfa6 --- /dev/null +++ b/tldr/az-quantum @@ -0,0 +1,41 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# az quantum + +> Manage Azure Quantum workspaces and submit quantum jobs to providers (preview, requires quantum extension). +> More information: . + +- Create a new Azure Quantum workspace: + +`az quantum workspace create {{[-g|--resource-group]}} {{ResourceGroup}} {{[-l|--location]}} {{Location}} {{[-w|--workspace-name]}} {{Workspace}} {{[-a|--storage-account]}} {{MyStorageAccountName}}` + +- List all Azure Quantum workspaces: + +`az quantum workspace list` + +- Set a default Azure Quantum workspace: + +`az quantum workspace set {{[-g|--resource-group]}} {{ResourceGroup}} {{[-w|--workspace-name]}} {{Workspace}}` + +- Submit a QIR quantum job to a target: + +`az quantum job submit {{[-g|--resource-group]}} {{ResourceGroup}} {{[-w|--workspace-name]}} {{Workspace}} {{[-l|--location]}} {{Location}} {{[-t|--target-id]}} {{Id}} --job-name {{Job}} --job-input-file {{QirBitcode.bc}} --job-input-format {{qir.v1}}` + +- List all jobs in a Quantum Workspace: + +`az quantum job list {{[-g|--resource-group]}} {{ResourceGroup}} {{[-l|--location]}} {{Location}} {{[-w|--workspace-name]}} {{Workspace}}` + +- Get the output of a quantum job: + +`az quantum job output {{[-g|--resource-group]}} {{ResourceGroup}} {{[-w|--workspace-name]}} {{Workspace}} --job-id {{Job}}` + +- List available provider offerings in a location: + +`az quantum offerings list {{[-l|--location]}} {{Location}}` + +- Set a default target for job submissions: + +`az quantum target set {{[-t|--target-id]}} {{Id}}` diff --git a/tldr/linux/pokego b/tldr/linux/pokego new file mode 100644 index 00000000..a7b0f724 --- /dev/null +++ b/tldr/linux/pokego @@ -0,0 +1,30 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# pokego + +> Displays Pokémon sprites in color directly in your terminal. +> Inspired by Phoney badger's `pokemon-colorscripts` but offers enhanced speed and efficiency. +> More information: . + +- Print a specific Pokémon: + +`pokego --name charizard` + +- Print a specific shiny Pokémon: + +`pokego --name spheal -shiny` + +- Print an alternative form of a Pokémon: + +`pokego --name blastoise --form mega` + +- Print random Pokémon from generations 1-3 (range): + +`pokego --random 1-3` + +- Do not display Pokémon name (default: false): + +`pokego --random 1-3 --no-title` diff --git a/tldr/ludusavi b/tldr/ludusavi new file mode 100644 index 00000000..f0bc6bf1 --- /dev/null +++ b/tldr/ludusavi @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# ludusavi + +> Backup video game save data. +> More information: . + +- Backup games: + +`ludusavi backup --path {{path/to/backup}}` + +- Restore games: + +`ludusavi restore --path {{path/to/backup}} {{"game1" "game2" ...}}` + +- List backups: + +`ludusavi backups --path {{path/to/backup}}` + +- Wrap launcher game: + +`ludusavi wrap --gui --infer {{heroic|lutris|steam}} -- {{game_launch_commands}}` + +- Wrap standalone game: + +`ludusavi wrap --gui --name {{name}} -- {{game_launch_commands}}` diff --git a/tldr/npm-config b/tldr/npm-config index 0b8cfbdd..f91f7625 100644 --- a/tldr/npm-config +++ b/tldr/npm-config @@ -22,7 +22,7 @@ source: https://github.com/tldr-pages/tldr.git - Set a configuration key to a specific value: -`npm config set {{key}}={{value}}` +`npm config set {{key}} {{value}}` - Delete a configuration key: diff --git a/tldr/npm-star b/tldr/npm-star index d4db3973..4e74459c 100644 --- a/tldr/npm-star +++ b/tldr/npm-star @@ -18,19 +18,19 @@ source: https://github.com/tldr-pages/tldr.git - Star a package from a specific registry: -`npm star {{package_name}} --registry={{registry_url}}` +`npm star {{package_name}} --registry {{registry_url}}` - Star a private package that requires authentication: -`npm star {{package_name}} --auth-type={{legacy|oauth|web|saml}}` +`npm star {{package_name}} --auth-type {{legacy|oauth|web|saml}}` - Star a package by providing an OTP for two-factor authentication: -`npm star {{package_name}} --otp={{otp}}` +`npm star {{package_name}} --otp {{otp}}` - Star a package with detailed logging: -`npm star {{package_name}} --loglevel=verbose` +`npm star {{package_name}} --loglevel verbose` - List all your starred packages: @@ -38,4 +38,4 @@ source: https://github.com/tldr-pages/tldr.git - List your starred packages from a specific registry: -`npm star --list --registry={{registry_url}}` +`npm star --list --registry {{registry_url}}` diff --git a/tldr/npm-unstar b/tldr/npm-unstar index bbdbecde..3af72f78 100644 --- a/tldr/npm-unstar +++ b/tldr/npm-unstar @@ -18,16 +18,16 @@ source: https://github.com/tldr-pages/tldr.git - Unstar a package from a specific registry: -`npm unstar {{package_name}} --registry={{registry_url}}` +`npm unstar {{package_name}} --registry {{registry_url}}` - Unstar a private package that requires authentication: -`npm unstar {{package_name}} --auth-type={{legacy|oauth|web|saml}}` +`npm unstar {{package_name}} --auth-type {{legacy|oauth|web|saml}}` - Unstar a package by providing an OTP for two-factor authentication: -`npm unstar {{package_name}} --otp={{otp}}` +`npm unstar {{package_name}} --otp {{otp}}` - Unstar a package with a specific logging level: -`npm unstar {{package_name}} --loglevel={{silent|error|warn|notice|http|timing|info|verbose|silly}}` +`npm unstar {{package_name}} --loglevel {{silent|error|warn|notice|http|timing|info|verbose|silly}}` diff --git a/tldr/npm-whoami b/tldr/npm-whoami index 2f9954a4..48adef4e 100644 --- a/tldr/npm-whoami +++ b/tldr/npm-whoami @@ -14,4 +14,4 @@ source: https://github.com/tldr-pages/tldr.git - Display username of the current user in the specific registry: -`npm whoami --registry={{registry_url}}` +`npm whoami --registry {{registry_url}}` diff --git a/tldr/paste b/tldr/paste index 16a6e4fd..f01ec098 100644 --- a/tldr/paste +++ b/tldr/paste @@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git - Join all the lines into a single line, using the specified delimiter: -`paste {{[-s|--serial]}} {{[-d|--delimiters]}} {{delimiter}} {{path/to/file}}` +`paste {{[-sd|--serial --delimiters]}} {{delimiter}} {{path/to/file}}` - Merge two files side by side, each in its column, using TAB as delimiter: diff --git a/tldr/zip b/tldr/zip index 3353bfe3..e51ebb1e 100644 --- a/tldr/zip +++ b/tldr/zip @@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git - Archive files/directories excluding specified ones: -`zip {{[-r|--recurse-paths]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{-x|--exclude}} {{path/to/excluded_files_or_directories}}` +`zip {{[-r|--recurse-paths]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}} {{[-x|--exclude]}} {{path/to/excluded_files_or_directories}}` - Archive files/directories with a specific compression level (`0` - the lowest, `9` - the highest): @@ -27,11 +27,11 @@ source: https://github.com/tldr-pages/tldr.git - Create an encrypted archive with a specific password: -`zip {{[-r|--recurse-paths]}} {{[-e|--encrypt]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` +`zip {{[-re|--recurse-paths --encrypt]}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` - Archive files/directories to a multi-part split Zip archive (e.g. 3 GB parts): -`zip {{[-r|--recurse-paths]}} {{[-s|--split-size]}} {{3g}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` +`zip {{[-rs|--recurse-paths --split-size]}} {{3g}} {{path/to/compressed.zip}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` - Print a specific archive contents: