Skip to content

Instantly share code, notes, and snippets.

@andreburgaud
Last active July 7, 2024 20:39
Show Gist options
  • Save andreburgaud/e021e91e353994225e5e to your computer and use it in GitHub Desktop.
Save andreburgaud/e021e91e353994225e5e to your computer and use it in GitHub Desktop.
Infinite Campus We Are Cyber Savvy T-shirt
import sys
tshirt = [
0b01001001, 0b01101110, 0b01100110, 0b01101001,
0b01101110, 0b01101001, 0b01110100, 0b01100101,
0b00100000, 0b01000011, 0b01100001, 0b01101101,
0b01110000, 0b01110101, 0b01110011, 0b00100000,
0b01001001, 0b00100000,
0b01110111, 0b01110010,
0b01101001, 0b01110100,
0b01100101, 0b00100000,
0b01110011, 0b01100101,
0b01100011, 0b01110101,
0b01110010, 0b01100101,
0b00100000, 0b01100011,
0b01101111, 0b01100100,
0b01100101, 0b00100000, 0b01001001,
0b00100000, 0b01110100, 0b01100101,
0b01110011, 0b01110100, 0b00100000, 0b01110011,
0b01100101, 0b01100011, 0b01110101, 0b01110010,
0b01100101, 0b00100000, 0b01100011, 0b01101111,
0b01100100, 0b01100101, 0b00100000, 0b01001001,
0b00100000, 0b01100100, 0b01100101, 0b01110000,
0b01101100, 0b01101111, 0b01111001, 0b00100000,
0b01110011, 0b01100101, 0b01100011, 0b01110101,
0b01110010, 0b01100101, 0b00100000, 0b01100011,
0b01101111, 0b01100100, 0b01100101
]
for c in tshirt:
sys.stdout.write(chr(c))
print()
import sys
s = "Infinite Campus I write secure code I test secure code I deploy secure code"
cpt = 0
for c in s:
sys.stdout.write("{:08b} ".format(ord(c)))
cpt += 1
if cpt % 4 == 0:
print()
print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment