boost::variant and lambda functions in C++11
Released some time ago new C++11 standard introduced lambda functions - long anticipated and exciting feature. On the other hand, boost::variant has …
Sample .vimrc file for software developers
Vim is a very powerful and convenient text editor for Unix environments. I certainly don’t wish to start any disputes along the lines of the old …
Clever spammers
There is no doubt - spammers are becoming cleverer every day. I’ve added CAPTCHA verification to my site in order to prevent spam comments from …
Google calendar - download all entries with Python
Google provides APIs to access its data using various languages. You can manipulate Google calendars, contacts, documents etc. Most of the time the …
Editing Markdown or txt files in OpenOffice
I have been introduced to Markdown format some time ago and today I find it extremely convenient for most of the writing I need to do. Markdown is …
Right-align help menu in a WPF application
If you want to right-align the “Help” (or any other) menu entry in your menu bar in a WPF application, you can use the following example: …
How to invoke click event in WPF programmatically
WPF is still relatively new and many developers are only scratching the surface of its abilities. Coming from a different framework, one must learn …
Iran and oil
I was quite surprised to learn that Iran is actually importing almost half of its petroleum. This is despite the fact, that the country is one of the …
Vim line wrapping and word boundary
Vim (vi) is a very powerful and customizable text editor. There are many parameters you can fine-tune to adjust the way your data is displayed. For …
Synchronizing Google contatcts' birthdays with Android
Google Contacts allow setting birthdays, which are then picked up by Google Calendar automatically and displayed as events on the relevant day. This …