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
#!/usr/bin/env python3 | |
import random | |
def printen(strr): | |
print(strr, end='') | |
PANEL_ON = "https://staging.cohostcdn.org/attachment/f4e82b02-9cce-4da5-a768-9b9e90271b7b/panel1.png" | |
PANEL_OFF = "https://staging.cohostcdn.org/attachment/91402e8b-ad9b-4bc2-a710-9f4b411b1229/panel2.png" |
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
#!/usr/bin/env python3 | |
import random | |
from math import floor, sin | |
def printen(strr): | |
print(strr, end='') | |
drawers = [ | |
["https://staging.cohostcdn.org/attachment/d305d6ee-247d-4a2c-8554-08d1769271ca/0007.png", | |
"https://staging.cohostcdn.org/attachment/41f6e39e-a678-47dc-93f7-750045bf7004/0009.png", | |
"https://staging.cohostcdn.org/attachment/25d5915d-4757-4526-b303-996be4e24d1e/0008.png"], |
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
#!/usr/bin/env python3 | |
def printen(strr): | |
print(strr, end='') | |
adventure = [ | |
'''welcome to the <b>choost adventure engine!</b> | |
would you like to play a game?''', | |
{ |
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
=== the cpu itself === | |
registers: | |
unsigned, 16 bit. | |
user accessible: | |
ax,bx,cx,dx,ex,fx,gx,hx | |
inaccessible: | |
ip (instruction pointer) |
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
I was thinking of what it would take to have a function like: | |
decrypt_if_input_valid(encrypted_data, input) | |
this function checks if the input satisfies some criteria, and if it does it will decrypt the data. | |
suppose our input is a list of numbers, and our criteria is "each number has to be at most 2 away from the number 378." writing this is fairly straightforward | |
however, if we want to distribute this function, it is trivial for someone to decompile it and see what it's checking for. is it possible to use cryptography to hide our validation criteria so we can run our code on insecure systems? |
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
// PUBLIC DOMAIN CRT STYLED SCAN-LINE SHADER | |
// | |
// by Timothy Lottes | |
// | |
// This is more along the style of a really good CGA arcade monitor. | |
// With RGB inputs instead of NTSC. | |
// The shadow mask example has the mask rotated 90 degrees for less chromatic aberration. | |
// | |
// Left it unoptimized to show the theory behind the algorithm. |
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
// PUBLIC DOMAIN CRT STYLED SCAN-LINE SHADER | |
// | |
// by Timothy Lottes | |
// | |
// This is more along the style of a really good CGA arcade monitor. | |
// With RGB inputs instead of NTSC. | |
// The shadow mask example has the mask rotated 90 degrees for less chromatic aberration. | |
// | |
// Left it unoptimized to show the theory behind the algorithm. |
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
// | |
// PUBLIC DOMAIN CRT STYLED SCAN-LINE SHADER | |
// | |
// by Timothy Lottes | |
// | |
// This is more along the style of a really good CGA arcade monitor. | |
// With RGB inputs instead of NTSC. | |
// The shadow mask example has the mask rotated 90 degrees for less chromatic aberration. | |
// | |
// Left it unoptimized to show the theory behind the algorithm. |
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
Barnfinders 2 | |
Scooby-doo Jeopardy | |
Are You Smarter Than a 5th Grader Gaiden: Revenge of Jeff Foxworthy | |
Cash Cab Online 2k17 | |
Family Guy: Fates | |
Trembling Hand Perfect Equilibrium | |
Honey I Shrunk The Kids! Retribution | |
Twin Peaks for the Nintendo DSi | |
Pawnstars: Battle Royale | |
Professor Layton and the Inland Empire |
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
#!/usr/bin/env python3 | |
from ctypes import * | |
L=CDLL("libc.so.6") | |
C=CDLL("libclutter-1.0.so.0") | |
G=CDLL("libgobject-2.0.so.0") | |
def K(F,*V): | |
F.restype=c_void_p | |
F.argtypes=[c_void_p]*len(V) | |
return F(*V) | |
K(C.clutter_init,0) |