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
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 execute: xdotool click 1
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.
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/
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 local. A no engañarnos, clasificar a Lesoto señores, es mucho más coehrente que organizar la payasada de Japón-Corea en 2002. Desde este pequeño rincón del ciberespacio quebramos una lanza zulú por Lesoto, lo dicho.

Y para los vivos que están pensando “¿Lesoto? ¿Lesoto tendrá selección?” aquí está la LEFA: http://www.cafonline.com/association/lesotho/information
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 relevance when importing.
Quick fix:
cd /usr/local/lib/python2.6/dist-packages/zope
sudo ln -s /usr/share/pyshared/zope/interface/
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 key: Use two elements, one for each widget, the datepicker hidden but with the icon option, and to trigger click & blur events for the other in the onClose callback function of the datepicker.
There’s still an important (but I think not hard) TODO: Update the datepicker value when the editInPlace widget is edited by hand. Anyone can contribute?
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:
- El robot actualmente revisa el consumo 2 veces por día y decide si hay que enviar o no una notificación a cada cuenta. Está hecho en Python, es un Scrapy-spider bastante simple. Si alguien quiere ver el código lo puedo publicar.
- La interfaz es un Django-site también bastante simple.
- Permite dar de alta varios emails, útil cuando varias personas usan el mismo adsl. También permite cancelar el envío de notificaciones o cambiar los datos asociados. Se irá mejorando en base al feedback recibido.
- Funciona con usuarios de adsl y adsl móvil.
Gracias.
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 file “/etc/tomcat5.5/policy.d/04webapps.policy”
source: http://www.linuxquestions.org/questions/programming-9/jspjava-mysql-connection-fails-218903/
This advice is probably too late for you but: Don’t install the package trac-accountmanager in debian, seems broken. Install the plugin directly with “sudo easy-install …” as described in track-hacks.org
Corolary: why I’m using ArchLinux? Speed. And also because I have about an 80% less packages installed by hand. Also I can contrib easily with new packages in AUR.
Posted in linux, soft
|
Tagged archlinux, debian, trac
|