""" | |
Originaly code was taken from: http://djangosnippets.org/snippets/290/ | |
But I was made some improvements like: | |
- print URL from what queries was | |
- don't show queries from static URLs (MEDIA_URL and STATIC_URL, also for /favicon.ico). | |
- If DEBUG is False tell to django to not use this middleware | |
- Remove guessing of terminal width (This breaks the rendered SQL) | |
""" | |
try: | |
import cProfile as profile |
""" | |
setup: | |
pip install requests | |
pip install requests[socks] | |
super helpful: | |
- http://packetforger.wordpress.com/2013/08/27/pythons-requests-module-with-socks-support-requesocks/ | |
- http://docs.python-requests.org/en/master/user/advanced/#proxies | |
""" |
mkvirtualenv pythondotorg | |
workon pythondotorg | |
git clone (github url) | |
pip install -r pythondotorg/requirements.txt | |
add2virtualenv . | |
add2virtualenv pythondotorg |
# fab <command> - to manage fabric | |
{spawn, exec} = require 'child_process' | |
fabric_path = process.env.HUBOT_FABRIC_PATH | |
fabric_bin = "cd " + fabric_path + " && fab " | |
module.exports = (robot) -> | |
robot.respond /(fab|fabric) ?([\w .-]+)/i, (msg) -> | |
if msg.match[2] != undefined | |
if msg.match[2] == "help" |
http://amyklamet.com/rss.php | |
http://archaeology.biodiversity.ku.edu/rss.xml | |
http://computation.llnl.gov/rss.xml | |
http://dhumc.com/site/feed/ | |
http://finalfridayslawrence.wordpress.com/feed/ | |
http://freestateflyfishers.org/feed/ | |
http://heritagebaptistchurch.cc/wp-content/plugins/nextgen-gallery/xml/media-rss.php | |
http://kansaspublicradio.org/index.php?format=feed&type=atom | |
http://kansaszencenter.org/?feed=rss | |
http://lawrenceartscenter.org/comments/feed/ |
web: gunicorn hello:app |
Greetings from the Amazon Associates Program.
We are writing from the Amazon Associates Program to notify you that your Associates account will be closed and your Amazon Services LLC Associates Program Operating Agreement will be terminated effective August 27, 2013. This is a direct result of the unconstitutional Missouri state tax collection legislation passed by the state legislature and signed by Governor Nixon on July 5, 2013, with an effective date of August 28, 2013. As a result, we will no longer pay any advertising fees for customers referred to an Amazon Site after August 27 nor will we accept new applications for the Associates Program from Missouri residents.
Please be assured that all qualifying advertising fees earned prior to August 28, 2013 will be processed and paid in full in accordance with your regular advertising fee schedule. Based on your account closure date of August 27, 2013, any final payments will be paid by October 31, 2013.
While we oppose this unconstitutional state legislati