From 9017f8acda49f1fe717e068205d4094e58e9c6a9 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sun, 21 Dec 2025 00:23:35 +0000 Subject: [PATCH] Update cheatsheets --- tldr/busybox | 2 +- tldr/chafa | 2 +- tldr/clangd | 2 +- tldr/cmctl | 2 +- tldr/consul-kv | 2 +- tldr/cypher-shell | 2 +- tldr/exiv2 | 2 +- tldr/expose | 2 +- tldr/fluxctl | 2 +- tldr/gdal2tiles.py | 2 +- tldr/gdal_contour | 2 +- tldr/gdal_translate | 2 +- tldr/gdaladdo | 2 +- tldr/gdalbuildvrt | 2 +- tldr/gdaldem | 2 +- tldr/gdalinfo | 2 +- tldr/gdalwarp | 2 +- tldr/ghci | 2 +- tldr/kubectl-set | 37 +++++++++++++++++++++++++ tldr/linux/edit | 2 +- tldr/linux/screenkey | 2 +- tldr/linux/systemctl-add-requires | 2 +- tldr/linux/systemctl-add-wants | 2 +- tldr/linux/systemctl-bind | 2 +- tldr/linux/systemctl-import-environment | 2 +- tldr/linux/systemctl-list-dependencies | 2 +- tldr/linux/systemctl-mount-image | 2 +- tldr/matlab | 2 +- tldr/mix | 2 +- tldr/mp4box | 2 +- tldr/mpicc | 2 +- tldr/multipass | 2 +- tldr/nasm | 2 +- tldr/ncmpcpp | 2 +- tldr/nix-env | 2 +- tldr/nix-store.3 | 2 +- tldr/nomad | 2 +- tldr/ogr2ogr | 2 +- tldr/ogrinfo | 2 +- tldr/ogrmerge.py | 2 +- tldr/osx/setfile | 2 +- tldr/piactl | 2 +- tldr/pie | 2 +- tldr/polybar-msg | 2 +- tldr/qdbus | 2 +- tldr/rabbitmq-diagnostics | 2 +- tldr/rabbitmq-plugins | 2 +- tldr/rabbitmq-queues | 2 +- tldr/rabbitmq-streams | 2 +- tldr/rabbitmq-upgrade | 2 +- tldr/redis-cli | 2 +- tldr/runit | 2 +- tldr/sbcl | 2 +- tldr/sonar-scanner | 2 +- tldr/talosctl | 2 +- tldr/treemd | 33 ++++++++++++++++++++++ tldr/trunk | 23 ++++----------- tldr/trunk.io | 37 +++++++++++++++++++++++++ tldr/trunk.rs | 29 +++++++++++++++++++ tldr/turbo | 2 +- tldr/varnishlog | 2 +- tldr/xidel | 2 +- tldr/zapier | 2 +- tldr/zmv | 2 +- 64 files changed, 200 insertions(+), 77 deletions(-) create mode 100644 tldr/kubectl-set create mode 100644 tldr/treemd create mode 100644 tldr/trunk.io create mode 100644 tldr/trunk.rs diff --git a/tldr/busybox b/tldr/busybox index 7241eed4..a16afc56 100644 --- a/tldr/busybox +++ b/tldr/busybox @@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git > A collection of small system utilities in a single executable. > Executing `busybox` via a symlink is equivalent to running `busybox symlink_name`. > Linux distributions that use BusyBox will usually provide symlinks for all programs. -> More information: . +> More information: . - Execute a BusyBox function: diff --git a/tldr/chafa b/tldr/chafa index b0788ae8..71fc481d 100644 --- a/tldr/chafa +++ b/tldr/chafa @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Image printing in the terminal. > See also: `catimg`, `pixterm`. -> More information: . +> More information: . - Render an image directly in the terminal: diff --git a/tldr/clangd b/tldr/clangd index 472c1d5d..a58a5237 100644 --- a/tldr/clangd +++ b/tldr/clangd @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Language server that provides IDE-like features to editors. > It should be used via an editor plugin rather than invoked directly. -> More information: . +> More information: . - Display available options: diff --git a/tldr/cmctl b/tldr/cmctl index 23696e2a..342cd26c 100644 --- a/tldr/cmctl +++ b/tldr/cmctl @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Manage cert-manager resources inside your cluster. > Check cert signing status, approve/deny requests, and issue new certificate requests. -> More information: . +> More information: . - Check if the cert-manager API is ready: diff --git a/tldr/consul-kv b/tldr/consul-kv index 605f6df7..bf26c4b2 100644 --- a/tldr/consul-kv +++ b/tldr/consul-kv @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # consul kv > Distributed key-value store with health checking and service discovery. -> More information: . +> More information: . - Read a value from the key-value store: diff --git a/tldr/cypher-shell b/tldr/cypher-shell index 429954b9..2c77e1cf 100644 --- a/tldr/cypher-shell +++ b/tldr/cypher-shell @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Open an interactive session and run Cypher queries against a Neo4j instance. > See also: `neo4j-admin`, `mysql`. -> More information: . +> More information: . - Connect to a local instance on the default port (`neo4j://localhost:7687`): diff --git a/tldr/exiv2 b/tldr/exiv2 index f70ccc76..fb49817e 100644 --- a/tldr/exiv2 +++ b/tldr/exiv2 @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # exiv2 > Image metadata manipulation tool. -> More information: . +> More information: . - Print a summary of the image Exif metadata: diff --git a/tldr/expose b/tldr/expose index 31a4e07f..05152806 100644 --- a/tldr/expose +++ b/tldr/expose @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # expose > An open source tunnel application for sharing websites. -> More information: . +> More information: . - Register your authentication token: diff --git a/tldr/fluxctl b/tldr/fluxctl index f87d68db..b736ee32 100644 --- a/tldr/fluxctl +++ b/tldr/fluxctl @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # fluxctl > Tool for Flux v1. -> More information: . +> More information: . - List workloads currently running in the cluster on specific namespace: diff --git a/tldr/gdal2tiles.py b/tldr/gdal2tiles.py index 8f39176d..926101d9 100644 --- a/tldr/gdal2tiles.py +++ b/tldr/gdal2tiles.py @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gdal2tiles.py > Generate TMS or XYZ tiles for a raster dataset. -> More information: . +> More information: . - Generate TMS tiles for the zoom levels 2 to 5 of a raster dataset: diff --git a/tldr/gdal_contour b/tldr/gdal_contour index 31971a01..bd783bf3 100644 --- a/tldr/gdal_contour +++ b/tldr/gdal_contour @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gdal_contour > Create contour lines and polygons from a digital elevation model. -> More information: . +> More information: . - Create a vector dataset with contour lines spread over an 100-meter [i]nterval while [a]ttributing the elevation property as "ele": diff --git a/tldr/gdal_translate b/tldr/gdal_translate index b2950afe..9c7fee07 100644 --- a/tldr/gdal_translate +++ b/tldr/gdal_translate @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gdal_translate > Convert raster data between different formats. -> More information: . +> More information: . - Convert a raster dataset to JPEG format: diff --git a/tldr/gdaladdo b/tldr/gdaladdo index f9a04d4f..46e3b910 100644 --- a/tldr/gdaladdo +++ b/tldr/gdaladdo @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gdaladdo > Build overview images of raster datasets. -> More information: . +> More information: . - Build overview images of a raster dataset using the "average" [r]esampling method: diff --git a/tldr/gdalbuildvrt b/tldr/gdalbuildvrt index 3c331ad1..d2f52496 100644 --- a/tldr/gdalbuildvrt +++ b/tldr/gdalbuildvrt @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gdalbuildvrt > Build Virtual Datasets from a list of existing datasets. -> More information: . +> More information: . - Make a virtual mosaic from all TIFF files contained in a directory: diff --git a/tldr/gdaldem b/tldr/gdaldem index 498d8e28..15154352 100644 --- a/tldr/gdaldem +++ b/tldr/gdaldem @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gdaldem > Analyze and visualize digital elevation models (DEM). -> More information: . +> More information: . - Compute the hillshade of a DEM: diff --git a/tldr/gdalinfo b/tldr/gdalinfo index afbd084e..c2b0f7f7 100644 --- a/tldr/gdalinfo +++ b/tldr/gdalinfo @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gdalinfo > List various information about a GDAL supported raster dataset. -> More information: . +> More information: . - List all supported raster formats: diff --git a/tldr/gdalwarp b/tldr/gdalwarp index 9df239ca..67576a26 100644 --- a/tldr/gdalwarp +++ b/tldr/gdalwarp @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # gdalwarp > Image reprojection and warping utility. -> More information: . +> More information: . - Reproject a raster dataset: diff --git a/tldr/ghci b/tldr/ghci index 1b78e0ae..4d068fee 100644 --- a/tldr/ghci +++ b/tldr/ghci @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ghci > The Glasgow Haskell Compiler's interactive environment. -> More information: . +> More information: . - Start a REPL (interactive shell): diff --git a/tldr/kubectl-set b/tldr/kubectl-set new file mode 100644 index 00000000..12da8742 --- /dev/null +++ b/tldr/kubectl-set @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# kubectl set + +> Update fields of existing application resources. +> More information: . + +- Update the image of a container in a deployment: + +`kubectl set image {{[deploy|deployment]}}/{{deployment_name}} {{container_name}}={{image}}` + +- Update the image of all containers in a deployment: + +`kubectl set image {{[deploy|deployment]}}/{{deployment_name}} *={{image}}` + +- Set resource limits (CPU and memory) on a deployment: + +`kubectl set resources {{[deploy|deployment]}}/{{deployment_name}} --limits cpu={{cpu_limit}},memory={{memory_limit}}` + +- Set an environment variable on a deployment: + +`kubectl set env {{[deploy|deployment]}}/{{deployment_name}} {{variable_name}}={{value}}` + +- Remove an environment variable from a deployment: + +`kubectl set env {{[deploy|deployment]}}/{{deployment_name}} {{variable_name}}-` + +- Import environment variables from a secret or ConfigMap: + +`kubectl set env --from {{secret|configmap}}/{{resource_name}} {{[deploy|deployment]}}/{{deployment_name}}` + +- Update the service account of a deployment: + +`kubectl set {{[sa|serviceaccount]}} {{[deploy|deployment]}}/{{deployment_name}} {{service_account_name}}` diff --git a/tldr/linux/edit b/tldr/linux/edit index 64563cdd..69c91a99 100644 --- a/tldr/linux/edit +++ b/tldr/linux/edit @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > An alias to a `run-mailcap`'s action edit. > Originally `run-mailcap` is used to process/edit mime-type/file. -> More information: . +> More information: . - Edit action can be used to view any file on default mailcap explorer: diff --git a/tldr/linux/screenkey b/tldr/linux/screenkey index 3fa52f6a..866ef458 100644 --- a/tldr/linux/screenkey +++ b/tldr/linux/screenkey @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # screenkey > A screencast tool to display keys pressed. -> More information: . +> More information: . - Display keys which are currently being pressed on the screen: diff --git a/tldr/linux/systemctl-add-requires b/tldr/linux/systemctl-add-requires index d08f2cc9..ce312fa7 100644 --- a/tldr/linux/systemctl-add-requires +++ b/tldr/linux/systemctl-add-requires @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # systemctl add-requires > Add `Requires` dependencies to a target for one or more units. -> More information: . +> More information: . - Add a `Requires` dependency from a target to a unit: diff --git a/tldr/linux/systemctl-add-wants b/tldr/linux/systemctl-add-wants index f7a89fe7..7cba154b 100644 --- a/tldr/linux/systemctl-add-wants +++ b/tldr/linux/systemctl-add-wants @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # systemctl add-wants > Add `Wants` dependencies to a target for one or more units. -> More information: . +> More information: . - Add a `Wants` dependency from a target to a unit: diff --git a/tldr/linux/systemctl-bind b/tldr/linux/systemctl-bind index 8300ed3a..a060fdf5 100644 --- a/tldr/linux/systemctl-bind +++ b/tldr/linux/systemctl-bind @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # systemctl bind > Ephemerally bind-mount a file or directory from the host into a unit's mount namespace. -> More information: . +> More information: . - Bind-mount a host path into the same location inside the unit: diff --git a/tldr/linux/systemctl-import-environment b/tldr/linux/systemctl-import-environment index 14eba42e..394b7a49 100644 --- a/tldr/linux/systemctl-import-environment +++ b/tldr/linux/systemctl-import-environment @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Import environment variables from the shell into systemd's environment. > See also: `systemctl show-environment`, `systemctl unset-environment`. -> More information: . +> More information: . - Import a variable: diff --git a/tldr/linux/systemctl-list-dependencies b/tldr/linux/systemctl-list-dependencies index 56efe9a8..1af5e0d2 100644 --- a/tldr/linux/systemctl-list-dependencies +++ b/tldr/linux/systemctl-list-dependencies @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Show a unit's dependency tree in systemd. > See also: `systemctl list-units` to list loaded units. -> More information: . +> More information: . - Show the dependency tree of `default.target`: diff --git a/tldr/linux/systemctl-mount-image b/tldr/linux/systemctl-mount-image index 98678ffd..946fadb7 100644 --- a/tldr/linux/systemctl-mount-image +++ b/tldr/linux/systemctl-mount-image @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Mount an image file into a unit's mount namespace. > Only supported for the units that run within a mountspace ie, with `RootImage=`, `PrivateMounts=`, etc. -> More information: . +> More information: . - Mount an image at a specific path inside the unit's mount namespace: diff --git a/tldr/matlab b/tldr/matlab index e4631fa9..7cc7754e 100644 --- a/tldr/matlab +++ b/tldr/matlab @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # matlab > Numerical computation environment by MathWorks. -> More information: . +> More information: . - Run without splash screen during startup: diff --git a/tldr/mix b/tldr/mix index ffe03dfe..06659b8d 100644 --- a/tldr/mix +++ b/tldr/mix @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # mix > Build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more. -> More information: . +> More information: . - Execute a particular file: diff --git a/tldr/mp4box b/tldr/mp4box index fc8ed0f6..4bc1a0e7 100644 --- a/tldr/mp4box +++ b/tldr/mp4box @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # mp4box > MPEG-4 Systems Toolbox: muxe streams into MP4 container. -> More information: . +> More information: . - Display information about an existing MP4 file: diff --git a/tldr/mpicc b/tldr/mpicc index 15693230..7bd3719c 100644 --- a/tldr/mpicc +++ b/tldr/mpicc @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # mpicc > Open MPI C wrapper compiler. -> More information: . +> More information: . - Compile a source code file into an object file: diff --git a/tldr/multipass b/tldr/multipass index 7871b7d9..cfd27979 100644 --- a/tldr/multipass +++ b/tldr/multipass @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # multipass > Manage Ubuntu virtual machines using native hypervisors. -> More information: . +> More information: . - List the aliases that can be used to launch an instance: diff --git a/tldr/nasm b/tldr/nasm index 1023ba27..15efe14a 100644 --- a/tldr/nasm +++ b/tldr/nasm @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # nasm > The Netwide Assembler, a portable 80x86 assembler. -> More information: . +> More information: . - Assemble `source.asm` into a binary file `source`, in the (default) raw binary format: diff --git a/tldr/ncmpcpp b/tldr/ncmpcpp index d54361ba..bcc657f1 100644 --- a/tldr/ncmpcpp +++ b/tldr/ncmpcpp @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > A music player client for the Music Player Daemon. > See also: `mpd`, `mpc`, `qmmp`, `termusic`. -> More information: . +> More information: . - Connect to a music player daemon on a given host and port: diff --git a/tldr/nix-env b/tldr/nix-env index 336f8b06..4e2cc737 100644 --- a/tldr/nix-env +++ b/tldr/nix-env @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # nix-env > Manipulate or query Nix user environments. -> More information: . +> More information: . - List all installed packages: diff --git a/tldr/nix-store.3 b/tldr/nix-store.3 index bc2358f0..41cd4828 100644 --- a/tldr/nix-store.3 +++ b/tldr/nix-store.3 @@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git `nix store optimise` -- Delete a specific store path (most be unused): +- Delete a specific store path (must be unused): `nix store delete /nix/store/{{checksum-package-version.ext}}` diff --git a/tldr/nomad b/tldr/nomad index 995d8132..a11b2377 100644 --- a/tldr/nomad +++ b/tldr/nomad @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # nomad > Distributed, highly available, datacenter-aware scheduler. -> More information: . +> More information: . - Show the status of nodes in the cluster: diff --git a/tldr/ogr2ogr b/tldr/ogr2ogr index efbfa4a9..7f1b689a 100644 --- a/tldr/ogr2ogr +++ b/tldr/ogr2ogr @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ogr2ogr > Convert geospatial vector data between file formats. -> More information: . +> More information: . - Convert a Shapefile into a GeoPackage: diff --git a/tldr/ogrinfo b/tldr/ogrinfo index cd286e3f..2e0a7daa 100644 --- a/tldr/ogrinfo +++ b/tldr/ogrinfo @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ogrinfo > List information about an OGR-supported data source. -> More information: . +> More information: . - List supported formats: diff --git a/tldr/ogrmerge.py b/tldr/ogrmerge.py index 1a9e5608..f9ea370e 100644 --- a/tldr/ogrmerge.py +++ b/tldr/ogrmerge.py @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # ogrmerge.py > Merge several vector datasets into a single one. -> More information: . +> More information: . - Create a GeoPackage with a layer for each input Shapefile: diff --git a/tldr/osx/setfile b/tldr/osx/setfile index 76ce894c..0929855e 100644 --- a/tldr/osx/setfile +++ b/tldr/osx/setfile @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # setfile > Set file attributes on files in an HFS+ directory. -> More information: . +> More information: . - Set creation date for specific files: diff --git a/tldr/piactl b/tldr/piactl index 6e134186..729b44a2 100644 --- a/tldr/piactl +++ b/tldr/piactl @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # piactl > The tool for Private Internet Access, a commercial VPN provider. -> More information: . +> More information: . - Log in to Private Internet Access: diff --git a/tldr/pie b/tldr/pie index d0e2cd9c..427b76d7 100644 --- a/tldr/pie +++ b/tldr/pie @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # pie > The PHP Installer for Extensions. -> More information: . +> More information: . - Install or update an extension: diff --git a/tldr/polybar-msg b/tldr/polybar-msg index 2f73b38d..53fb6c53 100644 --- a/tldr/polybar-msg +++ b/tldr/polybar-msg @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Control `polybar` using inter-process-messaging (IPC). > Note: IPC is disabled by default and can be enabled by setting `enable-ipc = true` in the Polybar config. -> More information: . +> More information: . - Quit the bar: diff --git a/tldr/qdbus b/tldr/qdbus index dd822a05..4d8af1ae 100644 --- a/tldr/qdbus +++ b/tldr/qdbus @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # qdbus > Inter-Process Communication (IPC) and Remote Procedure Calling (RPC) mechanism originally developed for Linux. -> More information: . +> More information: . - List available service names: diff --git a/tldr/rabbitmq-diagnostics b/tldr/rabbitmq-diagnostics index 40b4758a..36bc4e85 100644 --- a/tldr/rabbitmq-diagnostics +++ b/tldr/rabbitmq-diagnostics @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Diagnose, monitor, and run health checks on RabbitMQ nodes. > Many subcommands are delegated to `rabbitmqctl`. -> More information: . +> More information: . - List resource alarms: diff --git a/tldr/rabbitmq-plugins b/tldr/rabbitmq-plugins index 27c6cf47..3cda72bd 100644 --- a/tldr/rabbitmq-plugins +++ b/tldr/rabbitmq-plugins @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # rabbitmq-plugins > Manage RabbitMQ plugins. -> More information: . +> More information: . - List plugins: diff --git a/tldr/rabbitmq-queues b/tldr/rabbitmq-queues index d7611c9b..70a5c826 100644 --- a/tldr/rabbitmq-queues +++ b/tldr/rabbitmq-queues @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # rabbitmq-queues > Manage RabbitMQ queues. -> More information: . +> More information: . - Grow quorum queue clusters by adding a member on the specified node: diff --git a/tldr/rabbitmq-streams b/tldr/rabbitmq-streams index c7d5cf60..f6d108c8 100644 --- a/tldr/rabbitmq-streams +++ b/tldr/rabbitmq-streams @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # rabbitmq-streams > Manage RabbitMQ streams. -> More information: . +> More information: . - Add a stream replica on the specified node: diff --git a/tldr/rabbitmq-upgrade b/tldr/rabbitmq-upgrade index 85f3ed87..5287ca03 100644 --- a/tldr/rabbitmq-upgrade +++ b/tldr/rabbitmq-upgrade @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # rabbitmq-upgrade > Manage the upgrade of a RabbitMQ node. -> More information: . +> More information: . - Wait for all quorum queues to have an above minimum online quorum: diff --git a/tldr/redis-cli b/tldr/redis-cli index 484a7dc1..f359511e 100644 --- a/tldr/redis-cli +++ b/tldr/redis-cli @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # redis-cli > Open a connection to a Redis server. -> More information: . +> More information: . - Connect to the local server: diff --git a/tldr/runit b/tldr/runit index 756f900f..4e9a4b3a 100644 --- a/tldr/runit +++ b/tldr/runit @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # runit > 3-stage init system. -> More information: . +> More information: . - Start runit's 3-stage init scheme: diff --git a/tldr/sbcl b/tldr/sbcl index 6ad2b080..13ebba7f 100644 --- a/tldr/sbcl +++ b/tldr/sbcl @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # sbcl > High performance Common Lisp compiler. -> More information: . +> More information: . - Start a REPL (interactive shell): diff --git a/tldr/sonar-scanner b/tldr/sonar-scanner index caa4236d..834dbb59 100644 --- a/tldr/sonar-scanner +++ b/tldr/sonar-scanner @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # sonar-scanner > A generic scanner for SonarQube projects that do not use build tools such as Maven, Gradle, or Ant. -> More information: . +> More information: . - Scan a project with configuration file in your project's root directory named `sonar-project.properties`: diff --git a/tldr/talosctl b/tldr/talosctl index 410f7f89..b6eefbf2 100644 --- a/tldr/talosctl +++ b/tldr/talosctl @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Interact with Talos Linux, a minimal and immutable Kubernetes distribution. > See also: `kubectl`. -> More information: . +> More information: . - Apply a config to a fresh node: diff --git a/tldr/treemd b/tldr/treemd new file mode 100644 index 00000000..0e836c5b --- /dev/null +++ b/tldr/treemd @@ -0,0 +1,33 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# treemd + +> View markdown files with tree-based navigation and an interactive TUI. +> More information: . + +- Open a markdown file in interactive TUI mode: + +`treemd {{path/to/file.md}}` + +- List all headings in a markdown file: + +`treemd {{[-l|--list]}} {{path/to/file.md}}` + +- Show the heading tree structure of a markdown file: + +`treemd --tree {{path/to/file.md}}` + +- Extract a specific section by heading name: + +`treemd {{[-s|--section]}} {{heading_name}} {{path/to/file.md}}` + +- Filter headings by a specific pattern: + +`treemd {{[-l|--list]}} --filter {{pattern}} {{path/to/file.md}}` + +- Query and extract markdown structure using the treemd query language: + +`treemd {{[-q|--query]}} '{{.h2 | text}}' {{path/to/file.md}}` diff --git a/tldr/trunk b/tldr/trunk index 72969e7e..1bfb25b1 100644 --- a/tldr/trunk +++ b/tldr/trunk @@ -5,25 +5,12 @@ source: https://github.com/tldr-pages/tldr.git --- # trunk -> Bundle and serve Rust web apps with CI/CD pipelines. -> More information: . +> `trunk` can refer to multiple commands with the same name. -- Start local/production server with hot reloading: +- View documentation for the Rust WASM bundler: -`trunk serve --port {{port}} --release --proxy-backend {{URL}}` +`tldr trunk.rs` -- Build for production at root or subdirectory: +- View documentation for the trunk.io code quality platform: -`trunk build --release --dist {{path/to/distribution}} --public-url /{{path/to/app_subdirectory}}` - -- List all available tools in the repo and if they are enabled: - -`trunk tools list` - -- Enable/disable a tool at a specific version: - -`trunk tools {{enable|disable}} {{tool}}@{{version}}` - -- Print an action's execution history: - -`trunk actions history {{action}}` +`tldr trunk.io` diff --git a/tldr/trunk.io b/tldr/trunk.io new file mode 100644 index 00000000..1f8cd774 --- /dev/null +++ b/tldr/trunk.io @@ -0,0 +1,37 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# trunk + +> Run linters, formatters, and security analyzers on code. +> More information: . + +- Initialize trunk in a repository: + +`trunk init` + +- Run all applicable linters and formatters on changed files: + +`trunk check` + +- Run linters and formatters on specific files: + +`trunk check {{path/to/file1 path/to/file2 ...}}` + +- Format files in place: + +`trunk fmt` + +- List all available tools and their status: + +`trunk tools list` + +- Enable a tool at a specific version: + +`trunk tools enable {{tool}}@{{version}}` + +- Print an action's execution history: + +`trunk actions history {{action}}` diff --git a/tldr/trunk.rs b/tldr/trunk.rs new file mode 100644 index 00000000..25a47060 --- /dev/null +++ b/tldr/trunk.rs @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# trunk + +> Bundle and serve Rust WASM web applications. +> More information: . + +- Build the application in release mode and serve it locally: + +`trunk serve --release` + +- Build the application and serve it on a specific port: + +`trunk serve {{[-p|--port]}} {{port}}` + +- Build for production at a specific output directory: + +`trunk build --release {{[-d|--dist]}} {{path/to/distribution}}` + +- Build with a specific public URL path for hosting in a subdirectory: + +`trunk build --release --public-url /{{path/to/app_subdirectory}}` + +- Clean the output directory: + +`trunk clean` diff --git a/tldr/turbo b/tldr/turbo index a185f285..e153536d 100644 --- a/tldr/turbo +++ b/tldr/turbo @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > High-performance build system for JavaScript and TypeScript codebases. > See also: `nx`. -> More information: . +> More information: . - Log in using the default web browser with a Vercel account: diff --git a/tldr/varnishlog b/tldr/varnishlog index 5324350c..058e4d53 100644 --- a/tldr/varnishlog +++ b/tldr/varnishlog @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # varnishlog > Display Varnish logs. -> More information: . +> More information: . - Display logs in real time: diff --git a/tldr/xidel b/tldr/xidel index 4400d288..92658852 100644 --- a/tldr/xidel +++ b/tldr/xidel @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # xidel > Download and extract data from HTML/XML pages as well as JSON APIs. -> More information: . +> More information: . - Print all URLs found by a Google search: diff --git a/tldr/zapier b/tldr/zapier index f60f052a..8e75bd63 100644 --- a/tldr/zapier +++ b/tldr/zapier @@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > Create, automate, and manage zapier integrations. > Some subcommands such as `build`, `init`, `scaffold`, `push`, `test`, etc. have their own usage documentation. -> More information: . +> More information: . - Connect to a Zapier account: diff --git a/tldr/zmv b/tldr/zmv index 7659cc2b..ed8ff27e 100644 --- a/tldr/zmv +++ b/tldr/zmv @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # zmv > Move or rename files matching a specified extended glob pattern. -> More information: . +> More information: . - Move files using a `regex`-like pattern: