Skip to content

Instantly share code, notes, and snippets.

pep8_compliant = MyObject(
"this is quite a long string that is"
"going to go on for quite a while",
"but it's a different string to this one."
)
sane = MyObject(
"this is quite a long string that is"
"going to go on for quite a while",
"but it's a different string to this one."

philippine-defense-squad.txt v 0.1

This text file seeks to become a comprehensive listing of all instances of times when Filipinos overreact to criticism (both deserved and undeserved) by descending upon the subject like a swarm of angry bees and inflicting their wrath through letters, blogs, Photoshop contests, and other zany means of reaction. Anyone who figures out how to contact me is welcome to contribute.

  • the spoon incident in Canada, which really turned out to be the fault of the boy;
  • former Chief Justice Isagani Cruz's comments against gays;
  • Art Bell's racist comments against Pinoys, actually a hoax
  • Digital Pinay incident
  • Filipinos getting angry over the Faye Nicole San Juan incident, which later turned out to be a hoax
  • the Subic Rape Case
@dstufft
dstufft / wsgi.py
Created March 15, 2012 22:37 — forked from CMcDonald82/wsgi.py for Gondor
Gondor wsgi.py
import os, sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir, os.pardir)))
sys.path.insert(0, os.path.abspath(os.path.join(os.path.abspath(os.path.dirname(__file__)), os.pardir)))
from django.core.handlers.wsgi import WSGIHandler
os.environ["DJANGO_SETTINGS_MODULE"] = "settings"
application = WSGIHandler()
@dstufft
dstufft / kaa.py
Created October 31, 2011 23:23 — forked from maxcountryman/kaa.py
A very simple non-blocking IRC bot using gevent
import gevent
from gevent import socket, queue
from gevent.ssl import wrap_socket
import logging
logger = logging.getLogger('irc')
logger.setLevel(logging.DEBUG)
ch = logging.StreamHandler()