Declaration of VAR

and some other stuff

On 19.05.2021 the website was moved to https://decovar.dev/. This is just a mirror now.
  • Mac OS service to ZIP a folder

    2017-07-31 | 5 min read

    Mac OS has integrated Archive Utility for packing files and folders into archives. It works fine, but what I don’t like about it, is that it packs not only files and folders I want to pack, but also hidden system stuff like __MACOSX folders and .DS_Store files. You can use some 3rd-party archiver instead (Keka is a very good one) that provides the possibility to exclude such files, but this is also possible to achieve with the integrated ZIP utility.

    Read more
  • Bose QuietComfort 35

    2017-07-17 | 9 min read

    Having broken my N-th pair of Koss Porta Pro headphones, I considered the amount of money spent on them and realized that it would have been wiser to invest this amount into something that lasts longer. The problem was to find something that sounds as good as Koss Porta Pro.

    Read more
  • Changing country for iTunes Store

    2017-07-13 | 8 min read

    So, I decided to change the country in iTunes Store (from Russia to United States). This process turned out to be not so easy as it seemed to be.

    Read more
  • Спасибо, Аппл Мужик

    2017-07-12 | 1 min read

    Добавил себе на днях в плейлист пару ГЕНИАЛЬНЫХ ТРЕКОВ БОЛЬШОГО РУССКОГО БОССА, ЧТОБЫ УСЛАЖДАТЬ СВОИ ПЛЕБЕЙСКИЕ УШИ БОЖЕСТВЕННЫМ ГОЛОСОМ ВЕЛИЧАЙШЕГО, ХОТЬ И НЕ В СОСТОЯНИИ ПОНЯТЬ ДАЖЕ ДЕСЯТОЙ ЧАСТИ ГЛУБОЧАЙШЕГО СМЫСЛА ЕГО ВЕЛИКОЛЕПНЫХ ТЕКСТОВ.

    Read more
  • British Airways in 2017

    2017-06-12 | 2 min read

    British Airways is definitely not aware that it is 2017 already.

    Read more
  • Updating iOS and Android to the latest version

    2017-06-08 | 1 min read

    This morning I had 3 tablets on my table:

    • iPad Air (2013);
    • Nexus 10 from Samsung (2012);
    • Nexus 7 from Asus (2013).

    All of them had obsolete versions of operating system (iOS and Android). And I tried to bring them up-to-date.

    Read more
  • Issues with WordPress after upgrading Ubuntu to 16.04

    2017-06-08 | 4 min read

    So, I finally decided to stop ignoring warnings about obsolete Ubuntu version on my server and upgrade it from 14.04 to 16.04. Right after the upgrade my website on WordPress stopped working.

    Read more
  • How to get the context of translation in Qt Linguist

    2017-06-05 | 2 min read

    In addition to my previous article about translating a QML application, I want to show you how translators can understand the context of strings they translate in Qt Linguist.

    Read more
  • Mac OS service for displaying biggest files in the directory

    2017-05-29 | 2 min read

    Having solved the problem of locating the biggest files in a folder, I decided to create a service that would do the same in Finder, showing results in a dialog window.

    Read more
  • Documenting a Qt project with QDoc

    2017-05-24 | 5 min read

    When I needed to generate documentation for my projects, I used Doxygen. It’s a quite useful tool that parses specially formated comments in your project’s source code to produce documentation pages for it. Mostly I used it to document my Qt projects.

    To my shame, I didn’t know that Qt has such a tool out-of-the-box - it is the QDoc. In this article I’ll show you how to document a custom QML type (Qt Quick control) with QDoc and also how to make the result look a bit less dull.

    Read more