sshfs: a hidden gem
Posted on May 3, 2011
Posted on May 3, 2011
Posted on March 16, 2011
In the wake of recent discussions about deployment, I feel the need to tell you how easy my deployment has gotten using the old style tools like nginx, uwsgi, and supervisord on a dedicated (or VPS) server. Read on to find out how it stands the chance against the new online services such as ep.io or DjangoZoom.
Posted on February 10, 2011
Tired of burning DVDs to try or install a linux distribution? You can use your USB flash as a media to install your favorite tux from.
Posted on January 24, 2011
Do you hate the new Firefox 4 looks? Do you also believe there was nothing wrong with Firefox 3.x? Here is how you can get your old sexy looks in the upcoming Firefox 4.
Posted on January 20, 2011
Your site is slow in the production and you do not know why. It is time to profile it while it is running live: with cProfile and KCachegrind. You will get very nice charts and tables with time information and other data. It will show where your bottleneck is.
Posted on December 2, 2010
django-constance is live settings for Django in Redis featuring a Django admin interface and easy migration from your static Django settings.
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
Updated on February 20, 2011
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 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.