mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
22
tldr/cjxl
Normal file
22
tldr/cjxl
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# cjxl
|
||||
|
||||
> Compress images to JPEG XL.
|
||||
> Accepted input extensions are PNG, APNG, GIF, JPEG, EXR, PPM, PFM, PAM, PGX, and JXL.
|
||||
> More information: <https://github.com/libjxl/libjxl>.
|
||||
|
||||
- Convert an image to JPEG XL:
|
||||
|
||||
`cjxl {{path/to/image.ext}} {{path/to/output.jxl}}`
|
||||
|
||||
- Set quality to lossless and maximize compression of the resulting image:
|
||||
|
||||
`cjxl --distance 0 --effort 9 {{path/to/image.ext}} {{path/to/output.jxl}}`
|
||||
|
||||
- Display an extremely detailed help page:
|
||||
|
||||
`cjxl --help --verbose --verbose --verbose --verbose`
|
||||
18
tldr/djxl
Normal file
18
tldr/djxl
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# djxl
|
||||
|
||||
> Decompress JPEG XL images.
|
||||
> Accepted output extensions are PNG, APNG, JPEG, EXR, PGM, PPM, PNM, PFM, PAM, EXIF, XMP and JUMBF.
|
||||
> More information: <https://github.com/libjxl/libjxl>.
|
||||
|
||||
- Decompress a JPEG XL image to another format:
|
||||
|
||||
`djxl {{path/to/image.jxl}} {{path/to/output.ext}}`
|
||||
|
||||
- Display an extremely detailed help page:
|
||||
|
||||
`djxl --help --verbose --verbose --verbose --verbose`
|
||||
41
tldr/linux/proctl
Normal file
41
tldr/linux/proctl
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# proctl
|
||||
|
||||
> Manage projects licenses and languages, switch between templated licenses.
|
||||
> More information: <https://github.com/HeCodes2Much/proctl>.
|
||||
|
||||
- List available licenses:
|
||||
|
||||
`proctl {{-ll|-list-licenses}}`
|
||||
|
||||
- List available languages:
|
||||
|
||||
`proctl {{-lL|-list-languages}}`
|
||||
|
||||
- Pick a license in a FZF menu:
|
||||
|
||||
`proctl {{-pl|-pick-license}}`
|
||||
|
||||
- Pick a language in a FZF menu:
|
||||
|
||||
`proctl {{-pL|-pick-language}}`
|
||||
|
||||
- Remove all licenses from the current project:
|
||||
|
||||
`proctl {{-r|-remove-license}}`
|
||||
|
||||
- Create a new license template:
|
||||
|
||||
`proctl {{-t|-new-template}}`
|
||||
|
||||
- Delete a license from templates:
|
||||
|
||||
`proctl {{-R|-delete-license}} {{@license_name1 @license_name2 ...}}`
|
||||
|
||||
- Show this helpful list of commands:
|
||||
|
||||
`proctl {{-h|-help}}`
|
||||
@@ -12,10 +12,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`mkdir {{path/to/directory1 path/to/directory2 ...}}`
|
||||
|
||||
- Create specific directories and their [p]arents if needed:
|
||||
- Create specific directories and their parents if needed:
|
||||
|
||||
`mkdir -p {{path/to/directory1 path/to/directory2 ...}}`
|
||||
`mkdir {{-p|--parents}} {{path/to/directory1 path/to/directory2 ...}}`
|
||||
|
||||
- Create directories with specific permissions:
|
||||
|
||||
`mkdir -m {{rwxrw-r--}} {{path/to/directory1 path/to/directory2 ...}}`
|
||||
`mkdir {{-m|--mode}} {{rwxrw-r--}} {{path/to/directory1 path/to/directory2 ...}}`
|
||||
|
||||
@@ -14,19 +14,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Dump all databases using a specific username:
|
||||
|
||||
`pg_dumpall --username={{username}} > {{path/to/file.sql}}`
|
||||
`pg_dumpall {{-U|--username}} {{username}} > {{path/to/file.sql}}`
|
||||
|
||||
- Same as above, customize host and port:
|
||||
|
||||
`pg_dumpall -h {{host}} -p {{port}} > {{output_file.sql}}`
|
||||
|
||||
- Dump all databases into a custom-format archive file with moderate compression:
|
||||
|
||||
`pg_dumpall -Fc > {{output_file.dump}}`
|
||||
|
||||
- Dump only database data into an SQL-script file:
|
||||
|
||||
`pg_dumpall --data-only > {{path/to/file.sql}}`
|
||||
`pg_dumpall {{-a|--data-only}} > {{path/to/file.sql}}`
|
||||
|
||||
- Dump only schema (data definitions) into an SQL-script file:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user