Create new organization, team and project in https://getsentry.com/
Install raven, do not forget to add to requirements.txt:
pip install raven
Add raven to the list of installed apps:
INSTALLED_APPS = INSTALLED_APPS + (
# ...
| import re | |
| from django import forms | |
| from django.core.exceptions import ValidationError | |
| class CLABEField(forms.Field): | |
| """ | |
| Django form field for the mexican CLABE (Clave Bancaria Estandarizada, | |
| Spanish for "standardized banking cipher"), a banking standard for the |
Create new organization, team and project in https://getsentry.com/
Install raven, do not forget to add to requirements.txt:
pip install raven
Add raven to the list of installed apps:
INSTALLED_APPS = INSTALLED_APPS + (
# ...
| import json | |
| with open ("/Users/nabuco/Library/Application Support/Google/Chrome/Default/Bookmarks") as f: | |
| caca = json.load(f) | |
| bookmarks = caca['roots']['other']['children'][0]['children'][1]['children'] | |
| for obj in dookmarks: | |
| print obj['url'] |
| #!/bin/bash | |
| # Source: http://blog.nonuby.com/blog/2012/07/05/copying-env-vars-from-one-heroku-app-to-another/ | |
| set -e | |
| sourceApp="$1" | |
| targetApp="$2" | |
| while read key value; do |
Made by Nabuco (http://nomadblue.com/).
Note: Substitute [params] with the proper values.
Start server installed from Homebrew:
Made by Nabuco (http://nomadblue.com/).
Note: Substitute [params] with the proper values.
Start server installed from Homebrew:
| # -*- mode: shell-script -*- | |
| # | |
| # Made by Nabuco (http://www.nomadblue.com/). | |
| # This script destroys and re-creates the postgresql project database | |
| # with a new backup generated and downloaded from Heroku project app. | |
| # | |
| # WARNING: You need to be collaborator of the Heroku app. Also please | |
| # note that this script downloads a backup file which is not removed | |
| # afterwards, so be careful not to commit it into your repo by mistake. |