mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 13:53:34 +00:00
Update cheatsheets
This commit is contained in:
14
tldr/bun-pm-scan
Normal file
14
tldr/bun-pm-scan
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# bun pm scan
|
||||
|
||||
> Scan packages for security vulnerabilities using Bun's integrated security scanner.
|
||||
> This scan also runs automatically during `bun install` after configuring the scanner in `bunfig.toml` and installing `@bun-security-scanner/osv` from npm.
|
||||
> More information: <https://bun.com/docs/pm/security-scanner-api>.
|
||||
|
||||
- Scan dependencies for vulnerabilities:
|
||||
|
||||
`bun pm scan`
|
||||
29
tldr/koboldcpp
Normal file
29
tldr/koboldcpp
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# koboldcpp
|
||||
|
||||
> An AI text-generation application for GGML and GGUF models.
|
||||
> More information: <https://github.com/LostRuins/koboldcpp/wiki#command-line-arguments-reference>.
|
||||
|
||||
- Load one or more model files:
|
||||
|
||||
`koboldcpp {{[-m|--model]}} {{path/to/model_file}}`
|
||||
|
||||
- Set port to listen on (defaults to 5001):
|
||||
|
||||
`koboldcpp --port {{port}}`
|
||||
|
||||
- Set amount of threads to use:
|
||||
|
||||
`koboldcpp {{[-t|--threads]}} {{amount_of_threads}}`
|
||||
|
||||
- Launch web browser when boot is complete:
|
||||
|
||||
`koboldcpp --launch`
|
||||
|
||||
- Start without the GUI launcher:
|
||||
|
||||
`koboldcpp --skiplauncher`
|
||||
@@ -18,7 +18,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create using a specific Python version:
|
||||
|
||||
`uv venv --python {{3.12}}`
|
||||
`uv venv {{[-p|--python]}} {{3.12}}`
|
||||
|
||||
- Include seed packages such as `pip` when creating the virtual environment:
|
||||
|
||||
`uv venv --seed`
|
||||
|
||||
- Create with a custom prompt prefix:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user