Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-05 00:18:01 +00:00
parent fe7d7e9145
commit f34ec7a9b3
6 changed files with 79 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
- Load completions in your current shell session (bash/zsh):
`source <(gcrane completion bash/zsh)>`
`source <(gcrane completion bash/zsh)`
- Load completions in your current shell session (fish):

View File

@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
- Screenshot a specific region:
`grim -g "{{<x_position>,<y_position> <width>x<height>}}"`
`grim -g "{{x_position}},{{y_position}} {{width}}x{{height}}"`
- Select a specific region and screenshot it, (using slurp):

37
tldr/linux/uci Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# uci
> Manage OpenWrt configuration files.
> More information: <https://openwrt.org/docs/techref/uci>.
- Fetch a value:
`uci get {{network.lan.ipaddr}}`
- List all options and their values:
`uci show {{network}}`
- Set a value:
`uci set {{config}}.{{section}}.{{option}}={{value}}`
- Add a new section:
`uci add {{config}} {{section}}`
- Delete a section or value:
`uci delete {{config}}.{{section}}.{{option}}`
- Commit changes:
`uci commit {{config}}`
- Discard uncommitted changes:
`uci revert {{config}}`

37
tldr/linux/yakuake Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# yakuake
> A drop-down terminal for KDE.
> More information: <https://manned.org/man/yakuake>.
- Start up Yakuake:
`yakuake`
- Toggle Yakuale visibility:
`<F12>`
- Toggle fullscreen mode:
`<F11>`
- Open a new tab:
`<Ctrl Shift t>`
- Switch between tabs:
`<Shift {{ArrowLeft|ArrowRight}}>`
- Create terminal splits:
`<Ctrl {{)|(}}>`
- Switch between splist:
`{{<Ctrl Tab>|<Ctrl Shift Tab>}}`

View File

@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
- Load completions in your current shell session (bash/zsh):
`source <(gcrane completion bash/zsh)>`
`source <(gcrane completion bash/zsh)`
- Load completions in your current shell session (fish):

View File

@@ -12,9 +12,9 @@ source: https://github.com/tldr-pages/tldr.git
`pulumi stack init {{stack_name}}`
- View the stack state:
- Show the stack state along with resource URNs:
`pulumi stack`
`pulumi stack --show-urns`
- List stacks in the current project: