How to use the
openssl command-line to verify whether certs are valid.
YAML library to pretty-print YAML files from the command-line.
How to (more) safely pipe
stdin to an elevated command with
How to take a pretty-printed JSON string and replace it with a minifed JSON string using Python.
How to take a pretty-printed JSON string and replace it with a minifed JSON string using Ruby.
This is a great resource to highlight the difficulty of creating temporary files safely - something I've tried to share before but without these great examples. Its especially bad if using a shared CI/CD server and putting downloaded files into /tmp as you don't know whether it'll be clobbered / stolen by others on the instance
This is a great post - I thoroughly recommend learning how to use common commandline tools such as
sed, but also adopting a scripting language for more complicated stuff. I don't mean Bash, or another shell scripting language, but something like Node, Python or Ruby, as it'll give you the opportunity for a greater standard library, as well as tonnes of packages built by others.
by . Tagged with: command-line (19) .
How to rewrite multiple JSON files inline on the Command Line.
How to view an X.509 DER certificate's fingerprint using
How to view an X.509 PEM certificate's fingerprint using
Setting the default AWS profile when working with multiple profiles and the AWS CLI / SDKs.
How to convert an X.509 DER file to a human-readable format using
How to convert an X.509 PEM file to a human-readable format using