Category: Technology

  • What font do you use? It’s deja vu all over again

    A while ago, I read my blogging buddy K. Brian Kelley’s entry on what font to use, which led me to another blogging buddy Adam Machanic‘s recommendation on ProFont. I tried it but gave up eventually. Here are my own three key requirements for fonts: 1. Readability: I want to tell the 0OolI1i and such…

  • Move SQL Server backup file and restore it with Perl

    #There are two key parts for this script. The first part copies the latest backup and paste it in the local g drive. The second part do the restore from this backup file. It’s a LightSpeed backup and restore. Linchi Shea’s SQLDBA helper Perl files are needed. This is mainly for my own safekeeping. [sourcecode…

  • Select text block in VIM

    VIM Version: 7.1 On Windows gvim, right click and pick Select Block; On Ubuntu Linux gvim, while in normal mode, press Ctrl V

  • Played with Google Chrome

    Google Chrome Beta is available for download today. I played with it. I am not impressed at the moment and will not convert from Firefox. I may give it another whirl in a few months. The strength of Firefox, in my view, is its many available extensions, which practically spoil and pamper me to the…

  • Find out total database file sizes on a Sql Server instance

    Sometimes you want to know how much space Sql Server databases on an instance are taking from a system. This should be the sum of all data files and log files. Note this is different from how much space actual data is taking. Here is one way to do it. Note it uses sysaltfiles, a…