mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 06:02:30 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/objdump
12
tldr/objdump
@@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Display the file header information:
|
- Display the file header information:
|
||||||
|
|
||||||
`objdump -f {{binary}}`
|
`objdump -f {{path/to/binary}}`
|
||||||
|
|
||||||
- Display all header information:
|
- Display all header information:
|
||||||
|
|
||||||
`objdump -x {{binary}}`
|
`objdump -x {{path/to/binary}}`
|
||||||
|
|
||||||
- Display the disassembled output of executable sections:
|
- Display the disassembled output of executable sections:
|
||||||
|
|
||||||
`objdump -d {{binary}}`
|
`objdump -d {{path/to/binary}}`
|
||||||
|
|
||||||
- Display the disassembled executable sections in intel syntax:
|
- Display the disassembled executable sections in Intel syntax:
|
||||||
|
|
||||||
`objdump -M intel -d {{binary}}`
|
`objdump -M intel -d {{path/to/binary}}`
|
||||||
|
|
||||||
- Display a complete binary hex dump of all sections:
|
- Display a complete binary hex dump of all sections:
|
||||||
|
|
||||||
`objdump -s {{binary}}`
|
`objdump -s {{path/to/binary}}`
|
||||||
|
|||||||
@@ -19,4 +19,4 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
- Log in to an insecure (HTTP) registry:
|
- Log in to an insecure (HTTP) registry:
|
||||||
|
|
||||||
`podman login --tls-verify false {{registry.example.org}}`
|
`podman login --tls-verify=false {{registry.example.org}}`
|
||||||
|
|||||||
33
tldr/pulumi-config
Normal file
33
tldr/pulumi-config
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
syntax: markdown
|
||||||
|
tags: [tldr, common]
|
||||||
|
source: https://github.com/tldr-pages/tldr.git
|
||||||
|
---
|
||||||
|
# pulumi config
|
||||||
|
|
||||||
|
> Manage configuration of a Pulumi stack.
|
||||||
|
> More information: <https://www.pulumi.com/docs/iac/cli/commands/pulumi_config/>.
|
||||||
|
|
||||||
|
- View current configuration in JSON format:
|
||||||
|
|
||||||
|
`pulumi config --json`
|
||||||
|
|
||||||
|
- Get the value of a configuration key:
|
||||||
|
|
||||||
|
`pulumi config get {{key}}`
|
||||||
|
|
||||||
|
- Remove a configuration value:
|
||||||
|
|
||||||
|
`pulumi config rm {{key}}`
|
||||||
|
|
||||||
|
- Set a value for a configuration key from a file:
|
||||||
|
|
||||||
|
`cat {{path/to/file}} | pulumi config set {{key}}`
|
||||||
|
|
||||||
|
- Set a secret value (e.g. API key) for a configuration key and store/display as ciphertext:
|
||||||
|
|
||||||
|
`pulumi config set --secret {{key}} {{S3cr37_value}}`
|
||||||
|
|
||||||
|
- Remove multiple configuration values from a specified configuration file:
|
||||||
|
|
||||||
|
`pulumi config --config-file {{path/to/file}} rm-all {{key1 key2 ...}}`
|
||||||
Reference in New Issue
Block a user