mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 12:48:33 +00:00
Update cheatsheets
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
@@ -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
37
tldr/linux/uci
Normal 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
37
tldr/linux/yakuake
Normal 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>}}`
|
||||
@@ -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):
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user