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
https://gist.github.com/gubatron/32f82053596c24b6bec6
How to enable source highlighting when doing `less mycodefile.ext`
https://gist.github.com/gubatron/cfcb12cf4840ab85eb1616a0dd628251
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. https://gist.github.com/gubatron/ed966ea4e614d6733715376ad5cfb85f Here’s in Haskell, I call…