Debian (development tips)

2014-12-13 11:58:00-04:30 (permalink)

Modified: 2015-01-29 14:58:00-04:30

These are some extra steps that I've found necessary when starting development in a recently-installed Debian machine.

Jpeg support in PIL and pillow.

$ sudo apt-get install libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
$ sudo ln -s /usr/lib/`uname -i`-linux-gnu/ /usr/lib/
$ sudo ln -s /usr/lib/`uname ...

A Simple Django Project Layout

2012-03-12 10:00:00-04:30 (permalink)

Modified: 2014-12-12 13:30:00-04:30

UPDATE: This article was originally written when Django version was 1.4. Since this article was published I made changes based on the new features of Django. You can see some of them in this repository:

This is short entry on how I organize my ...

Python Audio Tools

2012-02-15 11:04:00-04:30 (permalink)

Modified: 2014-12-12 13:30:00-04:30

Some days ago, I started to work on a web application that requires to encode audio wave files (.wav) into three other formats, being: MP3, Flac and M4A. That encoding will run in its own Celery task.

One thing I knew for certain is that I wouldn't be running ...

(Local) Online Python Documentation

2010-10-15 11:38:00-04:30 (permalink)

Today I learned about the 'pydoc' command from Python.

Simply introduce this command in your terminal:

$ pydoc -p 8000

Then you can go to http://locahost:8000. This way you can browse the documentation for all your installed Python modules in the same way you'd use the 'help' command ...