PostgreSQL's Itches and Scratches: Sequences
Posted on August 12, 2010
I do not think you need sequences in PostgreSQL in the today's world of web applications. I believe you actually wanted AUTOINCREMENT from MySQL.
Posted on August 12, 2010
I do not think you need sequences in PostgreSQL in the today's world of web applications. I believe you actually wanted AUTOINCREMENT from MySQL.
Posted on May 19, 2010
Ubuntu 10.04 LTS is out but one has to wonder if everything has been polished to the degree a long-term release deserves. I had to make a few adjustments to the vanilla install which I am now going to share with you.
Posted on May 13, 2010
Yes, on the command line in terminal:
snip adduser<TAB> snip adduser -c "Jiri Barton" -G admin -m -s /bin/bash jbar<ENTER>
List your favorite command lines in a file and let the bash completion look it up for you when you need them.
Posted on May 5, 2010
There are many ways you can organise your projects in Python. One of them uses virtualenv and pip. They let you work on several projects simultaneously while they keep environments of each project separate. This way, each project can keep its own set of Python dependencies with different packages and different versions of packages.
Much has been written about virtualenv and pip. This guide will help you install virtualenv and pip in Ubuntu 10.04 in such a way it will be very easy to create new virtualenvs for your projects.
Posted on March 5, 2010
The brilliant NGINX has no support for the old CGI scripts. You may want to run CGI scripts nevertheless, in a restricted environment for example. The guide on the same page provides a decent guide but I struggled to make it run on Ubuntu. Here is what you need to do.
Posted on February 26, 2010
Virtualenv is a tool for isolating Python projects. Such Python projects can have their own set of packages and their versions without affecting each other. This article will tell you how to create and work with such environments and how to use them with your Django projects.
This is a follow-up to the last article on virtualenv and pip.