<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.4" -->
<rss version="0.92">
<channel>
	<title>Random Thoughts of a Technology Enthusiast</title>
	<link>http://vinodpandey.com</link>
	<description></description>
	<lastBuildDate>Wed, 30 Sep 2009 14:23:10 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Random Snippets</title>
		<description>uninstalling video drivers in ubuntu 9.04 from command line

sudo dpkg-reconfigure -phigh xserver-xorg 

&#160; </description>
		<link>http://vinodpandey.com/random-snippets/</link>
			</item>
	<item>
		<title>MySQLdb as non-compressed egg</title>
		<description>$ unzip MySQL_python-1.2.2-py2.5-linux-i686.egg

http://stackoverflow.com/questions/268025/install-mysqldb-for-python-as-non-compressed-egg </description>
		<link>http://vinodpandey.com/mysqldb-as-non-compressed-egg/</link>
			</item>
	<item>
		<title>Setting development environment in Ubuntu ( django, mod_wsgi, apache2, virtualenv)</title>
		<description>Prerequisites:

mod_wsgi configured with apache2 ( Installing and configuring mod_wsgi, Installation Issues)

virtualenv

What?

It is a tool for creaing isolated python environments.

Why?

Prevent dependency and version problems when deploying programs with conflicting library requirement.

How?

Download virtualenv

cd $HOMEmkdir downloadscd downloadswget http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.3.3.tar.gztar xzf virtualenv-1.3.3.tar.gz

creating a virtual environment

cd $HOMEmkdir webappscd webappspython2.5 ~/downloads/virtualenv-1.3.3/virtualenv.py --no-site-packages djangoapp

The --no-site-packages option prevents it ...</description>
		<link>http://vinodpandey.com/setting-development-environment-in-ubuntu-django-mod_wsgi-apache2-virtualenv/</link>
			</item>
	<item>
		<title>developer formatter</title>
		<description>&#160;

Listen 81 NameVirtualHost *:81 &nbsp;&lt;VirtualHost *:81&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ServerAdmin webmaster@localhost &nbsp;&nbsp;&nbsp;&nbsp; DocumentRoot /home/vinod/webapps/djangoapp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;Directory /&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options FollowSymLinks +ExecCGI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None &nbsp;&nbsp;&nbsp;&nbsp;&lt;/Directory&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IfModule mod_alias.c&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alias /static /home/vinod/webapps/djangoapp/static&nbsp;&nbsp;&nbsp;&nbsp;&lt;/IfModule&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IfModule mod_wsgi.c&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # See the link below for an introduction about this mod_wsgi config.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # http://groups.google.com/group/modwsgi/browse_thread/thread/60cb0ec3041ac1bc/2c547b701c4d74aa&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WSGIScriptAlias / /home/vinod/webapps/djangoapp/testproject.wsgi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WSGIDaemonProcess vinod processes=7 threads=1 display-name=%{GROUP}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WSGIProcessGroup vinod&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WSGIApplicationGroup %{GLOBAL}&nbsp;&nbsp;&nbsp;&nbsp;&lt;/IfModule&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ErrorLog /home/vinod/webapps/djangoapp/log/error.log&nbsp;&nbsp;&nbsp;&nbsp;LogLevel warn ...</description>
		<link>http://vinodpandey.com/developer-formatter/</link>
			</item>
	<item>
		<title>service unavailable</title>
		<description>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'),
                 ...</description>
		<link>http://vinodpandey.com/service-unavailable/</link>
			</item>
	<item>
		<title>Port based Virtual Hosting in Apache2 (Ubuntu 9.04)</title>
		<description>In port based virtual hosting, different websites run on different ports. In this is example, we will be running website on port 81 of development server. Not much useful for production server, still I find this useful for development server.

folder structure
-------------------------
In $home directory, create the folders from where the files ...</description>
		<link>http://vinodpandey.com/port-based-virtual-hosting-in-apache2-ubuntu-9-04/</link>
			</item>
	<item>
		<title>mod_wsgi</title>
		<description>Ubuntu Hardy - mod_wsgi Installation

Ubuntu Hardy - Using mod_wsgi to Serve Your Application </description>
		<link>http://vinodpandey.com/mod_wsgi/</link>
			</item>
	<item>
		<title>Installing Multiple Versions  of Python on Ubuntu</title>
		<description>wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz
tar fxz Python-2.5.2.tgz
cd Python-2.5.2
./configure
make
sudo make altinstall
ln -s /usr/local/bin/python2.5 /usr/bin/python2.5
wget http://www.python.org/ftp/python/3.0/Python-3.0.tgz
tar fxz Python-3.0.tgz
cd Python-3.0
./configure
make
make altinstall
ln -s /usr/local/bin/python3.0 /usr/bin/python3.0
 </description>
		<link>http://vinodpandey.com/installing-multiple-versions-of-python-on-ubuntu/</link>
			</item>
	<item>
		<title>Installing Ubuntu 9.04 on Vaio VGN-CR353</title>
		<description>Installing ubuntu 9.04 on vaio:
Linux isn't just Windows with funny colours, and Windows isn't a poor man's Linux. Both represent decades of hard work by people with different opinions about the world, and both need to be treated differently if you want to get the most out of them.

From Switching ...</description>
		<link>http://vinodpandey.com/installing-ubuntu-9-04-on-vaio-vgn-cr353/</link>
			</item>
	<item>
		<title>syntax highlighter evolved</title>
		<description>list of languages supported by worpdress plugin syntax highlighter.
Usage:
pre class="brush:[code-alias]" </description>
		<link>http://vinodpandey.com/syntax-highlighter/</link>
			</item>
</channel>
</rss>
