From 9b407705470de48697cc997ffddee39d7e2c732d Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Sat, 19 Oct 2024 00:17:02 +0000 Subject: [PATCH] Update cheatsheets --- tldr/cpan | 25 +++++++++++++++++++++++++ tldr/linux/lbu | 42 ++++++++++++++++++++++++++++++++++++++++++ tldr/zapier | 2 +- tldr/zapier-analytics | 2 +- tldr/zapier-build | 2 +- tldr/zapier-convert | 2 +- tldr/zapier-init | 2 +- tldr/zapier-push | 2 +- tldr/zapier-scaffold | 2 +- 9 files changed, 74 insertions(+), 7 deletions(-) create mode 100644 tldr/cpan create mode 100644 tldr/linux/lbu diff --git a/tldr/cpan b/tldr/cpan new file mode 100644 index 00000000..c6743051 --- /dev/null +++ b/tldr/cpan @@ -0,0 +1,25 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# cpan + +> Query, download and build perl modules from CPAN sites. +> More information: . + +- Install a module (`-i` is optional): + +`cpan {{-i}} {{module_name}}` + +- Force install a module (`-i` is not optional): + +`cpan -fi {{module_name}}` + +- Upgrade all installed modules: + +`cpan -u` + +- Recompile modules: + +`cpan -r` diff --git a/tldr/linux/lbu b/tldr/linux/lbu new file mode 100644 index 00000000..e70fa4de --- /dev/null +++ b/tldr/linux/lbu @@ -0,0 +1,42 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# lbu + +> Manage `apk` overlay files on a diskless Alpine Linux system. +> Note: subcommands like `include` write to `/etc`, which is stored in RAM. You need to run `lbu commit` to save the changes. +> More information: . + +- Commit changes to persistent storage (only files in `/etc` by default): + +`lbu {{ci|commit}}` + +- List files that would be saved using `commit`: + +`lbu {{st|status}}` + +- Display changes in tracked files that would be saved using `commit`: + +`lbu diff` + +- Include a specific file or directory in the `apk` overlay: + +`lbu {{add|inc|include}} {{path/to/file_or_directory}}` + +- Exclude a specific file or directory in `/etc` from the `apk` overlay: + +`lbu {{ex|exclude|delete}} {{path/to/file_or_directory}}` + +- Display the list of manually included/excluded files: + +`lbu {{inc|include|ex|exclude}} -l` + +- List backups (previously created overlays): + +`lbu {{lb|list-backup}}` + +- Revert to a backup overlay: + +`lbu revert {{overlay_filename.tar.gz}}` diff --git a/tldr/zapier b/tldr/zapier index 8e75bd63..f60f052a 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/zapier-analytics b/tldr/zapier-analytics index d607adef..5fcc5b96 100644 --- a/tldr/zapier-analytics +++ b/tldr/zapier-analytics @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # zapier analytics > Show the status of the analytics that are collected. It is also used to change what is collected. -> More information: . +> More information: . - Show the status of collected analytics: diff --git a/tldr/zapier-build b/tldr/zapier-build index dd4deb38..b136cc6a 100644 --- a/tldr/zapier-build +++ b/tldr/zapier-build @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # zapier build > Build a pushable `zip` of a Zapier integration. -> More information: . +> More information: . - Create a build: diff --git a/tldr/zapier-convert b/tldr/zapier-convert index efc1c1dd..74a0ec86 100644 --- a/tldr/zapier-convert +++ b/tldr/zapier-convert @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # zapier convert > Convert a Visual Builder integration to a CLI integration. -> More information: . +> More information: . - Convert a visual builder integration: diff --git a/tldr/zapier-init b/tldr/zapier-init index d2d8c46b..d07d1e96 100644 --- a/tldr/zapier-init +++ b/tldr/zapier-init @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # zapier init > Initialize a new Zapier integration. -> More information: . +> More information: . - Initialize a new Zapier integration: diff --git a/tldr/zapier-push b/tldr/zapier-push index fc859ed7..d2b5297b 100644 --- a/tldr/zapier-push +++ b/tldr/zapier-push @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # zapier push > Build and upload a Zapier integration. -> More information: . +> More information: . - Push an integration to Zapier: diff --git a/tldr/zapier-scaffold b/tldr/zapier-scaffold index a9b9a1cb..b7981a5c 100644 --- a/tldr/zapier-scaffold +++ b/tldr/zapier-scaffold @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # zapier scaffold > Add a starting trigger, create, search, or resource to an integration. -> More information: . +> More information: . - Scaffold a new trigger, create, search, or resource: