quinta-feira, 30 de dezembro de 2010

Pintura num muro de BH

Em Belo Horizonte:


Quanto será que o cara arrecadou??

terça-feira, 31 de agosto de 2010

Isaac Asimov



Esse cara teve a manha.

quinta-feira, 13 de maio de 2010

quarta-feira, 14 de abril de 2010

Arranjo para violão de Kiss From a Rose - Seal

Achei um arranjo muito bacana para violão:



Esse vídeo me fez ter vontade de estudar violão novamente. Vale a pena conferir os outros vídeos do Ulli Boegershausen.

sexta-feira, 5 de março de 2010

chroot with smart

Smart is a package manager tool that can handle many types of repositories. It has packages for all major Linux distributions: Debian, Fedora, Opensuse, Mandriva. Most of the RPM and Deb based distributions.

My problem was that I needed a packager tool that allow different channel configuration using diferent files for the configuration. I used to use zypper, but it only works with SuSE. You can find a package for Fedora Core 12, but didn't work for me.

The developers of YUM didn't like that idea, at least that what i read in the mailing list.

Smart solve my problems. I had to build a chroot system using packages from http repositories.

A combination of two options handle that, every time you call smart for your chroot system you will have to add this option:

smart -o rpm-root=/chroot-system --data-dir=/chroot-system/var/lib/smart/

I think this might help people that need to build chroot systems.

segunda-feira, 22 de fevereiro de 2010

mimetypes in gnome

Tired of trying to open a file in the formats of OpenOffice, like odt or odp, and clicking on the button Display?

You can make it as default option on the Gnome environment, just use the gconftool-2 to set the option for nautilus. You can have 3 kinds of options:
  • display
  • ask
  • launch

Use:
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --set --type=string /apps/nautilus/preferences/executable_text_activation 'display'

to make display as default option.