Yesterday while shrinking a filesystem my computer got stock due a hardware failure:

Booted from a DVD in the rescue environment, mounted the filesystem and everything was OK. The size was still the original. I performed an e2fsck and then tried again. Apparently, the “Relocating blocks” part doesn’t cause any corruption if interrupted 馃榾Ayer mientras achicaba un filesystem mi computadora se freezo por un problema de hardware:

Bootie desde un DVD, en modo rescate, monte el filesystem y todo estaba bien. El tama帽o del filesystem todav铆a era el original. Realice un e2fsck y despu茅s prob茅 de nuevo con el resize2fs. Aparentemente la parte de “Relocating blocks” no hace ning煤n da帽o si se interrumpe 馃榾

I was used to have a rsync call in my crontab to perform backup from my laptop to my desktop. My idea was to backup my laptop everyday even if I wasn’t at home, so before the time that the rsync ran I had to make sure that I was connected to my home network via OpenVPN and that my desktop was on. If the day was calm, no problem, but when I was busy at work that meant no backup for that day. I decided to code my own script to solve this problem.

for the dialogs, I had to install ‘xdialog’ Also, I’m calling another script called ‘vpn’ that I made with expect, it’s used to connect[…]

In order to allow a user to run a single command as root using sudo run the following as root:

Where user is the specified username and /bin/file if the path to the binary that we are allowing this user to run. If you want to do further changes to the sudoers file it’s recommended to use the command ‘visudo’ to do so.Para poder hacer esta tarea solo tenemos que ejecutar el siguiente comando como root:

Donde user es el usuario al que le queremos dar permisos y /bin/file es la direcci贸n o path es el archivo binario que le vamos a permitir ejecutar. Para hacer m谩s cambios al archivo sudoers es recomendable utilizar el comando ‘visudo’.

In order to setup this card, you have to add these parameters to /etc/modprobe.d/bttv.conf

Then, reinitialize the appropriate module:

Install tvtime that is my recommended program to watch the TV.

Configure tvtime with your norm (in my case PAL-Nc) and scan for channels.

Run tvtime from your GNOME/KDE menu or running ‘tvtime’ . For others linux distributions, like ubuntu the procedure may be similar. Para configurar esta capturadora, primero tenemos que configurar los par谩metros en /etc/modprobe.d/bttv.conf

Luego, recargamos el modulo:

Instalamos TVtime, que es mi programa preferido para ver TV en la PC.

Configuramos tvtime con la norma correspondiente para nuestro pa铆s. Argentina es PAL-Nc

Listo! ahora podemos correr tvtime desde una[…]

Thanks to Mathieu Bouffard, he helped me to to workaround the issue with my mic in Acer Aspire One 1410. Issue: Somehow the ALSA driver is trying to pass to PulseAudio an stereo output that PulseAudio doesn’t understand. Solution: Use jackd as a “proxy” between ALSA and PulseAudio, jackd will capture the input in mono from the ALSA driver, and pass it to PulseAudio. Download his module for PulseAudio:

Configure PulseAudio to no auto respawn when killed.

Create a file in our home directory ~/

Create the config file for ALSA: ~/.asoundrc

and last but not least, create a mini-script to launch PulseAudio using this configuration. I called it ~/pulsejack: