Update cheatsheets

This commit is contained in:
ivuorinen
2024-11-28 00:18:46 +00:00
parent ead6469b35
commit a5ee1ec716
3 changed files with 40 additions and 7 deletions

View File

@@ -10,20 +10,20 @@ source: https://github.com/tldr-pages/tldr.git
- Display the file header information:
`objdump -f {{binary}}`
`objdump -f {{path/to/binary}}`
- Display all header information:
`objdump -x {{binary}}`
`objdump -x {{path/to/binary}}`
- 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:
`objdump -s {{binary}}`
`objdump -s {{path/to/binary}}`

View File

@@ -19,4 +19,4 @@ source: https://github.com/tldr-pages/tldr.git
- 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
View 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 ...}}`