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:
@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr fossil-commit`
|
||||
`tldr fossil commit`
|
||||
|
||||
@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr fossil-init`
|
||||
`tldr fossil init`
|
||||
|
||||
@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr gh-codespace`
|
||||
`tldr gh codespace`
|
||||
|
||||
@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr ip-route-show`
|
||||
`tldr ip route show`
|
||||
|
||||
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Add a new chain to accept all inbound traffic:
|
||||
|
||||
`sudo nft add chain {{inet}} {{filter}} {{input}} \{ type {{filter}} hook {{input}} priority {{0}} \; policy {{accept}} \}`
|
||||
`sudo nft add chain {{inet}} {{filter}} {{input}} \{ type {{filter}} hook {{input}} priority {{0}} \; policy {{accept}} \; \}`
|
||||
|
||||
- Add a new rule to accept several TCP ports:
|
||||
|
||||
|
||||
@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr pacman-sync`
|
||||
`tldr pacman sync`
|
||||
|
||||
@@ -3,7 +3,7 @@ syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# qm move disk
|
||||
# qm move_disk
|
||||
|
||||
> This command is an alias of `qm disk move`.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# npm-author
|
||||
# npm author
|
||||
|
||||
> This command is an alias of `npm owner`.
|
||||
|
||||
|
||||
26
tldr/npm-bugs
Normal file
26
tldr/npm-bugs
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# npm bugs
|
||||
|
||||
> Report bugs for a package in a web browser.
|
||||
> Attempts to open the package's bug tracker URL or support email.
|
||||
> More information: <https://docs.npmjs.com/cli/npm-bugs>.
|
||||
|
||||
- Report bugs for a specific package by opening the bug tracker for the specified package:
|
||||
|
||||
`npm bugs {{package_name}}`
|
||||
|
||||
- Open the bug tracker for the current package by searching for a `package.json` file and using its name:
|
||||
|
||||
`npm bugs`
|
||||
|
||||
- Configure the browser used to open URLs by setting your preferred browser for `npm` commands:
|
||||
|
||||
`npm config set browser {{browser_name}}`
|
||||
|
||||
- Control URL opening: set `browser` to `true` for the system URL opener, or `false` to print URLs in the terminal:
|
||||
|
||||
`npm config set browser {{true|false}}`
|
||||
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Add line numbers, and indentation guides:
|
||||
|
||||
`rich {{path/to/file.py}} --line-number --guides`
|
||||
`rich {{path/to/file.py}} --line-numbers --guides`
|
||||
|
||||
- Apply a theme:
|
||||
|
||||
|
||||
@@ -9,4 +9,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr choco-push`
|
||||
`tldr choco push`
|
||||
|
||||
@@ -30,6 +30,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`yt-dlp --extract-audio --audio-format {{mp3}} --audio-quality {{0}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- Download only the second, fourth, fifth, sixth, and last items in a playlist (the first item is 1, not 0):
|
||||
|
||||
`yt-dlp --playlist-items 2,4:6,-1 "{{https://youtube.com/playlist?list=PLbzoR-pLrL6pTJfLQ3UwtB-3V4fimdqnA}}"`
|
||||
|
||||
- Download all playlists of a YouTube channel/user keeping each playlist in a separate directory:
|
||||
|
||||
`yt-dlp -o "{{%(uploader)s/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s}}" "{{https://www.youtube.com/user/TheLinuxFoundation/playlists}}"`
|
||||
|
||||
Reference in New Issue
Block a user