Snippets
Qui inserisco tutti i miei scripts (di solito in Python).
3 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
lux | Novembre 24, 2006 at 3:50 pm
XChat snippet per prendere l’ultimo kernel stabile Linux:
/py exec __import__(‘xchat’).command(“say %s” % __import__(‘urllib’).urlopen(‘http://www.kernel.org/kdist/finger_banner’).read().splitlines()[0])
2.
foobar | Dicembre 4, 2006 at 4:29 pm
lol, l’ho gia` sentita questa
3.
lux | Giugno 2, 2008 at 4:14 pm
/py exec random = __import__(‘random’);string = __import__(’string’);cs = lambda x: ”.join([random.choice((('',random.choice(string.ascii_lowercase))[y!=' '],”,”,”,”))+random.choice((y, y*random.randint(1,2))) for y in x]);__import__(‘xchat’).command(’say ‘+cs(‘test a’))