Make passmenu Show GUI Pinentry When Using Pinentry Curses by Default
Let’s take a look at how to use a GUIRead more…
pinentryfor one program, and
cursesfor everything else.
Readline .inputrc Configuration Examples
These are some of my favoriteRead more…
Sudo With Examples
I’ve recently finished “Sudo Mastery” by Michael W. Lucas. He’s a great and fun author that writes both technical guides and novels. I bought his "$ git commit murder" some years ago and was sold.
This post is basically a write-down of what I learned aboutRead more…
sudofrom his book.
Read File into JSON List with jq
You have a file and you want to convert the contents into a JSON list. How can we leverageRead more…
jqto do that?
Pipe to Multiple Commands with Bash
Sometimes it’s handy to filter the output of a command (withRead more…
grep, for example) while still having the column names (the first line) available. How do we go about that?
Maven's Versions Plugin Updates All Your Dependencies With a Single Command
It’s a good habit to use the latest versions of the dependencies you use. Not only because the updated version might contain new features or better performance (one can hope), but also because bugs are fixed and security issues are tackled. If you go about it by hand, however, updating dependencies is a boring and tedious task. Luckily for us, there is the MavenRead more…
versionsplugin to help us.
Oracle Sqlplus in a Small Docker Container
When you only need Sql*Plus, it’s good to have a small Docker image that you can use. This post will look at how to create this Docker image.Read more…
Automatic Rollback of Transactions in Spring Tests
@Transactionalon your test class or methods and test-managed transactions will automatically be rollbacked.
SQL Injection in Bash Scripts
When working on making a small application with a Zenity GUI, I ask the user for input. I need to somehow sanitize this input, or I will leave the gates wide open for two problems:
In this blog post, I’m going to look at a solution for the first problem.Read more…
Skipping or Selectively Running Tests With Maven
You might not always want to execute all tests. Sometimes you only want to run a single unit test, or only integrations tests that start withRead more…
Foo. Let’s look at how to make this happen in Maven.