This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAts8DWbPM6w83b5XZo5wy5VnsBHuBKnSSacsU+01Ua10CwLJVGafdQXotlsKZJN3p+g1nraXS08zofLyKhuTLtsZk0I/7airiwL8XkY9ltlKFxSPotjSdnyv8sJiA5rQJKSnzrd2PXNX6Z3tVqP/y7VfU25yVnV5Goum1K9liVHh+KKu80NXjxj9W8ftLaaf85wJnoOP8EZofSKVWWnM7CBy8KeSKTttVUXb7r53cJs4i/HMd2++6DQi8J2J08VRf/Yl43fjrAp+I8fjXvMo+PwijtGLjdvAPFTXfevEN5UL6XcM/2FW/rlVA6lWb63+pc/3M+ETIppvIOqwWtSAfoQ== entityreborn@gmail.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import mechanize | |
| import os, sys | |
| KILOBYTE = 1024 | |
| MEGABYTE = KILOBYTE * KILOBYTE | |
| BUFFER = MEGABYTE / 2 | |
| NOISY = False | |
| def noisyPrint(text, rn=True): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| text = "abcdefgh" | |
| split = 2 | |
| print "Original: %s" % text | |
| def encode(text, split): | |
| textout = "" | |
| for x in xrange(0, split): | |
| textout += text[x::split] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import downloader | |
| import re | |
| import sys | |
| from PyQt4 import QtGui, QtCore | |
| def getIcon(number): | |
| image = QtGui.QPixmap(16, 16) | |
| font = QtGui.QFont('terminal', 5) | |
| font.setStretch(150) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from threading import RLock | |
| from collections import defaultdict | |
| import traceback | |
| class Hookable(object): | |
| NONEVALUE = object() | |
| def __init__(self): | |
| self.hooks = defaultdict(list) | |
| self.hooklock = RLock() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os, sys | |
| import traceback | |
| import mechanize | |
| KILOBYTE = 1024 | |
| MEGABYTE = KILOBYTE * KILOBYTE | |
| BUFFER = MEGABYTE / 2 | |
| class Downloader(object): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from threading import RLock | |
| import traceback | |
| class Hook(object): | |
| NONEVALUE = object() | |
| def __init__(self, doc=None): | |
| if doc: | |
| self.__doc__ = doc | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from threading import RLock | |
| import traceback, inspect | |
| class BadArgLength(AttributeError): pass | |
| class Subscriber(object): | |
| def __init__(self, func, subscriberargs): | |
| self.func = func | |
| self.args = subscriberargs | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from sqlalchemy.ext.declarative import declarative_base | |
| from sqlalchemy import Column, Integer, String | |
| from sqlalchemy import ForeignKey, DateTime, create_engine | |
| from sqlalchemy.orm import sessionmaker, relationship, backref | |
| from datetime import datetime | |
| Base = declarative_base() | |
| class Ingredient(Base): | |
| __tablename__ = 'ingredients' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from sqlalchemy.ext.declarative import declarative_base | |
| from sqlalchemy import Column, Integer, String, Table | |
| from sqlalchemy import ForeignKey, DateTime, create_engine | |
| from sqlalchemy.orm import sessionmaker, relationship, backref | |
| from datetime import datetime | |
| Base = declarative_base() | |
| class Ingredient(Base): | |
| __tablename__ = 'ingredients' |