Latest posts
PyTest - A Journey Of 3 Years
Salt is ending a journey that started 3 years ago with the first pull request to add support for PyTest. In the upcoming weeks, Salt will finally switch to PyTest as its sole test runner, and the previous, and heavily customized unittest runner, runtests.py, finally reaches EOL. Why? …
PyLint + Virtualenv
I don't have the time to write the full blog post, so, here's the recipe! …
Using gettext in compiled Qt ui files with PySide
This recipe is based on the PyQt recipe found here. This is just the PySide port of it. In some cases you might find yourself in the situation of wanting to use gettext in a PySide project in which you have .ui files generated using QtDesigner. For those kind of situations is a good idea to extend the PySide compiler. …
Postgres Cron Backups
So, I found myself with the need to make automatic backups of my postgres databases... After some Google'ing and reading of some peoples recipes, here's mine. …
Maverick Bluedevil and Null pin Mouse's
So, I was trying out Kubuntu Maevrick and found out that my bluetooth mouse did not work anymore as it previously did with Jaunty... …
IPython and virtualenv
Recently I started developing my python applications using virtualenv so that I don't clutter up the system's python installation with non-system python packages. Everything was good until I wanted to use IPython instead of python's shell... …
Webhelpers and Javascript Minification
Here's a practical idea which I have in use in a project of mine. Most of you probably use some javascript library or have some javascript files that you use in your pylons application. There's also some talk going on related to javascript files compression, and more recently, minification. While I'm developing, I like to use the normal(non compressed) javascript files, because it helps on debugging. But for production, using compressed javascript files reduces page load times. Pylons Webhelpers comes with a useful function to help you include javascript files on your templates, javascript_include_tag. …
Rotating Trac Logs
So, you're like me and like to have trac constantly logging to file and you hate those files getting huge? …
ZTE MF622 USB Modem Under Linux
I recently bought a 3G wireless card to use with my laptop, a ZTE, model MF622. Since the first time I tried Linux, also the first time I encountered this kind of problems with my USB ADSL modem, and this being an USB modem also, I knew I was going to have troubles. …