Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-22 00:29:12 +00:00
parent 49187d6be0
commit d4d392941e
3 changed files with 16 additions and 4 deletions

12
tldr/codium Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# codium
> This command is an alias of `code`.
- View documentation for the original command:
`tldr code`

View File

@@ -15,11 +15,11 @@ source: https://github.com/tldr-pages/tldr.git
- Initialize a Java class (useful for scripting):
`jbang init --template={{cli}} {{path/to/file.java}}`
`jbang init {{[-t|--template]}}={{cli}} {{path/to/file.java}}`
- Use `jshell` to explore and use a script and any dependencies in a REPL editor:
`jbang run --interactive`
`jbang run {{[-i|--interactive]}}`
- Setup a temporary project to edit a script in an IDE:

View File

@@ -38,6 +38,6 @@ source: https://github.com/tldr-pages/tldr.git
`wpctl set-volume {{[-l|--limit]}} 1 {{id}} {{n}}%-`
- Mute/Unmute a sink (1 is mute, 0 is unmute):
- Mute/Unmute the default audio sink or source (1 is mute, 0 is unmute):
`wpctl set-mute {{id}} {{1|0|toggle}}`
`wpctl set-mute @DEFAULT_{{SINK|SOURCE}}@ {{1|0|toggle}}`