Last active
July 7, 2024 20:39
-
-
Save andreburgaud/e021e91e353994225e5e to your computer and use it in GitHub Desktop.
Infinite Campus We Are Cyber Savvy T-shirt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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