-
Cookies
Under what circumstances cookies are accepted or rejected by user agents and send back to web servers can be a bit confusing. Let’s experiment a bit.
Read more… -
Create Self-Signed TLS Cert With Wildcard
Let’s create a self-signed certificate that contains a wildcard Subject Alternative Name (SAN).
Read more… -
Overwrite File Without Truncating
In Bash, when you open a file for writing, the file gets truncated. However, there is a way to open a file for both reading and writing at the same time.
Read more… -
Bash's exec Replaces Shell
This is a quick look at Bash’s
Read more…exec
builtin with a simple example. -
Commands in Pipelines Are Executed in Subshells
Let’s have a look at another one of those gotchas that can bite you while scripting in Bash: processes that are part of a pipeline all run in subshells.
Read more… -
Create Persistent Connections to Processes Using FIFOs
In this post, we are going to make a Bash script interact with an HTTP server and have multiple exchanges using the same connection by leveraging named pipes/FIFOs.
Read more… -
Upgrade Password Hashing Method for Existing Users
When you’ve been using the same Linux system for a while, you might want to upgrade the password hashing methods used. This article explains how to discover the methods supported by your system, set the preferred method and then upgrade the password hashes to make use of the new hashing method.
Read more… -
Maven Wrapper Integrity Validation
Maven is modular. It uses plugins to achieve its goals. These plugins are downloaded when they are invoked.
Read more… -
Prevent Exit When Receiving SIGPIPE with Pipefail Set
When a program that is part of a pipeline quits, it closes its stdin and stdout. Programs that produce the input for the quitted process may still try to write to its stdin. Since they cannot, they will receive a SIGPIPE from the kernel.
Read more… -
Create MacOS App Bundle from Script
I’m going to show how to create the smallest possible MacOS app bundle we can: one that simply executes a Bash script. Then, I’m going to expand a bit on that and add an icon to it. I’ll also show how open a Terminal app window so we can see the script’s output in it.
Read more…