Skip to content

Instantly share code, notes, and snippets.

View Metacinnabar's full-sized avatar
🟢

Charlie Metacinnabar

🟢
  • /home/metacinnabar/
View GitHub Profile
r -16777216 | color_int >> 16 & 255
g -16777216 | color_int >> 8 & 255
b -16777216 | color_int >> 0 & 255
a -16777216 | color_int >> 24 & 255
|  bitwise OR
>> bitwise shift right
&  bitwise AND

example:
@Metacinnabar
Metacinnabar / keeb-build.md
Last active December 16, 2021 07:52
Notes, links, and prices for a custom keyboard build.