This is only a test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* | |
File: | |
Change Page Guide Position.applescript | |
Abstract: | |
This script would change the position of the page guide for the active | |
document in BBEdit. If scripting the page guide position was possible. :( | |
Version: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First, install vcprompt. | |
brew update | |
brew tap homebrew/headonly | |
brew install --HEAD vcprompt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Request Method: GET | |
Request URL: http://localhost:8000/ | |
Django Version: 1.5 | |
Python Version: 3.3.0 | |
Installed Applications: | |
('foo',) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Usage:: | |
pip install gitpython | |
cd <repo> | |
analyze-repo | |
""" | |
from __future__ import absolute_import, division, print_function, unicode_literals |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} |