I hereby claim:
- I am gtback on github.
- I am gtback (https://keybase.io/gtback) on keybase.
- I have a public key ASATyJvd8l0FlyHcZzX3GX_W75DHV6BcnczYciWnW43ZHQo
To claim this, I am signing this object:
#!/usr/bin/env python | |
from lxml import etree | |
print "lxml.etree: ", etree.LXML_VERSION | |
print "libxml used: ", etree.LIBXML_VERSION | |
print "libxml compiled: ", etree.LIBXML_COMPILED_VERSION | |
print "libxslt used: ", etree.LIBXSLT_VERSION | |
print "libxslt compiled: ", etree.LIBXSLT_COMPILED_VERSION |
class X(object): | |
@classmethod | |
def dostuff(cls, arg): | |
print "In X.dostuff: %s, %s" % (cls, arg) | |
class Y(X): | |
@classmethod | |
def dostuff(cls, arg): |
#!/usr/bin/env python | |
""" | |
Extract malware from Contagio Zip files, determining the password | |
automatically. | |
Note that the password for each zip file consists of a common base password | |
along with the last character of the file name (prior to the .zip extension). | |
If you don't know the base password, please contact Mila directly. |
#!/bin/bash | |
cd ../.git/hooks | |
echo PWD: $PWD | |
for i in $( ls ../../hooks ); do | |
echo command: ln -s ../../hooks/$i . | |
ln -v -sf ../../hooks/$i . | |
done |
a = "QCRWBUWGBHTIB" | |
for key in range(26): | |
print(key, "".join([chr((ord(x) - ord("A") + key) % 26 + ord("A")) for x in a])) |
I hereby claim:
To claim this, I am signing this object:
def generator(): | |
for x in range(10): | |
yield x | |
class Turnstyle: | |
def __init__(self): | |
self.counter = 0 | |
def count(self, iterable): | |
for item in iterable: |
# This version from https://web.archive.org/web/20160823204639/https://www-rohan.sdsu.edu/doc/sed.html | |
HANDY ONE-LINERS FOR SED (Unix stream editor) Mar. 23, 2001 | |
compiled by Eric Pement <[email protected]> version 5.1 | |
Latest version of this file is usually at: | |
http://www.student.northpark.edu/pemente/sed/sed1line.txt | |
http://www.cornerstonemag.com/sed/sed1line.txt | |
This file is also available in Portuguese at: | |
http://www.lrv.ufsc.br/wmaker/sed_ptBR.html |