Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-19 00:17:02 +00:00
parent 90700a6458
commit 9b40770547
9 changed files with 74 additions and 7 deletions

25
tldr/cpan Normal file
View File

@@ -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: <https://manned.org/cpan>.
- 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`

42
tldr/linux/lbu Normal file
View File

@@ -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: <https://wiki.alpinelinux.org/wiki/Alpine_local_backup>.
- 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}}`

View File

@@ -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: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md>.
> More information: <https://platform.zapier.com/reference/cli>.
- Connect to a Zapier account:

View File

@@ -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: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#analytics>.
> More information: <https://platform.zapier.com/reference/cli#analytics>.
- Show the status of collected analytics:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# zapier build
> Build a pushable `zip` of a Zapier integration.
> More information: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#build>.
> More information: <https://platform.zapier.com/reference/cli#build>.
- Create a build:

View File

@@ -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: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#convert>.
> More information: <https://platform.zapier.com/reference/cli#convert>.
- Convert a visual builder integration:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# zapier init
> Initialize a new Zapier integration.
> More information: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#init>.
> More information: <https://platform.zapier.com/reference/cli#init>.
- Initialize a new Zapier integration:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# zapier push
> Build and upload a Zapier integration.
> More information: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#push>.
> More information: <https://platform.zapier.com/reference/cli#push>.
- Push an integration to Zapier:

View File

@@ -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: <https://github.com/zapier/zapier-platform/blob/main/packages/cli/docs/cli.md#scaffold>.
> More information: <https://platform.zapier.com/reference/cli#scaffold>.
- Scaffold a new trigger, create, search, or resource: