Skip to content

Instantly share code, notes, and snippets.

View swilcox's full-sized avatar
🎙️

Steven Wilcox swilcox

🎙️
View GitHub Profile
@swilcox
swilcox / sphinx.rb
Last active January 15, 2016 02:47 — forked from alexstubbs/sphinx.rb
Brew formula for install sphinx 0.9.8.1 based on homebrew formula sphinx 2.0.4 git checkout 8dbb32e /usr/local/Library/Formula/sphinx.rb
require 'formula'
class Libstemmer < Formula
# upstream is constantly changing the tarball,
# so doing checksum verification here would require
# constant, rapid updates to this formula.
head 'http://snowball.tartarus.org/dist/libstemmer_c.tgz'
homepage 'http://snowball.tartarus.org/'
end
import redis
from django.conf import settings
from django.core.signals import request_finished
try:
from eventlet.corolocal import local
except ImportError:
from threading import local