Messed up libstdc++.so.6 on gentoo

Last Friday I somehow managed to mess up my libstdc++.so.6. I still don't know what happened (I blame Steam for Linux - it's the only special thing I played around with, even though at first glance the scripts nicely keep their hands off the system) or what was wrong, but the end result was that skype, firefox, slim, faceauth, and a whole bunch of other stuff (including gcc) didn't work anymore.

libstdc++.so.6: not found: no such file or directory.

It had nothing to do with my CFLAGS as many forum posts suggest. Frankly, I was completely stumped because the file was still where it was supposed to be. Last modification date? December 10, 2012.

The solution turned out to be fairly simple:
* Download stage3 tarball
* Extract into a brand new directory (and not to /)
* Chroot into the extracted stage3
* quickpkg gcc
* Copy the result to /usr/portage/packages
* emerge -K =gcc-4.6.3
* gcc-config -l && gcc-config 2
* env-update && source /etc/profile
* emerge --oneshot libtool

Ta-dahh. Everything works again, didn't even need to reboot.

Startup programs in Windows 8

They're in %appdata%\Microsoft\Windows\Start Menu\Programs\Startup

PageUp to irssi in Terminal (OSX)

Note to self: sending a PageUp to irssi running in an SSH session in Terminal on OSX Snow Leopard (as opposed to sending it to Terminal itself) is done via fn+shift+up.

That is all.

mailstat

mailstat is a cool little program that reads your .maillog file in order to be able to give you an overview of what new mail has arrived and where it has been put since the last time it was run.

This is extremely important when using procmail - there might be mistakes in your configuration file that makes your mail go to unexpected places. Thanks to mailstat you can still track it down ...

And just for future reference for myself : mailstat comes with procmail ...