Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-16 00:21:38 +00:00
parent dc35662e09
commit dbdba24741
30 changed files with 226 additions and 29 deletions

View File

@@ -26,4 +26,4 @@ source: https://github.com/tldr-pages/tldr.git
- Create a temporary binding:
`sudo keyd bind "{{pressed_key}} = {{output_key}}`
`sudo keyd bind "{{pressed_key}} = {{output_key}}"`

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Convert a PDF page to PNG or JPEG format:
`pstoedit -page {{page_number}} -f magick {{path/to/file.pdf}} {{page.png|page.jpg]}}`
`pstoedit -page {{page_number}} -f magick {{path/to/file.pdf}} {{page.png|page.jpg}}`
- Convert multiple PDF pages to numbered images:

View File

@@ -10,7 +10,7 @@ source: https://github.com/tldr-pages/tldr.git
- Capture a photo with different encoding:
`rpicam-still {{[-e|--encoding]}} {{bmp|png|rgb|yuv420}} {{[-o|--output]}} {{path/to/file.{{bmp|png|rgb|yuv420}}}}`
`rpicam-still {{[-e|--encoding]}} {{bmp|png|rgb|yuv420}} {{[-o|--output]}} {{path/to/file.[bmp|png|rgb|yuv420]}}`
- Capture a raw image:

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Set the type of a partition:
`sfdisk --part-type {{path/to/device}}} {{partition_number}} {{swap}}`
`sfdisk --part-type {{path/to/device}} {{partition_number}} {{swap}}`
- Delete a partition:

View File

@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
- Extract a self-extracting binary in the current directory:
`{{./path/to/binary)}}`
`{{./path/to/binary}}`
- Test a self-extracting binary for errors:
`{{./path/to/binary)}} -t`
`{{./path/to/binary}} -t`
- Print content of a file in the self-extracting binary without extraction:
`{{./path/to/binary)}} -c {{path/to/filename}}`
`{{./path/to/binary}} -c {{path/to/filename}}`
- Print comments on Zip archive in the self-extracting binary:
`{{./path/to/binary)}} -z`
`{{./path/to/binary}} -z`