mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 15:02:40 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/codium
Normal file
12
tldr/codium
Normal 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`
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user