Skip to content

Instantly share code, notes, and snippets.

2015-04-13 16:58:39 -0700
./configure
--disable-debug
--disable-dependency-tracking
--prefix=/usr/local/Cellar/phash/0.9.6_1
--enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
2015-05-20 19:56:18 -0700
./configure
--disable-debug
--disable-dependency-tracking
--prefix=/usr/local/Cellar/phash/0.9.6_1
--enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
2015-05-20 19:57:53 -0700
./configure
--disable-debug
--disable-dependency-tracking
--prefix=/usr/local/Cellar/phash/0.9.6_1
--enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
(app-ticket6904)bash-3.2$ curl http://github.com/api/v1/json/nicksieger | python -msimplejson.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5635 100 5635 0 0 25522 0 --:--:-- --:--:-- --:--:-- 143k
{
"user": {
"blog": "http://blog.nicksieger.com/",
"email": "nick@nicksieger.com",
"login": "nicksieger",
"name": "Nick Sieger",
"""
Copyright (c) 2008-2009, Nathan Borror, and modified heavily by Eric Florenzano
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list
of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this
(when (load "flymake" t)
(load "flymake-cursor" t)
(defun flymake-pyflakes-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))
(local-file (file-relative-name
temp-file
(file-name-directory buffer-file-name))))
(list "/PATH/TO/YOUR/pyflakes" (list local-file))))
from uuid import uuid1
from simplejson import dumps, loads
from urlparse import urlparse
from httplib import HTTPConnection
class Client(object):
def __init__(self, server):
self.server = server
url_parts = urlparse(server)
self.port = url_parts.port
# Copypasta of Django's runserver management command, modified to use gunicorn http://github.com/benoitc/gunicorn
import os
import signal
import sys
import threading
import time
from optparse import make_option
import random
import time
from eventlet import patcher, greenpool, pools
patcher.monkey_patch()
import simplegeo
LAYER = 'your.layer.identifier.here'
OAUTH_KEY = 'YOUR OAUTH KEY HERE'
<ul>
{{#tweets}}
<li>{{text}}</li>
{{/tweets}}
</ul>