mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 23:50:03 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/feh
10
tldr/feh
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# feh
|
||||
|
||||
> Lightweight image viewing utility.
|
||||
> More information: <https://feh.finalrewind.org>.
|
||||
> More information: <https://man.finalrewind.org/1/feh/>.
|
||||
|
||||
- View images locally or using a URL:
|
||||
|
||||
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- View images recursively:
|
||||
|
||||
`feh --recursive {{path/to/images}}`
|
||||
`feh {{[-r|--recursive]}} {{path/to/images}}`
|
||||
|
||||
- View images without window borders:
|
||||
|
||||
`feh --borderless {{path/to/images}}`
|
||||
`feh {{[-x|--borderless]}} {{path/to/images}}`
|
||||
|
||||
- Set the behavior when reaching the beginning or end of the image list:
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Use a specific slideshow cycle delay:
|
||||
|
||||
`feh --slideshow-delay {{seconds}} {{path/to/images}}`
|
||||
`feh {{[-D|--slideshow-delay]}} {{seconds}} {{path/to/images}}`
|
||||
|
||||
- Use a specific wallpaper mode (centered, filled, maximized, scaled or tiled):
|
||||
|
||||
@@ -34,4 +34,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a montage of all images within a directory, outputting as a new image:
|
||||
|
||||
`feh --montage --thumb-height {{150}} --thumb-width {{150}} --index-info "{{%nn%wx%h}}" --output {{path/to/montage_image.png}}`
|
||||
`feh {{[-m|--montage]}} {{[-E|--thumb-height]}} {{150}} {{[-y|--thumb-width]}} {{150}} --index-info "{{%nn%wx%h}}" {{[-o|--output]}} {{path/to/montage_image.png}}`
|
||||
|
||||
25
tldr/linux/mkvpropedit
Normal file
25
tldr/linux/mkvpropedit
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mkvpropedit
|
||||
|
||||
> Modify properties of existing Matroska files without a complete remux.
|
||||
> More information: <https://mkvtoolnix.download/doc/mkvpropedit.html>.
|
||||
|
||||
- Delete title:
|
||||
|
||||
`mkvpropedit {{[-d|--delete]}} title {{path/to/file.mkv}}`
|
||||
|
||||
- Mark subtitle track 3 as SDH - Subtitles for deaf and hearing impared:
|
||||
|
||||
`mkvpropedit {{path/to/file.mkv}} {{[-e|--edit]}} track:s3 {{[-s|--set]}} flag-hearing-impaired=1`
|
||||
|
||||
- Mark audio track 2 as Default:
|
||||
|
||||
`mkvpropedit {{path/to/file.mkv}} {{[-e|--edit]}} track:a2 {{[-s|--set]}} flag-default=1`
|
||||
|
||||
- Delete the name of video track 1:
|
||||
|
||||
`mkvpropedit {{path/to/file.mkv}} {{[-e|--edit]}} track:v1 {{[-d|--delete]}} name`
|
||||
25
tldr/linux/systemctl-soft-reboot
Normal file
25
tldr/linux/systemctl-soft-reboot
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl soft-reboot
|
||||
|
||||
> Shut down and reboot userspace, leaving the kernel running.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#soft-reboot>.
|
||||
|
||||
- Perform a soft reboot immediately:
|
||||
|
||||
`systemctl soft-reboot`
|
||||
|
||||
- Force a soft reboot:
|
||||
|
||||
`systemctl soft-reboot --force`
|
||||
|
||||
- Schedule a soft reboot for a specific time:
|
||||
|
||||
`systemctl soft-reboot --when "{{timestamp}}"`
|
||||
|
||||
- Cancel a scheduled soft reboot:
|
||||
|
||||
`systemctl soft-reboot --when cancel`
|
||||
17
tldr/linux/systemctl-suspend-then-hibernate
Normal file
17
tldr/linux/systemctl-suspend-then-hibernate
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl suspend-then-hibernate
|
||||
|
||||
> Suspend the system, then automatically hibernate after a period of inactivity.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#suspend-then-hibernate>.
|
||||
|
||||
- Suspend the system and hibernate after the configured delay:
|
||||
|
||||
`systemctl suspend-then-hibernate`
|
||||
|
||||
- Force suspend-then-hibernate (bypass inhibitor locks):
|
||||
|
||||
`systemctl suspend-then-hibernate --force`
|
||||
12
tldr/pulumi-stack-hist
Normal file
12
tldr/pulumi-stack-hist
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pulumi stack hist
|
||||
|
||||
> This command is an alias of `pulumi stack history`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr pulumi stack history`
|
||||
29
tldr/pulumi-stack-history
Normal file
29
tldr/pulumi-stack-history
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pulumi stack history
|
||||
|
||||
> Display history for a stack.
|
||||
> More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_stack_history/>.
|
||||
|
||||
- Display history for the current stack:
|
||||
|
||||
`pulumi stack {{[hist|history]}}`
|
||||
|
||||
- Display history for the current stack showing full dates instead of relative dates:
|
||||
|
||||
`pulumi stack {{[hist|history]}} --full-dates`
|
||||
|
||||
- Display history for the current stack in JSON format:
|
||||
|
||||
`pulumi stack {{[hist|history]}} {{[-j|--json]}}`
|
||||
|
||||
- Display history for a specific stack:
|
||||
|
||||
`pulumi stack {{[hist|history]}} {{[-s|--stack]}} {{stack_name}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`pulumi stack {{[hist|history]}} {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user