Skip to content

Instantly share code, notes, and snippets.

View 0xflotus's full-sized avatar
👨‍💻
coding

0xflotus

👨‍💻
coding
View GitHub Profile
@0xflotus
0xflotus / g1.js
Last active January 22, 2022 05:12
for (let x = 0; x < 0x100; ++x) {
for (let y = 0; y < 0x100; ++y) {
if ((x | y) % 0xe) {
fillRect(x * 2, y * 2, 2, 2);
}
}
}
@0xflotus
0xflotus / sem.py
Last active January 23, 2022 04:42
__version__ = '3.7.12'
out = 3 << 0x10 \
| 7 << 0x08 \
| 12 << 0x00
0x3070c == out