Category: Linux
-
Upgrading to Ubuntu Jellyfish 22.04
As of yesterday, April 21st, Ubuntu 22.04 Jammy Jellyfish is available for download and upgrade. If you are trying to install from the Software Updater from an earlier version of Ubuntu (I only use LTS ones, for example, and was on 20.04) you won’t be able to install it from the GUI (it will only…
-
How to Make Verified GitHub Commits
Created by M. Massenzio, 2021-12-24 GitHub has a set of detailed instructions, however, if you know your way around a Linux shell and basic understanding of how keys work, this is a condensed TL;DR version. Also, with minimal effort it could be automated in a shell script (even uploading the key to GitHub via API).…
-
Reorder Workspaces in Ubuntu
By holding the “Windows” key on a Microsoft keyboard, in Ubuntu, you get a MacOS-like view where you can move apps across workspaces; this is a super-useful features (and complements well the Shift-Alt-Up/Down combination to move windows across workspaces), however it does miss the ability to also move workspaces around. There is an excellent extension…
-
Docker ENTRYPOINT (and a note about $@)
This is something I keep forgetting, so I figure I’ll write it down so it’s here for future reference. General rule: use the exec form of ENTRYPOINT, in other words do this: As expected, this will run apache in the foreground, with PID 1 (unless you’re being a complete idiot and using hostPID – see…
-
Modern C++: Implementing a Merkle Tree
Merkle Trees store a hash of the sub-tree in each of the Nodes, so that the whole tree’s contents can be validated against tampering.They are used, for example, in Bitcoin’s blockchain, and in Cassandra to validate replicas.In this article, we will show how to implement a generic Merkle Tree using features of Modern C++. Previous…