Skip to content

Instantly share code, notes, and snippets.

View micahsgilbert's full-sized avatar

Micah Gilbert micahsgilbert

View GitHub Profile
(lambda s,w:w.open(s))((lambda q:((''.join([chr(ord(i)-1)for i in"iuuqt"])+":"+q[8]*int(len(q)/9)+''.join([chr(ord(i)+4)for i in "ukqpq"])+"."+q[-1]+q[int(str(5**4)[-1])-1]+"/dQw"+str(2**2)+chr(119)+q[-4]+"Wg"+chr(int(2*str(2**3)))+"cQ")))("a3DvedQg/w12c09X/b"),__import__("a4DvedQg/w12c09X/b"["a3DvedQg/w12ca9X/b".index("a3Dvedag/w12b09X/bssa".split("/")[1][0])]+"e"+2*chr(0o142)+'r'.join(['','s'.join(["ow","e"]),''])))

Keybase proof

I hereby claim:

  • I am micahsgilbert on github.
  • I am micahsgilbert (https://keybase.io/micahsgilbert) on keybase.
  • I have a public key whose fingerprint is D431 F685 E81D EA48 12C9 2340 A922 B2EF A912 48AC

To claim this, I am signing this object:

import random
# Change these files to the ones you want.
SOURCE_FILE = "origs/therepublic.txt"
OUT_FILE = "out/therepublic.txt"
def loadFile(fn):
with open(fn, encoding="ISO-8859-1") as f:
return f.read()
@micahsgilbert
micahsgilbert / rgbClock.pyde
Created May 2, 2018 01:08
It's a clock that I designed. It's pretty cool. You should try it, modify the code, and then make me feel inadequate with your revisions.
def XY(angle,r):
return (r*sin(angle))+width/2,(r*cos(angle)*-1)+height/2,angle
def setup():
global res
global unitCoords
fullScreen()
colorMode(HSB, TWO_PI, 1, 1)
if width < height:
res = width
global cells
global iters
global compairisons
global seed
global startTime
#Game Of Life Implementation in Processing
#Micah Gilbert, 2018
#File syntax:
# '1' indicates a cell at that position