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 time | |
def Main(): | |
#Main Logic | |
while True: | |
if GPIO.input(12): | |
startTime = time.time() | |
while (time.time() - startTime) < TIMEOUT: | |
if GPIO.input(12): | |
return 2 |
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
LOWER = string.ascii_lowercase | |
UPPER = string.ascii_uppercase | |
DIGITS = string.digits | |
def shift(cipher, key): | |
search_space = DIGITS | |
text = "" | |
for sel in cipher: | |
if sel in LOWER: |
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
window.onload = function(){ | |
document.onkeypress = function(e){ | |
if (e.shiftKey && e.ctrlKey && e.key == 'z'){ | |
alert("Fuckboi 101") | |
} | |
} | |
} |