Visual Studio Shortcuts

This is an ongoing list of shortcuts used in Visual Studio 2005. Go To Definition: Ctrl + F12 Go to line number: Ctrl + G To comment a block of code: Ctrl + E + C To uncomment a block of code: Ctrl + E + U

June 17, 2008 · 1 min · 47 words · kenno

SQL Setup error on Vista: SQL Server Setup Failed to compile MOF

I was attempting to install MS SQL Server 2005 Express edition without success on a computer run Windows Vista Business. There was an error message mentioned “…failed to compile the Managed Object Format (MOF)…” I’ve tried about five times with various solutions; still it didn’t fix the problem. As always, I found a working solution when I was about to give up on this installation. The problem was that the WMI repository was corrupted. There are two ways to fix this: one is to reinstall the WMI, and alternatively you can repair it instead. ...

May 13, 2008 · 2 min · 228 words · kenno

Eterm doesn’t display “ or ”

Eterm doesn’t display the fancy “ or ” on my Debian. It is not a big problem, but it’s very annoying when it doesn’t properly display these symbols used in some programs such as aptitude. I wanted to fix it, but didn’t realize it there was a fix. After two years or using it, I tried to find the solution again, and I found it. Just add the this code to the .profile in your home directory. ...

May 8, 2008 · 1 min · 104 words · kenno

Enable mod_userdir for Apache2 on Debian

By default Apache2 doesn’t enable mod_userdir, a module to enable all users in your Linux system to host web pages. On Debian, it’s very to enable this mod, and probably with other modules as well. There is no need to edit the config file manually. There are two tools offered by Debian to assist you with enabling and disabling the modules in Apache2: a2enmod and a2dismod. As the name inferred, a2enmod enables the modules, while the a2dismod does the opposite. ...

April 22, 2008 · 1 min · 114 words · kenno

Debian enable/disable services

Install <b>rcconf</b> if you don’t have it yet. <b>rcconf</b> is Debian’s runlevel configuration tool. It allows you to enable or disable the services from starting up automatically. Recently, I got annoyed by <b>postgresql</b> starting up at boot time, so this tool did the trick. Source: http://www.cyberciti.biz/faq/howto-runlevel-configuration-tool-to-start-service/

April 2, 2008 · 1 min · 46 words · kenno