Skip to content

Instantly share code, notes, and snippets.

@notnotrobby
notnotrobby / cgp.md
Last active December 8, 2025 09:45
List of free resources to study computer graphics programming.
@TechRH1
TechRH1 / hi
Created December 28, 2022 20:43
U/4BCgoKAAAAAAAAAAAAAAAAAAAAAB//AAAAAAAKCgoAAAAAAAAAAAAAAAAAAAAA3/8KAAAAAAoKCgAAAAAAAAAAAAAAAAAAAAAAAAsAAAAACgoKAAAAAAAA9AP0A/VYAAAAAB//DAgEAAoKCgAAAAD1WAAAAAAAAAAAAADf/w0AAAAACgoKAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAKCgoAAAAAAAD1WPVY9q0AAAAAH/8PCAQACgoKAAAAAPatAAAAAAAAAAAAAN//EAAAAAAKCgoAAAAAAAAAAAAAAAAAAAAAAAARAAAAAAoKCgAAAAAAAPat9q34AgAAAAAf/xIIBAAKCgoAAAAA+AIAAAAAAAAAAAAA3/8TAAAAAAoKCgAAAAAAAAAAAAAAAAAAAAAAABQAAAAACgoKAAAAAAAA+AL4AvlXAAAAAB//FQgEAAoKCgAAAAD4AgAAAAAAAAAAAADf/xYAAAAACgoKAAAAAAAAAAAAAAAAAAAAAAAAFwAAAAAKCgoAAAAAAAD4rfit+VcAAAAAH/8YCAQACgoKAAAAAPgCAAAAAAAAAAAAAN//GQAAAAAKCgoAAAAAAAAAAAAAAAAAAAAAAAAaAAAAAAoKCgAAAAAAAPlX+Vf5VwAAAAAf/xsIBAAKCgoAAAAAAAAAAAAAAAAAAAAA3/8cAAAAAAoKCgAAAAAAAAAAAAAAAAAAAAAAAB0AAAAACgoKAAAAAPVYAAAAAAAAP/8AAAAAHgAAAAAKCgoAAAAAAAAAAAAAAAC//wAAAAAfAAAAAAoKCgAA/Vb7vfat9q32rQcc+OIf/yAICAAKCgoAAAAAAqr4rfit/AEAAAAAH/8gCAQACgoKAAAAAPKu+K34rfqsCqr1VB6TIAgIAAoKCvok+iQAAP1W/Vb5Vwcc+OIAACMIDAAKCgoAAPwBAqr0A/gC9q0AAAAAAAAgCAwCCgoKCVP6rAAA/AH8AfwBCqoKqgAAJQgMAgoKCv+aAAAH/vys/Kz7VwAA/HAAACYI
@dxdxdt
dxdxdt / fuckyou-gmail.en.md
Last active September 7, 2023 17:44
What to do when Gmail marks all the mails from your server as spam

What to do when Gmail marks all the mails from your server as spam

If you're self-hosting your services and having trouble getting your emails through Gmail and infuriated by Google's non-existent support, you're not the only one. I'd like to share my experiences trying to get it sorted out.

I'm the author of the post above. You can tell how arrogant Google employees are from all the previous posts he made in the past.

@shafik
shafik / WhatIsStrictAliasingAndWhyDoWeCare.md
Last active December 3, 2025 17:13
What is Strict Aliasing and Why do we Care?

What is the Strict Aliasing Rule and Why do we care?

(OR Type Punning, Undefined Behavior and Alignment, Oh My!)

What is strict aliasing? First we will describe what is aliasing and then we can learn what being strict about it means.

In C and C++ aliasing has to do with what expression types we are allowed to access stored values through. In both C and C++ the standard specifies which expression types are allowed to alias which types. The compiler and optimizer are allowed to assume we follow the aliasing rules strictly, hence the term strict aliasing rule. If we attempt to access a value using a type not allowed it is classified as undefined behavior(UB). Once we have undefined behavior all bets are off, the results of our program are no longer reliable.

Unfortunately with strict aliasing violations, we will often obtain the results we expect, leaving the possibility the a future version of a compiler with a new optimization will break code we th