Skip to content

Instantly share code, notes, and snippets.

View keimlink's full-sized avatar
🐍
Still in love with Python and Django

Markus Zapke-Gründemann keimlink

🐍
Still in love with Python and Django
View GitHub Profile
@keimlink
keimlink / gist:990768
Created May 25, 2011 10:44
Django Fehler in Log schreiben
diff --git a/src/cookbook/local_settings.py b/src/cookbook/local_settings.py
--- a/src/cookbook/local_settings.py
+++ b/src/cookbook/local_settings.py
@@ -2,7 +2,7 @@
from settings import SITE_ROOT
-DEBUG = True
+DEBUG = False
TEMPLATE_DEBUG = DEBUG
@keimlink
keimlink / gist:953554
Created May 3, 2011 15:34
My .hgrc file
[ui]
username = Markus Zapke-Gründemann <info@keimlink.de>
ignore = ~/.hgignore
fallbackencoding = utf8
ssh = ssh -C
[alias]
slog = log --style=/Users/zappi/.hgtemplates/mercurial-cli-templates/map-cmdline.slog
nlog = log --style=/Users/zappi/.hgtemplates/mercurial-cli-templates/map-cmdline.nlog
sglog = glog --style=/Users/zappi/.hgtemplates/mercurial-cli-templates/map-cmdline.sglog
@keimlink
keimlink / gist:953549
Created May 3, 2011 15:32
My .profile file
# General settings
export DISPLAY=:0.0
export EDITOR=/usr/bin/vim
export LC_ALL=en_US.UTF-8
# Private paths
export PYTHONPATH="/Users/zappi/Projekte/Python"
export PATH="/Users/zappi/bin:/usr/texbin/:${PATH}"
# Bash completion
@keimlink
keimlink / gist:831633
Created February 17, 2011 12:37
Startup script for the Supervisor server (RHEL)
#!/bin/bash
#
# Startup script for the Supervisor server
#
# Tested with Red Hat Enterprise Linux Server release 5.5
#
# chkconfig: 2345 85 15
# description: Supervisor is a client/server system that allows its users to \
# monitor and control a number of processes on UNIX-like \
# operating systems.