Monthly Archives: May 2011

Open gzipped file with vi?

If you are using latest (and greatest) vi/vim then it can open gzipped files (those with extension .gz) automagically, but it’s not so easy if you must use some old/outdated system where is also old vi/vim. So, what to do? … Continue reading

Posted in Uncategorized | Leave a comment

KDE and empty “Open With…” menu

Updated to KDE 4.6.2 on one computer and weird problem happened. When tried automount usb disk and open it with dolphin instead I got dialog to choose program to do it with. Strange. Later discovered, that right-click on file “Open … Continue reading

Posted in Uncategorized | Leave a comment

Errors in wordpress after php upgrade

Got an interesting problem few days ago. Just updated php (and apache and some other programs) and did “/etc/init.d/apache2 graceful” when suddenly got errors in wordpress blogs like this Warning: preg_replace() [function.preg-replace]: Compilation failed: unknown option bit(s) set at offset … Continue reading

Posted in Uncategorized | 6 Comments

How to find out uptime in windows?

If you are looking answer for that, you will soon discover that there is no way to find out this from default GUI programs Run this in “cmd” : or shorter

Posted in Uncategorized | Leave a comment