Category: Code
Accessing and manipulating a 32bit integer as a byte array in C++ using unions
I don’t think I’ve ever used union for anything, but today I came across a very interesting use case to…
Things to remember when compiling/linking C/C++ software
Things to remember when compiling/linking C/C++ software by Angel Leon. March 17, 2015; Last update on December 14, 2023 Updated…
How to enable source highlighting when doing `less mycodefile.ext`
How to enable source highlighting when doing less mycodefile.ext Install source-highlight sudo apt install source-highlight Configure it on your .bash_profile…
Pascal Triangle Generator in Python, and then in Haskell – The Gubatron Method
Here’s in python, imperatively, and then in functional style without the need for loops. This file contains bidirectional Unicode text…