I hereby claim:
- I am benspaulding on github.
- I am benspaulding (https://keybase.io/benspaulding) on keybase.
- I have a public key whose fingerprint is 20B3 BFB1 AD12 033F 0774 85F5 970F 8167 377B 92A4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| INSTALLED_APPS = ( | |
| # ... | |
| ) | |
| # Skip migrations for tests | |
| MIGRATION_MODULES = { | |
| # Assumes that all values in INSTALLED_APPS are simply a package containing | |
| # an application, not an application configuration class. | |
| app.split('.').pop(): '{0}.migrations_not_used_in_tests'.format(app) for app in INSTALLED_APPS | |
| } |
| git checkout master | |
| git pull | |
| git branch --all --merged master | ack hotfix/ | xargs git branch -d | |
| git checkout dev | |
| git pull | |
| git branch --all --merged dev | ack feature/ | xargs git branch -d | |
| git branch --all --merged origin/master | ack origin/hotfix/ | sed -e 's: remotes\/origin\/::' | xargs git push --delete origingit branch --all --merged origin/master | ack origin/hotfix/ | sed -e 's: remotes\/origin\/::' | xargs git push --delete origin | |
| git branch --all --merged origin/dev | ack origin/feature/ | sed -e 's: remotes\/origin\/::' | xargs git push --delete origin |
| #!/usr/bin/env python | |
| """ | |
| Usage:: | |
| pip install gitpython | |
| cd <repo> | |
| analyze-repo | |
| """ | |
| from __future__ import absolute_import, division, print_function, unicode_literals |
| # Set internal IPs if necessary, for use with debug toolbar. | |
| try: | |
| INTERNAL_IPS | |
| except NameError: | |
| INTERNAL_IPS = [] | |
| INTERNAL_IPS = list(INTERNAL_IPS) + ['127.0.0.1'] | |
| # Install and setup debug toolbar if it is available. |
| Environment: | |
| Request Method: GET | |
| Request URL: http://localhost:8000/ | |
| Django Version: 1.5 | |
| Python Version: 3.3.0 | |
| Installed Applications: | |
| ('foo',) |
| # First, install vcprompt. | |
| brew update | |
| brew tap homebrew/headonly | |
| brew install --HEAD vcprompt |
| diff --git a/faq/search_indexes.py b/faq/search_indexes.py | |
| index 1515984..8032937 100644 | |
| --- a/faq/search_indexes.py | |
| +++ b/faq/search_indexes.py | |
| @@ -1,29 +1,59 @@ | |
| # -*- coding: utf-8 -*- | |
| from haystack import indexes | |
| -from haystack.sites import site | |
| itty starting up (using wsgiref)... | |
| Listening on http://localhost:8080... | |
| Use Ctrl-C to quit. | |
| Traceback (most recent call last): | |
| File "/usr/local/Cellar/python/2.7.2/lib/python2.7/wsgiref/handlers.py", line 85, in run | |
| self.result = application(self.environ, self.start_response) | |
| File "/Users/benspaulding/dev/virtualenv/sample/lib/python2.7/site-packages/itty.py", line 286, in handle_request | |
| return response.send(start_response) | |
| File "/Users/benspaulding/dev/virtualenv/sample/lib/python2.7/site-packages/itty.py", line 253, in send |