-
Boot to Qt on Raspberry Pi
2016-07-25 | 8 min readI got Raspberry Pi 3 Model B and now will use it for my experiments with Qt for embedded projects. Here I’ll tell about assembling process of the board and will run Boot to Qt demo on it.
Read more -
C++ backend for QML
2016-07-18 | 3 min readThat’s a question I see around a lot. And despite the official documentation page I decided to create my own example.
You can also read a pretty good article, but I’ve made it even simpler.
Read more -
Escape HTML for highlighting
2016-07-12 | 1 min readWhen you are trying to highlight some code that contains special characters, this can mess up your markup. So you need to escape some characters first, for example replace all
<and>with<and>. I used this page to find the codes.I’ve had enough of copy-paste-replace-this-replace-that-copy-paste, so I created a page of my own that does at least replacing part:
Escape your HTML for highlighting
The core of the replacing mechanism is this RegEx:
<[^>]*>|{{[^%]*}}|{%[^%]*%}|{.*}It can also re-escape the result, sometimes it can eventually escape unescaped. You can do it by pressing the button with the
←in the middle.You can see, that it escapes only pretty basic stuff, so don’t rely on it in any somewhat difficult cases.
-
Broken paginator in Octopress
2016-07-11 | 2 min readAt some point the pagination in my blog got broken. I suspect that’s because I installed custom theme and it messed up something, but I’m not sure. Anyway, the link
← Olderin the bottom of the front page directed to/2instead ofposts/2.And that’s how I’ve managed to fix it.
Read more -
Batman vs. Superman: Dawn of Justice
2016-07-10 | 1 min readИзначально тупая идея, такое же исполнение, миллионы долларов на ветер, три часа поехавшего Ватмана и сотни повисших “продолжение следует”. Ну хоть амазонка зачотная.
6/10 -
Public transport in Oslo
2016-06-30 | 5 min readIn Oslo all public transport belongs to Ruter. Ruter ticket allows you to take any kind of transport for the same price. Ticket itself could be a paper card or an e-ticket.
Эта статья на русском 🇷🇺.
Read more -
Общественный транспорт в Осло
2016-06-29 | 4 min readВ Осло всем общественным транспортом заправляет Ruter. Билет Ruter позволяет проехать на любом виде транспорта, цена при этом будет одна и та же. Сами билеты бывают бумажные и электрические.
This article in english 🇬🇧.
Read more -
Boot to Qt
2016-06-14 | 9 min readПопробовал на днях Boot to Qt и был слегка шокирован. Сейчас расскажу, почему.
Couple a days ago I discovered Boot to Qt and was quite shocked. I want to tell you why.
Read more -
Норвежский банк DNB
2016-06-11 | 5 min readПолучил документы, включая норвежский ID, теперь можно открывать счёт в банке, тем более что зарплата уже накапала, а получить её можно только со счёта (хотя можно договориться и получать наличными под расписку). Я посмотрел сайты банков Осло, фильтруя их по наличию английской версии и внешнему виду, и остановился на DNB.
Read more -
Журнал для AppleScript
2016-05-27 | 1 min readДо этого мне было достаточно вывода результатов работы скриптов в консоль, но теперь понадобился механизм записи событий в журнал. Задача решается созданием вспомогательного скрипта с функцией логгирования.
Read more