20110928

Firefox: Buscar ignorando mayúsculas - Firefox: case insensitive search

Para los que nos pegamos buena parte del tiempo pegados a la web, buscando información de un tipo u otro, la búsqueda dentro de la página que estamos visitando es una herramienta imprescindible. Para agilizar esta búsqueda, podemos marcar la opción Buscar texto mientras se escribe en Preferencias -> Avanzado -> General. Para que esta búsqueda ignore mayúsculas y minúsculas debemos hacer lo siguiente:
 - En una pestaña introducimos en la barra de direcciones about:config.
 - Con el mensaje ¡Zona hostil para manazas! nos avisan del peligro de manipular la configuración. Aceptamos el riesgo pulsando sobre el botón ¡Tendré cuidado, lo prometo! y aparece un listado de propiedades con su estado, tipo y valor establecido.
 - En el textbox del filtro, escribimos casesensitive.
 - Desaparecen todos las propiedades excepto accesibility.typeaheadfind.casesensitive.
 - Hacemos doble click sobre ella, y establecemos el valor a 0.

Y esto es todo. A buscar sin preocuparse de las mayúsculas.

If you are one of those who spend the time browsing the web, maybe this tool will be helpfull for you. The option Search for text when I start typing is a cool way to find some text on the current web page, and to enable it you have to go to Preferences -> Advanced -> General, but by default the case sensitive option is enabled. This default behavior can be disabled like this:
 -Type about:config on the location bar and press intro.
 - The message Here be dragons! will warn you of the danger of doing something wrong in this advanced configuration section. Click on the I'll be careful, I promise! button to show a table with properties, status, types and values.
 - Write casesensitive on the filter textbox.
 - You'll find the accesibility.typeaheadfind.casesensitive property.
 - Doble click on it, and set de value to 0.

And that's all folks!. Now you can do case unsensitive searches on the page while you're typing.

PS. I know, I know. My English is not good enought but, the more you help me, the more I learn.

20110916

Habilitar logs de cron en Ubuntu con rsyslog - Enable cron logs in Ubuntu with rsyslog

Para poder registrar los resultados de nuestras tareas programadas de cron en Ubuntu (10.04 LTS en mi caso) con rsyslog debemos hacer lo siguiente:
 - Editamos el fichero /etc/rsyslog.d/50-default.conf
 - Descomentamos esta línea: 
     cron.*                          /var/log/cron.log
 - Podemos cambiar el nivel de logeo (debug, info, etc)
 - Reiniciamos el servicio:
     sudo reload rsyslog
 - Y a funcionar, ya sólo nos falta comprobarlo con sudo tail -f /var/log/cron.log 

En mi caso, ya estaba configurada la rotación de este log dentro del fichero /etc/logrotate.d/rsyslog así que no tengo que preocuparme de que crezca sin control.

To record the result of our scheduled cron task on Ubuntu (10.04 LTS in my case) with rsyslog, we have to:
 - Edit the file /etc/rsyslog.d/50-default.conf
 - Uncomment this line:
     cron.*                          /var/log/cron.log
 - We also can change the warning level (debug, info, etc)
 - Restart the service:
     sudo reload rsyslog
 - And that's all. We can test it with: sudo tail -f /var/log/cron.log 

In my case, the system was already configured to rotate this log on the file: /etc/logrotate.d/rsyslog so we don't have to take care about it grows out of control.

PS. I know, I know. My English is not good enought but, the more you help me, the more I learn.