This guide assumes a fresh install of Mac OSX 10.7 Lion.
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
for i in *; do cd $i; ../../bin/django makemessages -a; cd ..; done |
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
import sys | |
import PIL.Image | |
sys.modules['Image'] = PIL.Image |
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
def lazy_translation_getter(self, name, default=None): | |
""" | |
Lazy translation getter that fetches translations from DB in case the instance is currently untranslated and | |
saves the translation instance in the translation cache | |
""" | |
stuff = self.safe_translation_getter(name, NoTranslation) | |
if stuff is not NoTranslation: | |
return stuff |
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
brew switch freetype 2.5.0.1 | |
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install PIL==1.1.7 --allow-external PIL --allow-unverified PIL |
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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
*.pyc | |
*.pyo |
I hereby claim:
- I am alesdotio on github.
- I am alesdotio (https://keybase.io/alesdotio) on keybase.
- I have a public key whose fingerprint is 87FE 605F 5C52 1F3F 8463 2CF2 B771 384A 906F 27A1
To claim this, I am signing this object: