Author Archives: anibal

CIUO 88 Adaptada a Uruguay (CNUO-95) en CSV

Códigos y nombres de ocupación según la norma CIUO 88 Adaptada a Uruguay (CNUO-95), según INE: http://www.ine.gub.uy/biblioteca/metodologias/codigos-ocupacion.pdf Este PDF no es amigable para su ingreso en una base de datos, además de contener algunos pequeños errores, en particular a algunos … Continue reading

Posted in Uncategorized | Leave a comment

Old django hack

Scenario: django 0.91 postgresql 9.1 psycopg1 bug when importing psycopg Fix: Edit django/core/db/backends/postgresql.py and import psycopg twice . try: .     import psycopg as Database . except AttributeError: .     import psycopg as Database

Posted in programming | Tagged | Leave a comment

Why GNU/Linux?

Every day we find new answers, today’s was: Do you ever tried to simulate a mouse click? I did, and in win I had to download a trial version of a program, install it and all that shit. In GNU/Linux … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Traducciones I

En este artículo: Nombres de murgas Hang-on Catalyn In wrong-way Fungus curters Put on, they’re pastels Momland Foul and rest Warning, the cops Prometemos en próximas ediciones: letras de canciones, doble traducción al portugués, parónimos interidiomáticos en portugués.

Posted in nonsense | Leave a comment

Keep only the latest version of a package in cache

Hardcoded for ArchLinux, this python module prints out the files to remove if you want to keep only the latest version of a package in the cache directory: ./paclean.py|sudo xargs rm Source: http://code.google.com/p/fileversion-keeplast/

Posted in linux, programming, soft | Tagged , | Leave a comment

Conceptos de localía

Es sabido que el país que organiza el mundial ya está clasificado, en este caso para Sudáfrica 2010 se está cometiendo una gran injusticia, Lesoto debería estar clasificado. Lesoto es un país que es más que local, está dentro del … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

ImportError: No module named interface

OS=Ubuntu 9.10 Python version=2.6 After install a zope module using pip, for example z3c.password your zope installation gets broken. This is because pip have installed the module in /usr/local/lib/python2.6/dist-packages/zope and the original module zope.interface is in /usr/share/pyshared/zope/interface/ and has minor … Continue reading

Posted in programming | Tagged , | Leave a comment

jQuery ui datepicker + jQuery editInPlace

The goal of this post is to show how editInPlace plugin for jQuery can be used with the ui.jQuery.datepicker. Jacob Terry already made this very good but modifying Dave Hauenstein’s editInPlace plugin. Before show you the snippet here is the … Continue reading

Posted in programming | Tagged , , | Leave a comment

Consumo de ADSL por mail – ANTELDATA

cuentagigas.info es una interfaz simple para un bot(programa) que hace tiempo quería hacer para estar al tanto de cuántos gigas voy gastando en el adsl sin tener que estar entrando al sitio de anteldata, … si quieren probarlo: Detalles técnicos: … Continue reading

Posted in programming, soft | Tagged , , , , | 8 Comments

JSP mysql tomcat5.5 debian: forbidden by default

If you are getting this error while trying to connect to mysql from JSP in debian: java.net.SocketPermission 127.0.0.1:3306 connect,resolve Then you should allow the connection in tomcat policy, add this line: “java.net.SocketPermission 127.0.0.1:3306 connect,resolve” to the “grant{” block in the … Continue reading

Posted in Uncategorized | Leave a comment