Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-29 00:20:46 +00:00
parent b758660fa5
commit 44de08faea
28 changed files with 364 additions and 37 deletions

View File

@@ -11,7 +11,7 @@ source: https://github.com/tldr-pages/tldr.git
- Open a specific URL or file:
`chromium {{https://example.com|path/to/file.html}}`
`chromium {{https://example.com|path o ile.html}}`
- Open in incognito mode (use `--inprivate` for Microsoft Edge):
@@ -31,11 +31,11 @@ source: https://github.com/tldr-pages/tldr.git
- Open with a custom profile directory:
`chromium --user-data-dir {{path/to/directory}}`
`chromium --user-data-dir {{path o\directory}}`
- Open without CORS validation (useful to test an API):
`chromium --user-data-dir {{path/to/directory}} --disable-web-security`
`chromium --user-data-dir {{path o\directory}} --disable-web-security`
- Open with a DevTools window for each tab opened:

View File

@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
- Open a specific URL or file:
`msedge {{https://example.com|path/to/file.html}}`
`msedge {{https://example.com|path o ile.html}}`
- Open in InPrivate mode:
@@ -32,11 +32,11 @@ source: https://github.com/tldr-pages/tldr.git
- Open with a custom profile directory:
`msedge --user-data-dir {{path/to/directory}}`
`msedge --user-data-dir {{path o\directory}}`
- Open without CORS validation (useful to test an API):
`msedge --user-data-dir {{path/to/directory}} --disable-web-security`
`msedge --user-data-dir {{path o\directory}} --disable-web-security`
- Open with a DevTools window for each tab opened:

12
tldr/windows/scb Normal file
View File

@@ -0,0 +1,12 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# scb
> This command is an alias of `Set-Clipboard`.
- View documentation:
`tldr Set-Clipboard`

View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# Set-Clipboard
> Powershell command to set content to clipboard.
> Note: `scb` can be used as an alias for `Set-Clipboard`.
> More information: <https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-clipboard>.
- Copy text to the clipboard:
`Set-Clipboard -Value "{{text}}"`
- Copy multiple texts to clipboard separated by new line:
`Set-Clipboard -Value @("{{text 1}}", "{{text 2}}", "{{text 3}}")`
- Copy files or directories to clipboard:
`Set-Clipboard -Path "{{path/to/files_or_directories}}"`
- Copy multiple files:
`Set-Clipboard -Path "{{path/to/file1}}","{{path/to/file2}}","{{path/to/file3}}"`
- To clear the clipboard:
`Set-Clipboard ""`