Skip to content

Instantly share code, notes, and snippets.

@catupper
Created January 15, 2012 12:16
Show Gist options
  • Select an option

  • Save catupper/1615672 to your computer and use it in GitHub Desktop.

Select an option

Save catupper/1615672 to your computer and use it in GitHub Desktop.
sst="""
import datetime,sys
def put(t,x,y,z):
global st
for i in range(x):
if(([1073733607,2911164709,1067450341,2778089573,1067438055][(z>1)+(z>5)+(z>7)+(z>11)]>>3*ord(t)-144)&y)==y:
sys.stdout.write(st[0])
st=st[1:]+chr(118)
else:sys.stdout.write(chr(32))
def sol(n):
for z in range(14):
for t in n:
put(t,3,1,z)
put(t,7,2,z)
put(t,3,4,z)
sys.stdout.write(" "*2)
sys.stdout.write(chr(10))
d=datetime.datetime.today()
sol(":".join(map(str,[d.hour,d.minute,d.second,d.microsecond])))
f=chr(34)
print chr(34)*3
print "sst=sst.replace("+f+chr(92)+chr(110)+f+","+f+f+").replace("+f+" "+f+","+f+f+").replace("+f+chr(107)+f+","+f+chr(92)+chr(110)+f+").replace("+f+chr(118)+f+","+f+" "+f+")"
print "st=sst.replace("+f+chr(92)+chr(110)+f+","+f+chr(107)+f+").replace("+f+" "+f+","+f+chr(118)+f+")"
print "print "+f+"sst="+f+"+chr(34)*3"
print "exec(sst)"
print " "*160+"#made by catupper#"
"""
sst=sst.replace("k","\n").replace("v"," ")
st=sst.replace("\n","k").replace(" ","v")
print "sst="+chr(34)*3
exec(sst)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment