mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 20:52:14 +00:00
Update cheatsheets
This commit is contained in:
@@ -29,9 +29,9 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
`bun pm hash`
|
`bun pm hash`
|
||||||
|
|
||||||
- Print the path to Bun's global module cache:
|
- List the current untrusted dependencies that contain scripts:
|
||||||
|
|
||||||
`bun pm cache`
|
`bun pm untrusted`
|
||||||
|
|
||||||
- Migrate another package manager's lockfile without installing anything:
|
- Migrate another package manager's lockfile without installing anything:
|
||||||
|
|
||||||
|
|||||||
17
tldr/bun-pm-cache
Normal file
17
tldr/bun-pm-cache
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# bun pm cache
|
||||||
|
|
||||||
|
> Manage Bun's cache.
|
||||||
|
> More information: <https://bun.com/docs/pm/cli/pm#cache>.
|
||||||
|
|
||||||
|
- Display the path to the global module cache:
|
||||||
|
|
||||||
|
`bun pm cache`
|
||||||
|
|
||||||
|
- Clear the global module cache:
|
||||||
|
|
||||||
|
`bun pm cache rm`
|
||||||
18
tldr/bun-pm-trust
Normal file
18
tldr/bun-pm-trust
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# bun pm trust
|
||||||
|
|
||||||
|
> Mark dependencies as trusted.
|
||||||
|
> See also: `bun pm untrusted`.
|
||||||
|
> More information: <https://bun.com/docs/pm/cli/pm#trust>.
|
||||||
|
|
||||||
|
- Trust a specific dependency and add it to `trustedDependencies`:
|
||||||
|
|
||||||
|
`bun pm trust {{dependency_name}}`
|
||||||
|
|
||||||
|
- Trust all currently untrusted dependencies:
|
||||||
|
|
||||||
|
`bun pm trust --all`
|
||||||
30
tldr/linux/alpaca
Normal file
30
tldr/linux/alpaca
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, linux]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# alpaca
|
||||||
|
|
||||||
|
> A graphical frontend to chat with Ollama models.
|
||||||
|
> See also: `ollama`.
|
||||||
|
> More information: <https://jeffser.com/alpaca/launch-options.html>.
|
||||||
|
|
||||||
|
- Launch Alpaca and start a new chat:
|
||||||
|
|
||||||
|
`alpaca --new-chat "{{chat_title}}"`
|
||||||
|
|
||||||
|
- Open Quick Ask with a message:
|
||||||
|
|
||||||
|
`alpaca --ask "{{message}}"`
|
||||||
|
|
||||||
|
- List all activities that can be launched with `--activity`:
|
||||||
|
|
||||||
|
`alpaca --list-activities`
|
||||||
|
|
||||||
|
- Open an activity:
|
||||||
|
|
||||||
|
`alpaca --activity {{activity}}`
|
||||||
|
|
||||||
|
- List all current chats:
|
||||||
|
|
||||||
|
`alpaca --list-chats`
|
||||||
18
tldr/linux/ascii-xfr
Normal file
18
tldr/linux/ascii-xfr
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, linux]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# ascii-xfr
|
||||||
|
|
||||||
|
> Transfer files using the ASCII protocol.
|
||||||
|
> Part of `minicom`.
|
||||||
|
> More information: <https://manned.org/ascii-xfr>.
|
||||||
|
|
||||||
|
- Send a file:
|
||||||
|
|
||||||
|
`ascii-xfr -s {{path/to/file}}`
|
||||||
|
|
||||||
|
- Receive a file:
|
||||||
|
|
||||||
|
`ascii-xfr -r {{path/to/file}}`
|
||||||
Reference in New Issue
Block a user