mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-07 13:45:42 +00:00
Update cheatsheets
This commit is contained in:
@@ -17,7 +17,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`img2pdf {{path/to/file.gif}} --first-frame-only --output {{path/to/file.pdf}}`
|
||||
|
||||
- Auto orient the image, use a specific page size in landscape mode, and set a border of specific sizes horizontally and vertically:
|
||||
- Auto orient the image, use a specific page size in landscape mode, and set a border of specific sizes horizontally and vertically:
|
||||
|
||||
`img2pdf {{path/to/image.ext}} --auto-orient --pagesize {{A4^T}} --border {{2cm}}:{{5.1cm}} --output {{path/to/file.pdf}}`
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Create a squashfs filesystem from a tar archive.
|
||||
> More information: <https://manned.org/sqfstar>.
|
||||
|
||||
- Create a squashfs filesystem (compressed using `gzip` by default) from an uncompressed tar archive:
|
||||
- Create a squashfs filesystem (compressed using `gzip` by default) from an uncompressed tar archive:
|
||||
|
||||
`sqfstar {{filesystem.squashfs}} < {{archive.tar}}`
|
||||
|
||||
|
||||
@@ -5,18 +5,18 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# npm login
|
||||
|
||||
> Login to a registry user account.
|
||||
> Log in to a registry user account.
|
||||
> See also: `npm logout` for logging out.
|
||||
> More information: <https://docs.npmjs.com/cli/commands/npm-login>.
|
||||
|
||||
- Login to a registry user account and save the credentials to the `.npmrc` file:
|
||||
- Log in to a registry user account and save the credentials to the `.npmrc` file:
|
||||
|
||||
`npm login`
|
||||
|
||||
- Login using a custom registry:
|
||||
- Log in using a custom registry:
|
||||
|
||||
`npm login --registry={{registry_url}}`
|
||||
|
||||
- Login using a specific authentication strategy:
|
||||
- Log in using a specific authentication strategy:
|
||||
|
||||
`npm login --auth-type={{legacy|web}}`
|
||||
|
||||
@@ -5,14 +5,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# npm logout
|
||||
|
||||
> Logout of the registry user account.
|
||||
> Log out of the registry user account.
|
||||
> See also: `npm login` for logging in.
|
||||
> More information: <https://docs.npmjs.com/cli/commands/npm-logout>.
|
||||
|
||||
- Logout of the registry user account:
|
||||
- Log out of the registry user account:
|
||||
|
||||
`npm logout`
|
||||
|
||||
- Logout using a custom registry:
|
||||
- Log out using a custom registry:
|
||||
|
||||
`npm logout --registry={{registry_url}}`
|
||||
|
||||
Reference in New Issue
Block a user