Skip to content

Instantly share code, notes, and snippets.

View be1's full-sized avatar

Benoît Rouits be1

View GitHub Profile
@jul
jul / python_makes_me_sexy.py
Created April 28, 2012 21:55
telling a story in python
#!/usr/bin/env python
me = "freaky"
print "before I was %s" % me
from re import compile as cum
twist = lambda x : str(x).encode("rot-13")
D = 8
print "I was always thinking of s%sx" % chr(int( "".join(reduce( lambda x : x+y , cum("(.)(.)").findall("69") ))))
print "coding transformed me the following way"
print "I became %s" % (8==D and twist(cum( "(.)(.).(y)").sub( twist("x") + 'v' + twist(chr(69)) + chr(69), me)))
@MattMencel
MattMencel / zimbra-soap.txt
Created June 7, 2010 17:37
Zimbra 6.0.4 soap.txt file from docs
REST URL for requesting content:
http://server/service/home/[˜][{username}]/[{folder}]?[{query-params}]
fmt={ics, csv, etc}
id={item-id}
imap_id={item-imap-id}
part={mime-part}
query={search-query}
types={types} // when searching
auth={auth-types}