mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 18:56:54 +00:00
Update cheatsheets
This commit is contained in:
@@ -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 oile.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:
|
||||
|
||||
|
||||
@@ -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 oile.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
12
tldr/windows/scb
Normal 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`
|
||||
30
tldr/windows/set-clipboard
Normal file
30
tldr/windows/set-clipboard
Normal 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 ""`
|
||||
Reference in New Issue
Block a user