Skip to content

Instantly share code, notes, and snippets.

View key's full-sized avatar

Mitsukuni Sato key

View GitHub Profile
@kiowa
kiowa / fakesouth.py
Created April 12, 2011 15:46
A fake south database support file.
"""
Nice fake South database driver in case you are mixing supported/unsupported databases.
Usage: Update your settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'mydb',
'USER': 'mydb',
#!/bin/sh
#
# Copyright (c) 2010 Shinnosuke Suzuki <sasasin@sasasin.net>
# You can distribute this file under the GPL.
#
# Modified by TADA Tadashi <t@tdtds.jp>
#
FILE=$1
if [ -z $FILE ]; then
echo usage: pdf2kindle PDFfile [top bottom left right]