I hereby claim:
- I am jpadilla on github.
- I am jpadilla (https://keybase.io/jpadilla) on keybase.
- I have a public key whose fingerprint is 6120 BB14 9792 D8E9 A371 B03C AAE3 EF57 9B29 87B1
To claim this, I am signing this object:
$ ./manage.py syncdb | |
Traceback (most recent call last): | |
File "./manage.py", line 19, in <module> | |
execute_from_command_line(sys.argv) | |
File "/Users/jpadilla/.virtualenvs/notaso/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line | |
utility.execute() | |
File "/Users/jpadilla/.virtualenvs/notaso/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/Users/jpadilla/.virtualenvs/notaso/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv | |
self.execute(*args, **options.__dict__) |
import os | |
import subprocess | |
import atexit | |
import signal | |
from django.conf import settings | |
from django_extensions.management.commands.runserver_plus import Command\ | |
as StaticfilesRunserverCommand | |
ubuntu@precise64:/vagrant$ convert -list format | |
Format Mode Description | |
------------------------------------------------------------------------------- | |
3FR r-- Hasselblad CFV/H3D39II | |
A* rw+ Raw alpha samples | |
AAI* rw+ AAI Dune image | |
AI rw- Adobe Illustrator CS2 | |
ART* rw- PFS: 1st Publisher Clip Art | |
ARW r-- Sony Alpha Raw Image Format | |
AVI r-- Microsoft Audio/Visual Interleaved |
[{ | |
"url": "http://www.elnuevodia.com/marchanenreclamoalosderechosparalasmujeres-1727566.html", | |
"id": "1727566", | |
"comments": [{ | |
"username": "\u20aclvis", | |
"comment": "La discriminacion hacia la mujer comenzo tres mil a\u00f1os atras en el viejo testamento donde la santisima biblia del amoroso y misericordioso dios culpa a las mujeres de todo pecado y aun asi estas lo adoran, veneran y lo llaman amor. Eclesi\u00e1stico 25:24 Por la mujer comenz\u00f3 el pecado, y por la mujer todos morimos.", | |
"num": 1, | |
"date": "8 marzo 2014 01:10 p.m." | |
}], | |
"title": "Marchan en reclamo a los derechos para las mujeres" |
I hereby claim:
To claim this, I am signing this object:
$ python3 | |
Fatal Python error: Py_Initialize: unable to load the file system codec | |
LookupError: no codec search functions registered: can't find encoding | |
Abort trap: 6 | |
$ python | |
Python 2.7.6 (default, Feb 18 2014, 11:14:59) | |
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
Traceback (most recent call last): |
To run locally, you must have MongoDB running on defaults. The default db name is speedtests If not, go ahead and set an environment variable, MONGOHQ_URL.
mongodb://user:pass@localhost:10047/dbname
You should then create a user with an apiKey. You'll use this as a part of your store URL for speedtests.py.
from rest_framework import serializers | |
class CharacterSeparatedField(serializers.WritableField): | |
""" | |
A field that separates a string with a given separator into | |
a native list and reverts a list into a string separated with a given | |
separator. | |
""" | |
def __init__(self, *args, **kwargs): |
import re | |
from django.utils.encoding import force_text | |
from django.core.exceptions import ValidationError | |
class DomainNameValidator(object): | |
""" | |
Domain name validator adapted from Django's EmailValidator. | |
""" |
{ | |
"method":"GET", | |
"url": "/api/projects/", | |
"data": { | |
"status": "active" | |
} | |
} |