Update cheatsheets

This commit is contained in:
ivuorinen
2026-02-26 00:25:28 +00:00
parent 9cde8e71ca
commit 626abade0f
3 changed files with 48 additions and 1 deletions

14
tldr/bun-pm-scan Normal file
View 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
View 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`

View File

@@ -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: