Compdigitec Labs

Archive for December, 2009

Free and open source XML beautifers to format XML

Saturday, December 26th, 2009

XML is a great format for storing data, but an improperly-formatted XML file (e.g. whole file on one line, unusual breaking, improper line wrap, etc) can be just as difficult to read as a binary blob. In order to make “blob” XML readable, here are some tools you can use to format XML so it’s […]

Simple C++ gettext-like toolkit

Sunday, December 20th, 2009

Here is a small gettext-compatible interface for reading simple translation catalogs (not to be confused with gettext’s *.mo style catalogs, which are binary) in form of “original/english string<tab>translated string”. It is not fool-proof, but you can play around with it and it works. Example usage: folder/fr_FR/LC_MESSAGES/ If you found this article helpful or interesting, please […]

How to take out the system built-in beeper in Linux

Friday, December 18th, 2009

Usually the system beeper (not to be confused with speakers) can be a rather useful tool in informing or alerting the user. Sometimes however, the beeper can be just plain annoying, especially if you already know what you are doing. For example, it is very annoying to have a laptop suddenly start beeping in the […]

Console-free gtkmm applications in Visual Studio 2008

Sunday, December 6th, 2009

When compiling Gtkmm programs on Microsoft Windows using Visual C++, a black console box pops up when you run the program. However, setting the application subsystem to Windows will cause the program to complain about WinMain and other problems. Here is a versatile solution from the Gtkmm mailing list to get Gtkmm to work on […]