MySQLdb as non-compressed egg
Posted in snippets on Sep 28th, 2009
Bash | copy code |? 1$ unzip MySQL_python-1.2.2-py2.5-linux-i686.egg
http://stackoverflow.com/questions/268025/install-mysqldb-for-python-as-non-compressed-egg
Posted in snippets on Sep 28th, 2009
Bash | copy code |? 1$ unzip MySQL_python-1.2.2-py2.5-linux-i686.egg
http://stackoverflow.com/questions/268025/install-mysqldb-for-python-as-non-compressed-egg
Posted in snippets on Sep 27th, 2009
django.wsgi
import os, sys
def application(environ, start_response):
status = ‘503 Service Unavailable’
output = ‘Down for maintainance. We will be back soon !’
response_headers = [('Content-type', 'text/plain'),
[...]
Ubuntu Hardy – mod_wsgi Installation
Ubuntu Hardy – Using mod_wsgi to Serve Your Application
Posted in snippets on Sep 19th, 2009
list of languages supported by worpdress plugin syntax highlighter.
Usage:
pre class=”brush:[code-alias]"
Posted in snippets on Sep 19th, 2009
adding user to compiler group
$ sudo /usr/sbin/usermod -a -G compiler vinod