mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
Update cheatsheets
This commit is contained in:
2
tldr/!
2
tldr/!
@@ -3,7 +3,7 @@ syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# Exclamation mark
|
||||
# !
|
||||
|
||||
> Reuse and expand the shell history in `sh`, Bash, Zsh, `rbash` and `ksh`.
|
||||
> More information: <https://gnu.org/software/bash/manual/bash.html#Event-Designators>.
|
||||
|
||||
29
tldr/claude
Normal file
29
tldr/claude
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# claude
|
||||
|
||||
> An agent-based coding tool that understands your code base and helps you code faster through natural language commands.
|
||||
> More information: <https://docs.anthropic.com/en/docs/claude-code/overview>.
|
||||
|
||||
- Execute with prompt:
|
||||
|
||||
`claude prompt`
|
||||
|
||||
- Update `claude`:
|
||||
|
||||
`claude update`
|
||||
|
||||
- Get the list of specified MCP servers:
|
||||
|
||||
`claude mcp list`
|
||||
|
||||
- Create commit with command:
|
||||
|
||||
`claude commit`
|
||||
|
||||
- Get the list of configurations:
|
||||
|
||||
`claude config list`
|
||||
37
tldr/flask-unsign
Normal file
37
tldr/flask-unsign
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# flask-unsign
|
||||
|
||||
> A tool to brute-force, decode and craft `Flask` session cookies.
|
||||
> More information: <https://github.com/Paradoxis/Flask-Unsign>.
|
||||
|
||||
- Decode a Flask session cookie:
|
||||
|
||||
`flask-unsign {{[-d|--decode]}} {{[-c|--cookie]}} {{cookie}}`
|
||||
|
||||
- Decode a session cookie fetched from a URL which returns a `Set-Cookie` header:
|
||||
|
||||
`flask-unsign {{[-d|--decode]}} --server {{URL}}`
|
||||
|
||||
- Brute-force a secret key using the default flask-unsign-wordlist (requires `flask-unsign-wordlist`):
|
||||
|
||||
`flask-unsign {{[-u|--unsign]}} {{[-c|--cookie]}} {{cookie}}`
|
||||
|
||||
- Brute-force a secret key with a custom wordlist (use `--no-literal-eval` for unquoted entries):
|
||||
|
||||
`flask-unsign {{[-u|--unsign]}} {{[-c|--cookie]}} {{cookie}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}}`
|
||||
|
||||
- Sign a new session cookie with a secret key:
|
||||
|
||||
`flask-unsign {{[-s|--sign]}} {{[-c|--cookie]}} {{"{'logged_in': False}"}} {{[-S|--secret]}} {{secret}}`
|
||||
|
||||
- Sign a session cookie using legacy timestamp (useful for old versions):
|
||||
|
||||
`flask-unsign {{[-s|--sign]}} {{[-c|--cookie]}} {{"{'logged_in': False}"}} {{[-S|--secret]}} {{secret}} {{[-l|--legacy]}}`
|
||||
|
||||
- Brute-force a session cookie with custom threads and no literal evaluation:
|
||||
|
||||
`flask-unsign {{[-u|--unsign]}} {{[-c|--cookie]}} {{cookie}} {{[-w|--wordlist]}} {{path/to/wordlist.txt}} {{[-t|--threads]}} {{threads}} {{[-nE|--no-literal-eval]}}`
|
||||
@@ -24,10 +24,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`gamescope {{[-r|--nested-refresh]}} 30 -- %command%`
|
||||
|
||||
- Launch Steam in Big Picture Mode and integrate with gamescope:
|
||||
|
||||
`gamescope {{[-e|--steam]}} -- /usr/bin/steam -tenfoot`
|
||||
|
||||
- Toggle fullscreen:
|
||||
|
||||
`<Super f>`
|
||||
|
||||
- Show help:
|
||||
- Display help:
|
||||
|
||||
`gamescope --help`
|
||||
|
||||
@@ -18,7 +18,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display CPU statistics:
|
||||
|
||||
`iostat -c`
|
||||
`iostat {{[-c|--compact]}}`
|
||||
|
||||
- Display disk statistics with disk names (including LVM):
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`ipcs {{[-l|--limits]}} {{--bytes|--human}}`
|
||||
|
||||
- Show s[u]mmary about current usage:
|
||||
- Show summary about current usage:
|
||||
|
||||
`ipcs {{[-u|--summary]}}`
|
||||
|
||||
|
||||
@@ -11,4 +11,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Initialize a project for `libtool` by copying necessary files (avoiding symbolic links) and overwriting existing files if needed:
|
||||
|
||||
`libtoolize {{[-c|--copy]}} {{[-f|--force]}}`
|
||||
`libtoolize {{[-cf|--copy --force]}}`
|
||||
|
||||
25
tldr/markdown2pdf
Normal file
25
tldr/markdown2pdf
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# markdown2pdf
|
||||
|
||||
> Convert markdown to PDF.
|
||||
> More information: <https://github.com/theiskaa/markdown2pdf>.
|
||||
|
||||
- Convert a Markdown file to a PDF:
|
||||
|
||||
`markdown2pdf {{[-p|--path]}} {{path/to/input_file.md}}`
|
||||
|
||||
- Convert a Markdown file to a PDF with a specific path:
|
||||
|
||||
`markdown2pdf {{[-p|--path]}} {{path/to/input_file.md}} {{[-o|--output]}} {{path/to/output_file.pdf}}`
|
||||
|
||||
- Convert Markdown content provided as a string:
|
||||
|
||||
`markdown2pdf {{[-s|--string]}} {{markdown_text}} {{[-o|--output]}} {{path/to/output_file.pdf}}`
|
||||
|
||||
- Convert from URL (this will convert a Markdown file at that URL to a local PDF file):
|
||||
|
||||
`markdown2pdf {{[-u|--url]}} {{URL}} {{[-o|--output]}} {{path/to/output_file.pdf}}`
|
||||
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
> Start a shell in which the specified packages are available.
|
||||
> See also: `nix-shell` for setting up development environments, `nix flake` for information about flakes.
|
||||
> More information: <https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-shell.html>.
|
||||
> More information: <https://manned.org/nix3-shell>.
|
||||
|
||||
- Start an interactive shell with some packages from `nixpkgs`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user