Update cheatsheets

This commit is contained in:
ivuorinen
2024-06-02 00:15:34 +00:00
parent 94a1a1f571
commit 043470907f
3 changed files with 72 additions and 0 deletions

26
tldr/toipe Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# toipe
> Yet another typing test, but crab flavoured.
> A trusty terminal typing tester.
> More information: <https://github.com/Samyak2/toipe>.
- Start the typing test with the default wordlist:
`toipe`
- Use a specific wordlist:
`toipe {{-w|--wordlist}} {{wordlist_name}}`
- Use a custom wordlist:
`toipe {{-f|--file}} {{path/to/file}}`
- Specify the number of words on each test:
`toipe {{-n|--num}} {{number_of_words}}`

25
tldr/waybar Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# waybar
> Highly customizable Wayland bar for Sway and Wlroots based compositors.
> More information: <https://github.com/Alexays/Waybar>.
- Start `waybar` with the default configuration and stylesheet:
`waybar`
- Use a different configuration file:
`waybar {{-c|--config}} {{path/to/config.jsonc}}`
- Use a different stylesheet file:
`waybar {{-s|--style}} {{path/to/stylesheet.css}}`
- Set the logging level:
`waybar {{-l|--log-level}} {{trace|debug|info|warning|error|critical|off}}`

21
tldr/zint Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zint
> Generate barcodes and QR codes.
> More information: <https://www.zint.org.uk/manual/chapter/4>.
- Generate a barcode and save it:
`zint --data "{{UTF-8 data}}" --output {{path/to/file}}`
- Specify a code type for generation:
`zint --barcode {{code_type}} --data "{{UTF-8 data}}" --output {{path/to/file}}`
- List all supported code types:
`zint --types`