- (Random Room sizes)[https://github.com/Escartem/3-manifold] By (Escartem)[https://github.com/Escartem]
- (My Map)[https://github.com/PyMaster22/3-manifold] By (PyMaster22)[https://github.com/PyMaster22]
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 math | |
class Vector: | |
"""a stupid vector class cause why not""" | |
def __init__(self,x,y): | |
"""initalize self with x and y""" | |
if((type(x)not in[int,float])or(type(y)not in[int,float])):raise TypeError("no") | |
self.x=x | |
self.y=y | |
def __repr__(self): | |
return(f"V({self.x},{self.y})") |
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
def underload(code,stack=[],out="",emulator=0): | |
depth=0 | |
tmp="" | |
for cmd in code: | |
try: | |
if(depth==0): | |
if(cmd=="~"): | |
tmp1=stack[-1] | |
tmp2=stack[-2] | |
stack[-1]=tmp2 |
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 os, math | |
key_name = input("Private key name: ") | |
try: security = int(input("Secity level:\n[1] 1024\n[2] 2048\n[3] 4096\n[4] Custom\n\n[3]")) | |
except ValueError: security = 3 | |
if(security == 4): security = math.log2(int(input("Bits: "))) - 9 | |
cmd = "openssl genpkey -algorithm RSA -out ./"+key_name+" -pkeyopt rsa_keygen_bits:"+str(2 ** (int(security) + 9))+";openssl rsa -in ./"+key_name+" -pubout -out ./"+key_name+".pub" | |
os.system(cmd) |
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
| | /\ | |== | === |== |== | |
|==| /==\ | |== | | |== |== | |
| | / \ |=== | |=== === | |== | |
/\ | \ / \ / | |
/==\ | | X | |
/ \ |=== | / \ |