Require a Specific Version of the C++ Standard Using CMake

A CMake command that tells the compiler to use a specific version of the C++ standard.

Advertisements

Fixing Ubuntu’s Kernel Panic During Boot After an Update

When booting after a "sudo apt upgrade", I was faced with a black screen and a blinking "Caps Lock" keyboard LED. In this post, I explain how I fixed the situation.

Checking the Existence of a C++ Class Member at Compile Time

A compile-time method for checking the existence of a class member (attribute or method)

Downloading and Decompressing an Archive in One Command

A handy Bash function that downloads an archive and decompresses it in a custom directory. The function combines `wget`, `pv` and `tar` in a single pipeline.

Fixing Ubuntu in Recovery Mode

How to boot Ubuntu in "Recovery Mode" then fix common problems. A simple and straight-to-the-point method.

Compiling Python and LibPython Statically Using Musl-Libc

A simple method for building static versions of LibPython and the Python interpreter using the "musl libc" C Standard Library implementation. Tested using both Clang and GCC.