mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
41
tldr/bk
Normal file
41
tldr/bk
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# bk
|
||||
|
||||
> Manage Buildkite builds, pipelines, and agents.
|
||||
> More information: <https://github.com/buildkite/cli#usage>.
|
||||
|
||||
- Configure the API token and organization:
|
||||
|
||||
`bk configure`
|
||||
|
||||
- Select an organization to use:
|
||||
|
||||
`bk use {{organization_slug}}`
|
||||
|
||||
- Initialize a `pipeline.yaml` file:
|
||||
|
||||
`bk init`
|
||||
|
||||
- List all pipelines in the current organization:
|
||||
|
||||
`bk pipeline list`
|
||||
|
||||
- Trigger a build for a pipeline:
|
||||
|
||||
`bk build create {{pipeline_slug}}`
|
||||
|
||||
- View the status of a specific build:
|
||||
|
||||
`bk build view {{build_number}}`
|
||||
|
||||
- List all agents in the current organization:
|
||||
|
||||
`bk agent list`
|
||||
|
||||
- Display help:
|
||||
|
||||
`bk {{[-h|--help]}}`
|
||||
2
tldr/cdk
2
tldr/cdk
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cdk
|
||||
|
||||
> A CLI for AWS Cloud Development Kit (CDK).
|
||||
> AWS Cloud Development Kit.
|
||||
> More information: <https://docs.aws.amazon.com/cdk/latest/guide/cli.html>.
|
||||
|
||||
- List the stacks in the app:
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dict
|
||||
|
||||
> Command line dictionary using the DICT protocol.
|
||||
> Dictionary that uses the DICT protocol.
|
||||
> More information: <https://manned.org/dict>.
|
||||
|
||||
- List available databases:
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# hive
|
||||
|
||||
> CLI tool for Apache Hive.
|
||||
> Tool for Apache Hive.
|
||||
> More information: <https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli>.
|
||||
|
||||
- Start a Hive interactive shell:
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# imgcat
|
||||
|
||||
> Display images on the command-line.
|
||||
> Display images.
|
||||
> Requires a compatible terminal such as iTerm2.
|
||||
> More information: <https://github.com/danielgatis/imgcat#usage>.
|
||||
|
||||
|
||||
10
tldr/immich
10
tldr/immich
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# immich
|
||||
|
||||
> Immich command-line interface (CLI) that allows you to perform certain actions.
|
||||
> Manage Immich servers.
|
||||
> See also: `immich-go`.
|
||||
> More information: <https://immich.app/docs/features/command-line-interface/>.
|
||||
|
||||
@@ -19,16 +19,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Upload a directory including subdirectories:
|
||||
|
||||
`immich upload --recursive {{path/to/directory}}`
|
||||
`immich upload {{[-r|--recursive]}} {{path/to/directory}}`
|
||||
|
||||
- Create an album based on a directory:
|
||||
|
||||
`immich upload --album-name "{{My summer holiday}}" --recursive {{path/to/directory}}`
|
||||
`immich upload {{[-r|--recursive]}} {{path/to/directory}} {{[-A|--album-name]}} "{{My summer holiday}}"`
|
||||
|
||||
- Skip assets matching a glob pattern:
|
||||
|
||||
`immich upload --ignore {{**/Raw/** **/*.tif}} --recursive {{path/to/directory}}`
|
||||
`immich upload {{[-r|--recursive]}} {{path/to/directory}} {{[-i|--ignore]}} {{**/Raw/** **/*.tif}}`
|
||||
|
||||
- Include hidden files:
|
||||
|
||||
`immich upload --include-hidden --recursive {{path/to/directory}}`
|
||||
`immich upload {{[-r|--recursive]}} {{path/to/directory}} {{[-H|--include-hidden]}}`
|
||||
|
||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# immich-go
|
||||
|
||||
> Immich-Go is an open-source tool designed to streamline uploading large photo collections to your self-hosted Immich server.
|
||||
> See also: `immich-cli`.
|
||||
> See also: `immich`.
|
||||
> More information: <https://github.com/simulot/immich-go>.
|
||||
|
||||
- Upload a Google Photos takeout file to Immich server:
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# kaggle competitions
|
||||
|
||||
> Manage Kaggle competitions from the command-line.
|
||||
> Manage Kaggle competitions.
|
||||
> More information: <https://github.com/Kaggle/kaggle-api/blob/main/docs/README.md#competitions>.
|
||||
|
||||
- List all competitions:
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# kaggle datasets
|
||||
|
||||
> Manage Kaggle datasets from command line.
|
||||
> Manage Kaggle datasets.
|
||||
> More information: <https://github.com/Kaggle/kaggle-api/blob/main/docs/README.md#datasets>.
|
||||
|
||||
- List all datasets owned by a user or organization:
|
||||
|
||||
33
tldr/kubectl-cp
Normal file
33
tldr/kubectl-cp
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# kubectl cp
|
||||
|
||||
> Copy files and directories between a local filesystem and a container in a pod.
|
||||
> More information: <https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/>.
|
||||
|
||||
- Copy a local file or directory to a pod:
|
||||
|
||||
`kubectl cp {{path/to/local_file}} {{pod_name}}:/{{path/to/file_in_pod}}`
|
||||
|
||||
- Copy a local file or directory to a pod in a specific namespace:
|
||||
|
||||
`kubectl cp {{path/to/local_file}} {{namespace}}/{{pod_name}}:/{{path/to/file_in_pod}}`
|
||||
|
||||
- Copy a file or directory from a pod to the local machine:
|
||||
|
||||
`kubectl cp {{namespace}}/{{pod_name}}:/{{path/to/file_in_pod}} {{path/to/local_file}}`
|
||||
|
||||
- Copy a file or directory to a specific container in a pod:
|
||||
|
||||
`kubectl cp {{path/to/local_file}} {{pod_name}}:/{{path/to/file_in_pod}} {{[-c|--container]}} {{container_name}}`
|
||||
|
||||
- Copy a file or directory to a pod without preserving ownership and permissions:
|
||||
|
||||
`kubectl cp {{path/to/local_file}} {{namespace}}/{{pod_name}}:/{{path/to/file_in_pod}} --no-preserve`
|
||||
|
||||
- Copy a local file or directory to a pod with retries on failure:
|
||||
|
||||
`kubectl cp {{path/to/local_file}} {{pod_name}}:/{{path/to/file_in_pod}} --retries {{3}}`
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# calcurse
|
||||
|
||||
> A text-based calendar and scheduling application for the command-line.
|
||||
> A text-based calendar and scheduling application.
|
||||
> More information: <https://github.com/lfos/calcurse/blob/pu/doc/calcurse.1.txt>.
|
||||
|
||||
- Start `calcurse` on interactive mode:
|
||||
|
||||
@@ -9,7 +9,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Commonly used to establish PPP (Point-to-Point Protocol) connections.
|
||||
> More information: <https://manned.org/chat>.
|
||||
|
||||
- Execute a chat script directly from the command line:
|
||||
- Execute a chat script directly:
|
||||
|
||||
`chat '{{expect_send_pairs}}'`
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# firewall-cmd
|
||||
|
||||
> The firewalld command-line client.
|
||||
> The firewalld client.
|
||||
> View and adapt the runtime or permanent firewall configuration state.
|
||||
> More information: <https://firewalld.org/documentation/man-pages/firewall-cmd>.
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pamac
|
||||
|
||||
> A command-line utility for the GUI package manager pamac.
|
||||
> Utility for the GUI package manager pamac.
|
||||
> If you can't see the AUR packages, enable it in `/etc/pamac.conf` or in the GUI.
|
||||
> More information: <https://wiki.manjaro.org/index.php/Pamac>.
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pkgctl
|
||||
|
||||
> Unified command-line frontend for Arch Linux devtools.
|
||||
> Unified frontend for Arch Linux devtools.
|
||||
> More information: <https://manned.org/pkgctl>.
|
||||
|
||||
- View documentation for authenticating `pkgctl` with services like GitLab:
|
||||
|
||||
42
tldr/minipro
Normal file
42
tldr/minipro
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# minipro
|
||||
|
||||
> Control Xgecu chip programmers (TL866A/CS, TL866II+, T48, T56).
|
||||
> Supports various chips including AVRs, PICs, microcontrollers, and memory chips.
|
||||
> More information: <https://manned.org/minipro>.
|
||||
|
||||
- List all supported devices:
|
||||
|
||||
`minipro {{[-l|--list]}}`
|
||||
|
||||
- Search for a specific device:
|
||||
|
||||
`minipro {{[-L|--search]}} {{device_name}}`
|
||||
|
||||
- Read chip ID:
|
||||
|
||||
`minipro {{[-p|--device]}} {{chip_name}} {{[-D|--read_id]}}`
|
||||
|
||||
- Read chip contents to a file:
|
||||
|
||||
`minipro {{[-p|--device]}} {{chip_name}} {{[-r|--read]}} {{path/to/output_file.bin}}`
|
||||
|
||||
- Write a file to chip:
|
||||
|
||||
`minipro {{[-p|--device]}} {{chip_name}} {{[-w|--write]}} {{path/to/input_file.bin}}`
|
||||
|
||||
- Verify chip contents against a file:
|
||||
|
||||
`minipro {{[-p|--device]}} {{chip_name}} {{[-m|--verify]}} {{path/to/file.bin}}`
|
||||
|
||||
- Erase a chip:
|
||||
|
||||
`minipro {{[-p|--device]}} {{chip_name}} {{[-E|--erase]}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`minipro {{[-h|--help]}}`
|
||||
33
tldr/nh
Normal file
33
tldr/nh
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# nh
|
||||
|
||||
> Modern helper utility tool for the Nix/Nixos ecosystem.
|
||||
> More information: <https://github.com/nix-community/nh#usage>.
|
||||
|
||||
- Search for a package in Nixpkgs, limiting results:
|
||||
|
||||
`nh search {{[-l|--limit]}} {{number}} {{name}}`
|
||||
|
||||
- Collect all garbage and gcroots from the Nix store:
|
||||
|
||||
`nh clean all {{[-a|--ask]}}`
|
||||
|
||||
- Build a specified Nixos flake configuration and open it in a virtual machine:
|
||||
|
||||
`nh os build-vm {{path/to/flake}} {{[-H|--hostname]}} {{host}}`
|
||||
|
||||
- Build and switch to a specified Home manager flake configuration:
|
||||
|
||||
`nh home switch {{path/to/flake}} {{[-c|--configuration]}} {{home}}`
|
||||
|
||||
- Build and switch to a nix-darwin flake configuration:
|
||||
|
||||
`nh darwin switch {{path/to/flake}} {{[-H|--hostname]}} {{host}}`
|
||||
|
||||
- Generate shell completions for a specified shell:
|
||||
|
||||
`nh completions {{shell}}`
|
||||
@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`scala {{filename.jar}}`
|
||||
|
||||
- Execute a single Scala command in the command-line:
|
||||
- Execute a single Scala command:
|
||||
|
||||
`scala {{[-e|--execute-script]}} {{command}}`
|
||||
|
||||
37
tldr/timg
Normal file
37
tldr/timg
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# timg
|
||||
|
||||
> A terminal image and video viewer.
|
||||
> More information: <https://github.com/hzeller/timg#synopsis>.
|
||||
|
||||
- Display a static image:
|
||||
|
||||
`timg {{image.jpg}}`
|
||||
|
||||
- Display all JPEG images in the current directory:
|
||||
|
||||
`timg *.jpg`
|
||||
|
||||
- Display all the bitmaps in icons file:
|
||||
|
||||
`timg {{example.ico}}`
|
||||
|
||||
- Play a video:
|
||||
|
||||
`timg {{video.mp4}}`
|
||||
|
||||
- Play contents of webcam:
|
||||
|
||||
`timg {{/dev/videoX}}`
|
||||
|
||||
- Play an animated GIF:
|
||||
|
||||
`timg {{gif.gif}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`timg --version`
|
||||
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# octo
|
||||
|
||||
> Command-line tools for Octopus Deploy.
|
||||
> Tools for Octopus Deploy.
|
||||
> More information: <https://octopus.com/docs/octopus-rest-api/octo.exe-command-line>.
|
||||
|
||||
- Create a package:
|
||||
|
||||
Reference in New Issue
Block a user