I hereby claim:
- I am ellmetha on github.
- I am ellmetha (https://keybase.io/ellmetha) on keybase.
- I have a public key whose fingerprint is D17B 04A9 A96A 5FCB 43D9 38DF C1B4 CF7D 5E72 50BC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
sudo mount -t ramfs none /mnt/ | |
sudo mkdir /mnt/pgdata/ | |
sudo chown postgres:postgres /mnt/pgdata/ | |
sudo service postgresql start | |
psql -d postgres -c "CREATE TABLESPACE ramfs LOCATION '/mnt/pgdata'" | |
psql -d postgres -c "CREATE DATABASE testdb TABLESPACE ramfs" |
#!/bin/bash | |
# Python 2.7 installation | |
mkdir -p $HOME/.python/src | |
cd $HOME/.python/src | |
wget https://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz --no-check-certificate | |
tar xvfz Python-2.7.6.tgz | |
cd Python-2.7.6 | |
mkdir $HOME/.python/python2.7 | |
./configure --prefix=$HOME/.python/python2.7 |
# -*- coding: utf-8 -*- | |
"""Refactor South migrations to use settings.AUTH_USER_MODEL. | |
Inserts a backwards-compatible code-snippet in all | |
your schema migration files and uses a possibly customized user | |
model as introduced in Django 1.5. | |
Please note that this has nothing to do with changing | |
settings.AUTH_USER_MODEL to a new model. If you do this, stuff | |
will very likely break in reusable apps that have their own | |
migration trees. |
#look also | |
# https://github.com/dcramer/django-ratings/blob/master/djangoratings/fields.py | |
from django.core.exceptions import ValidationError | |
from django.db.models import Field, CharField | |
__all__ = ['MultiColumnField'] | |
try: | |
from hashlib import md5 |
#!/bin/bash | |
# A script to prepare and install a Raspbian system on a SD Card. | |
# | |
# ellmetha - 04/2013 | |
# Distributed under the GPL version 3 license | |
# | |
VERSION="1.0" | |
INIT_DIR=$PWD | |