<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blago's blog</title><link>https://petrovs.info/</link><description>Recent content on Blago's blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 17 Sep 2026 17:00:00 +0300</lastBuildDate><atom:link href="https://petrovs.info/index.xml" rel="self" type="application/rss+xml"/><item><title>Immich Pi Photo Frame</title><link>https://petrovs.info/post/2026-09-17-immich-pi-photo-frame/</link><pubDate>Thu, 17 Sep 2026 17:00:00 +0300</pubDate><guid>https://petrovs.info/post/2026-09-17-immich-pi-photo-frame/</guid><description>&lt;p&gt;My photos live on a self-hosted &lt;a href="https://immich.app"&gt;Immich&lt;/a&gt; server. It is great for browsing and backups, but the photos rarely get looked at unless someone opens the app. So I built a small photo frame around an original &lt;strong&gt;Raspberry Pi Model A+&lt;/strong&gt; that shows photos from selected Immich albums.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://petrovs.info/post/2026-09-17-immich-pi-photo-frame/img/frame-photo.jpg" alt="The frame showing a photo from Immich"&gt;&lt;/p&gt;
&lt;h2 id="the-hardware"&gt;The hardware&lt;/h2&gt;
&lt;p&gt;This is what I had in the cabinet. The image is built especially for this hardware, but it could be easily ported to other boards and displays:&lt;/p&gt;</description></item><item><title>Bor: My Side Project</title><link>https://petrovs.info/post/2026-07-22-bor-linux-policy-management/</link><pubDate>Wed, 22 Jul 2026 21:30:00 +0300</pubDate><guid>https://petrovs.info/post/2026-07-22-bor-linux-policy-management/</guid><description>&lt;p&gt;This blog does not get updated very often, and there is a simple reason for that: most of my free time goes into a side project called &lt;strong&gt;&lt;a href="https://getbor.dev/"&gt;Bor&lt;/a&gt;&lt;/strong&gt;. After more than a year of evenings and weekends spent on it, it deserves a proper introduction here.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://petrovs.info/post/2026-07-22-bor-linux-policy-management/img/bor-start.png" alt="The Bor policy management console"&gt;&lt;/p&gt;
&lt;h2 id="what-is-bor"&gt;What is Bor&lt;/h2&gt;
&lt;p&gt;Bor is an open-source &lt;strong&gt;policy management platform for Linux desktops&lt;/strong&gt;. The core idea can be summarized in one sentence: define, distribute, and enforce desktop configuration policies across a fleet of machines — in real time.&lt;/p&gt;</description></item><item><title>Тренажор за радиолюбителския изпит на КРС</title><link>https://petrovs.info/post/2026-07-22-crc-exam-trainer/</link><pubDate>Wed, 22 Jul 2026 19:30:00 +0300</pubDate><guid>https://petrovs.info/post/2026-07-22-crc-exam-trainer/</guid><description>&lt;p&gt;&lt;em&gt;Note: this post is in Bulgarian, as it concerns the Bulgarian amateur radio license exam held by the Communications Regulation Commission (CRC).&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="какво-направих"&gt;Какво направих&lt;/h2&gt;
&lt;p&gt;От известно време имам намерение да се явя на изпита за радиолюбителска правоспособност. При прегледа на материалите за подготовка установих, че официалните въпроси на &lt;a href="https://crc.bg/"&gt;Комисията за регулиране на съобщенията (КРС)&lt;/a&gt; са достъпни само като PDF файлове — по един на раздел, без удобен за упражнение формат и без интерактивен начин за проследяване на напредъка.&lt;/p&gt;</description></item><item><title>In the daily</title><link>https://petrovs.info/post/2026-05-11-in-the-daily/</link><pubDate>Mon, 11 May 2026 00:00:00 +0300</pubDate><guid>https://petrovs.info/post/2026-05-11-in-the-daily/</guid><description>&lt;p&gt;♫ As the snow flies,&lt;br&gt;
On a cold and gray Chicago mornin&amp;rsquo;,&lt;br&gt;
An overworked dev logs in… &amp;ldquo;the daily.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;And his mama cries,&lt;br&gt;
&amp;lsquo;Cause the build broke down at half past five,&lt;br&gt;
While the scrum master pries… &amp;ldquo;In the daily.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;People stand around,&lt;br&gt;
Talking &amp;lsquo;bout &amp;ldquo;alignment&amp;rdquo; while the deadlines hound,&lt;br&gt;
And the mute bug bites… &amp;ldquo;In the daily.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Then the manager says,&lt;br&gt;
&amp;ldquo;Just a quick roundtable, should be done in ten,&amp;rdquo;&lt;br&gt;
But an hour goes by… &amp;ldquo;In the daily.&amp;rdquo;&lt;/p&gt;</description></item><item><title>Conquering Carriage Returns and Permissions: Ensuring a Smooth Cross-Platform Git Workflow</title><link>https://petrovs.info/post/2024-03-12-conquering-carriage-returns--ensuring-consistent-line-endings-in-a-cross-platform-git-project/</link><pubDate>Wed, 12 Mar 2025 00:12:02 +0300</pubDate><guid>https://petrovs.info/post/2024-03-12-conquering-carriage-returns--ensuring-consistent-line-endings-in-a-cross-platform-git-project/</guid><description>&lt;p&gt;If you work on a project that primarily runs on Linux or another Unix-like environment but collaborate with colleagues on Windows, you’ve likely run into two recurring headaches:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Inconsistent line endings (&lt;code&gt;CRLF&lt;/code&gt; vs. &lt;code&gt;LF&lt;/code&gt;) leading to unnecessary diffs, merge conflicts, or even runtime errors in scripts.&lt;/li&gt;
&lt;li&gt;Missing Unix permissions when cloning to an NTFS-based filesystem, which doesn’t store executable bits the way Linux filesystems do.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;These issues are especially frustrating if your software ultimately deploys on a Linux server, yet company policy mandates Windows workstations for development. Luckily, Git offers several ways to unify line endings, and there are reliable workarounds to preserve Unix file permissions—even on NTFS.&lt;/p&gt;</description></item><item><title>Using Reverse WebSocket Connections in Go to Reach Services Behind NAT</title><link>https://petrovs.info/post/2025-03-08-reverse-websocket-connections-in-go-to-reach-services-behind-nat/</link><pubDate>Sat, 08 Mar 2025 01:49:02 +0300</pubDate><guid>https://petrovs.info/post/2025-03-08-reverse-websocket-connections-in-go-to-reach-services-behind-nat/</guid><description>&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;Have you ever needed to access a service running on a machine behind NAT—one where you can’t simply open a port and connect from the outside? This scenario is very common for remote management or &amp;ldquo;agent&amp;rdquo; scenarios, but not only that. Other use cases might be:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt;Sharing a local VNC server port to provide remote assistance (similar to RustDesk / TeamViewer)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt;Accessing IoT devices in a private network&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt;Performing maintenance on equipment in locked-down environments&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In all these cases, the challenge is the same: inbound connections into a private network are typically blocked. A reverse WebSocket connection can solve this by having the private-network service (the “client”) initiate an outbound WebSocket connection to a publicly accessible server. Once established, the server can effectively send requests “back” over that channel.&lt;/p&gt;</description></item><item><title>Self-hosting workshop in Initlab</title><link>https://petrovs.info/post/2024-10-23-self-hosting-workshop-in-initlab/</link><pubDate>Wed, 23 Oct 2024 14:57:21 +0300</pubDate><guid>https://petrovs.info/post/2024-10-23-self-hosting-workshop-in-initlab/</guid><description>&lt;p&gt;Together with &lt;a href="https://vasil.ludost.net/blog/"&gt;Vasil&lt;/a&gt;, we organized a workshop about self-hosting in &lt;a href="https://initlab.org/"&gt;initLab&lt;/a&gt;, the hackerspace of Sofia. It was fun and productive discussion!&lt;/p&gt;
&lt;video controls&gt;
 &lt;source src="https://va.ludost.net/files/initlab/20241019selfhosting-workshop.mp4" type="video/mp4"&gt;
 Your browser does not support the video tag.
&lt;/video&gt;</description></item><item><title>Discussing Open Source and Internet Freedom on Izotopia</title><link>https://petrovs.info/post/2024-10-20-talk-on-bnr-about-openfest/</link><pubDate>Sun, 20 Oct 2024 14:57:02 +0300</pubDate><guid>https://petrovs.info/post/2024-10-20-talk-on-bnr-about-openfest/</guid><description>&lt;p&gt;On October 10th, I had the pleasure of joining &lt;a href="https://bogomil.info/"&gt;Bogomil (Bogo) Shopov&lt;/a&gt; on the Bulgarian national radio program &amp;ldquo;&lt;a href="https://bnr.bg/horizont"&gt;Horizont&lt;/a&gt;&amp;rdquo; in their show &amp;ldquo;&lt;a href="https://bnr.bg/horizont/izotopia/broadcast"&gt;Izotopia&lt;/a&gt;&amp;rdquo; [&lt;a href="https://www.facebook.com/IzotopiaBNR"&gt;🇫&lt;/a&gt;] to talk about some of the most pressing issues in technology today. As part of the &lt;a href="https://www.openfest.org/2024/en/"&gt;OpenFest&lt;/a&gt; team, we delved into the world of open source, the evolving landscape of internet freedom, and the role of AI in this digital age.&lt;/p&gt;
&lt;p&gt;We explored how the principles of open source still play a vital role in preserving the freedoms many of us take for granted online. We discussed the challenges of privacy in a world dominated by targeted advertising, particularly on chat clients and social networks that often prioritize profits over user rights.&lt;/p&gt;</description></item><item><title>Joystick for changing the Plasma virtual desktops</title><link>https://petrovs.info/post/2023-10-12-virtual-desktop-joystick/</link><pubDate>Thu, 12 Oct 2023 12:07:54 +0300</pubDate><guid>https://petrovs.info/post/2023-10-12-virtual-desktop-joystick/</guid><description>&lt;p&gt;The whole project took about ~30 min, using some stuff around the living room and electrical tape. The controller is &lt;a href="https://www.olimex.com/Products/Duino/AVR/AVR-T32U4/open-source-hardware"&gt;Olimex AVR-T32U4&lt;/a&gt;, Arduino Leonardo clone. It runs really well with the &lt;a href="https://github.com/Aetf/kwin-maxmize-to-new-desktop"&gt;Kwin script&lt;/a&gt; for maximizing the windows to a new virtual desktop, when they are in full screen. Just like in Mac.&lt;/p&gt;
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
 &lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube-nocookie.com/embed/F4hwCTPkHR4?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
 &lt;/div&gt;

&lt;p&gt;Here is the code:&lt;/p&gt;</description></item><item><title>Miniflux is a minimalist and opinionated feed reader</title><link>https://petrovs.info/post/2023-09-25-miniflux/</link><pubDate>Mon, 25 Sep 2023 17:17:12 +0300</pubDate><guid>https://petrovs.info/post/2023-09-25-miniflux/</guid><description>&lt;p&gt;In the age of information overload, it&amp;rsquo;s crucial to find the right tool that streamlines our online reading experience. While there are numerous feed aggregators in the market, &lt;a href="https://miniflux.app/"&gt;Miniflux&lt;/a&gt; has emerged as my aggregator of choice. Here’s why:&lt;/p&gt;
&lt;h2 id="1-a-minimalistic-user-interface-for-a-distraction-free-experience"&gt;1. A Minimalistic User Interface for a Distraction-Free Experience&lt;/h2&gt;
&lt;p&gt;First and foremost, what captured my attention about Miniflux is its blazing fast and minimalistic user interface. No flashy banners, unnecessary widgets, or pop-ups. It&amp;rsquo;s just you and the content. This clean UI ensures that readers like me can focus solely on what we came for: the content.&lt;/p&gt;</description></item><item><title>Dracula theme for Miniflux</title><link>https://petrovs.info/post/2023-09-11-miniflux-dracula/</link><pubDate>Mon, 11 Sep 2023 11:45:51 +0300</pubDate><guid>https://petrovs.info/post/2023-09-11-miniflux-dracula/</guid><description>&lt;p&gt;CSS theme for &lt;a href="https://miniflux.app/"&gt;Miniflux&lt;/a&gt; with close colors to the &lt;a href="https://draculatheme.com"&gt;Dracula&lt;/a&gt; theme.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-css" data-lang="css"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nd"&gt;root&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--body-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--body-background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#282a36&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--hr-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--title-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#50fa7b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--link-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--link-focus-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#8be9fd&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--link-hover-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ff79c6&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--link-visited-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#6272a4&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--header-list-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--header-link-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--header-link-focus-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#8be9fd&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--header-link-hover-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ff79c6&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--header-active-link-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ffb86c&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--table-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--table-th-background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#282a36&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--table-th-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--table-tr-hover-background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--table-tr-hover-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--button-primary-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#50fa7b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--button-primary-background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#50fa7b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--button-primary-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#282a36&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--button-primary-focus-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--button-primary-focus-background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--input-background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#282a36&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--input-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--input-placeholder-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#6272a4&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--input-focus-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--input-focus-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#8be9fd&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--input-focus-box-shadow&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="kt"&gt;px&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#282a36&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-success-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-success-background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#50fa7b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-success-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-error-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-error-background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ff5555&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-error-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-info-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-info-background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#8be9fd&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--alert-info-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--page-header-title-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--logo-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#50fa7b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--logo-hover-color-span&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#8be9fd&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--panel-background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#282a36&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--panel-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--panel-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--modal-background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#282a36&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--modal-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--modal-box-shadow&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="kt"&gt;px&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="kt"&gt;px&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--pagination-link-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--pagination-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--category-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--category-background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--category-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--category-link-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--category-link-hover-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#50fa7b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--item-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--item-status-read-title-link-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#50fa7b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--item-status-read-title-focus-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#8be9fd&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--item-meta-focus-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#8be9fd&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--item-meta-li-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--current-item-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#8be9fd&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--entry-header-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--entry-header-title-link-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--entry-content-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--entry-content-code-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#50fa7b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--entry-content-code-background&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#282a36&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--entry-content-code-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--entry-content-quote-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#8be9fd&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--entry-content-abbr-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--entry-enclosure-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--parsing-error-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--feed-parsing-error-background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#ff5555&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--feed-parsing-error-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--feed-has-unread-background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#50fa7b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--feed-has-unread-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--category-has-unread-background-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#50fa7b&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--category-has-unread-border-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#44475a&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--keyboard-shortcuts-li-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nv"&gt;--counter-color&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mh"&gt;#f8f8f2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;entry-content&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;font-size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="kt"&gt;em&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;item&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="k"&gt;border&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Just paste it in the Settings.&lt;/p&gt;</description></item><item><title>Resticara - a wrapper of Restic</title><link>https://petrovs.info/post/2023-09-11-resticara/</link><pubDate>Mon, 11 Sep 2023 00:54:19 +0200</pubDate><guid>https://petrovs.info/post/2023-09-11-resticara/</guid><description>&lt;p&gt;&lt;img src="https://repository-images.githubusercontent.com/683147638/770302ee-0cd8-4394-a039-7250d003a0a0" alt="Resticara"&gt;&lt;/p&gt;
&lt;p&gt;Hey folks, hope you&amp;rsquo;re all doing well! If you&amp;rsquo;ve ever had to deal with backups, you know it can be a chore. Enter Restic — an excellent command-line tool for backups. But wouldn&amp;rsquo;t it be nice to skip the bash scripting for simple projects? That&amp;rsquo;s exactly why I decided to build Resticara over a weekend. I was working with a client and realized that both of us needed a more streamlined way to use Restic.&lt;/p&gt;</description></item><item><title>Thunderbird in Docker with Xpra</title><link>https://petrovs.info/post/2023-03-13-thunderbird-in-docker/</link><pubDate>Mon, 13 Mar 2023 15:35:48 +0300</pubDate><guid>https://petrovs.info/post/2023-03-13-thunderbird-in-docker/</guid><description>&lt;p&gt;Old project which is useful for QA testing of mail servers and mail security appliances. In the time, it was needed for testing one mail account with different configurations.&lt;/p&gt;
&lt;h1 id="the-code-is-here"&gt;&lt;a href="https://code.petrovs.info/blago/thunderbird_docker_xpra"&gt;The code is here&lt;/a&gt;&lt;/h1&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src="https://petrovs.info/post/2023-03-13-thunderbird-in-docker/img/firefox_in_docker.png" alt="pcb"&gt;&lt;/p&gt;</description></item><item><title>Vintage bicycle ergometer, used as Street View controller (2013 project)</title><link>https://petrovs.info/post/2023-01-24-bicyle-ergometer-project2013/</link><pubDate>Mon, 23 Jan 2023 17:59:51 +0300</pubDate><guid>https://petrovs.info/post/2023-01-24-bicyle-ergometer-project2013/</guid><description>&lt;p&gt;I don&amp;rsquo;t keep the code but it was really simple. &lt;a href="https://www.olimex.com/Products/Duino/AVR/AVR-T32U4/open-source-hardware"&gt;Olimex AVR-T32U4&lt;/a&gt; was used for keyboard emulation.&lt;/p&gt;
&lt;div&gt;
 &lt;video id='video' controls="controls" preload='none' width="600" poster="vid/video-screenshot.png"&gt;
 &lt;source id='mp4' src="vid/video.mp4" type='video/mp4' /&gt;
 &lt;p&gt;Your user agent does not support the HTML5 Video element.&lt;/p&gt;
 &lt;/video&gt;
&lt;/div&gt;</description></item><item><title>ChatGPT generated possible Manowar song</title><link>https://petrovs.info/post/2023-01-20-manowargpt/</link><pubDate>Thu, 12 Jan 2023 09:34:51 +0300</pubDate><guid>https://petrovs.info/post/2023-01-20-manowargpt/</guid><description>&lt;h1 id="hello-could-you-please-generate-lyrics-for-a-new-song-of-manowar"&gt;Hello, could you please generate lyrics for a new song of Manowar?&lt;/h1&gt;
&lt;p&gt;&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;
&lt;h1 id="sure-heres-a-sample-of-lyrics-for-a-hypothetical-manowar-song"&gt;Sure, here&amp;rsquo;s a sample of lyrics for a hypothetical Manowar song:&lt;/h1&gt;
&lt;p&gt;&lt;br/&gt; &lt;br/&gt;&lt;/p&gt;
&lt;h2 id="verse-1"&gt;Verse 1:&lt;/h2&gt;
&lt;p&gt;In the land of steel and thunder&lt;br&gt;
We ride to fight, our will unbroken&lt;br&gt;
With the power of the gods in our hearts&lt;br&gt;
We strike down our enemies, unspoken&lt;/p&gt;
&lt;h2 id="chorus"&gt;Chorus:&lt;/h2&gt;
&lt;p&gt;Manowar, Manowar&lt;br&gt;
We are the warriors, hear our battle cry&lt;br&gt;
Manowar, Manowar&lt;br&gt;
Our strength and honor, forever high&lt;/p&gt;</description></item><item><title>Project Шайба</title><link>https://petrovs.info/post/2023-01-12-shaiba/</link><pubDate>Thu, 12 Jan 2023 09:34:51 +0300</pubDate><guid>https://petrovs.info/post/2023-01-12-shaiba/</guid><description>&lt;p&gt;&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
 &lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube-nocookie.com/embed/21tYPqg4334?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
 &lt;/div&gt;

&lt;br/&gt;&lt;/p&gt;
&lt;h1 id="update"&gt;Update&lt;/h1&gt;
&lt;p&gt;So, &lt;a href="https://code.petrovs.info/blago/project_shaiba/src/branch/master/rotary_keyboard.ino"&gt;here&lt;/a&gt; is the code. It&amp;rsquo;s really simple gadget. The whole setup took me less than a hour for building and coding.&lt;/p&gt;
&lt;p&gt;I got the rotary dialer from a local auction site, like Ebay. My first idea was to include everything inside it&amp;rsquo;s box and leave only the USB cable outside but it was encapsulated and I didn&amp;rsquo;t have any success for opening it. Originally, the cable had 5 pin DIN connector but only three pins were connected ( White, Brown and Green):&lt;/p&gt;</description></item><item><title>Worst Airbnb experience</title><link>https://petrovs.info/post/2022-10-03-airbnb/</link><pubDate>Mon, 03 Oct 2022 14:26:51 +0300</pubDate><guid>https://petrovs.info/post/2022-10-03-airbnb/</guid><description>&lt;p&gt;Well, we had a really bad experience with a host in Portugal. He waited only 10 minutes for us and then he left the place, without responding for hours. We had to book another hotel which was not a bad idea at all :).
The place was really cheap and I didn&amp;rsquo;t care about the refunding. Still, we didn&amp;rsquo;t get any support options from Airbnb. The most unpleasant part was today, when my review was removed because it&amp;rsquo;s against their community standards. I will post the two reviews and the last Airbnb support message below, you can get your conclusions.&lt;/p&gt;</description></item><item><title>Joysticks in the bedroom</title><link>https://petrovs.info/post/2022-04-05-bedroom-joystick/</link><pubDate>Tue, 05 Apr 2022 11:26:51 +0300</pubDate><guid>https://petrovs.info/post/2022-04-05-bedroom-joystick/</guid><description>&lt;p&gt;In this way, it&amp;rsquo;s really comfortable to control the lamps without trying to find the switches at night :)&lt;/p&gt;
&lt;p&gt;I made it with &lt;a href="https://vikiwat.com/djoistik-ms-4p-4-pozicii-1no-nezadyrzhasht.html"&gt;two industrial joysticks&lt;/a&gt; bought from a local hardware shop. The signal is going to the electrical rack in my storage room. I&amp;rsquo;m using two smart relays - &lt;a href="https://shelly.cloud/knowledge-base/devices/shelly-pro-4pm/"&gt;Shelly Pro 4PM&lt;/a&gt; made by a Bulgarian company. They are enough to control the lights in the whole apartment. I have used several impulse relays by Schneider in the past. They are with better quality but outsourcing the smart logic inside the relay makes the setup easier. Now I have only two FTP cables between the electrical rack and the network rack. They are mounted to the patch panel. Everything is controlled by Home Assistant which is installed on a Raspberry Pi 4 but this is not the topic. The joysticks are not smart. They are used instead of buttons.&lt;/p&gt;</description></item><item><title>Gluu on LXD</title><link>https://petrovs.info/post/2021-05-03-gluu-on-lxd/</link><pubDate>Thu, 03 Jun 2021 17:43:51 +0300</pubDate><guid>https://petrovs.info/post/2021-05-03-gluu-on-lxd/</guid><description>&lt;p&gt;If you are experiencing errors when installing &lt;a href="https://gluu.org/"&gt;Gluu&lt;/a&gt;, the Open Source digital identity server in LXD, this is because Gluu works in a chrooted environment by default. Errors like these should appear on systems with deb or RPM packages installed:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-log" data-lang="log"&gt;Jun 03 14:05:10 gluu systemd[1]: Starting Container gluu-server...
Jun 03 14:05:10 gluu systemd-nspawn[1546]: Failed to mount n/a (type n/a) on /opt/gluu-server (MS_REC|MS_SHARED &amp;#34;&amp;#34;): Permission denied
Jun 03 14:05:10 gluu systemd[1]: systemd-nspawn@gluu-server.service: Main process exited, code=exited, status=1/FAILURE
Jun 03 14:05:10 gluu systemd[1]: systemd-nspawn@gluu-server.service: Failed with result &amp;#39;exit-code&amp;#39;.
Jun 03 14:05:10 gluu systemd[1]: Failed to start Container gluu-server.
Jun 03 14:05:12 gluu dbus-daemon[94]: [system] Reloaded configuration
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To resolve the problem, the container must be privileged and nesting must be enabled. The same profile settings are required for Docker and nested LXD containers:&lt;/p&gt;</description></item><item><title>Building LXD images with Packer and Ansible</title><link>https://petrovs.info/post/2020-11-03-building-lxd-with-packer/</link><pubDate>Tue, 03 Nov 2020 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2020-11-03-building-lxd-with-packer/</guid><description>&lt;p&gt;&lt;img src="https://petrovs.info/post/2020-11-03-building-lxd-with-packer/img/container.gif" alt="container"&gt; Building from scratch machines with similar configuration is not very wise. Unless it&amp;rsquo;s not often. Preparing at least LXD base images would be helpful. Small routine tasks like changing the default repositories, MOTD, adding ssh keys and base tools would take more than 5 minutes per machine. 5 new machines per week, that takes a lot. To be effective, system administrators should be lazy and rational.&lt;/p&gt;
&lt;p&gt;Packer from Hashi corp is really good tool for building immutable infrastructure. It supports building of different images for the cloud, on-premise environments and desktop hypervisors simultaneously.&lt;/p&gt;</description></item><item><title>Running Wine apps in multi user environment</title><link>https://petrovs.info/post/2020-10-11-running-wine-apps-in-multi-user-env/</link><pubDate>Sun, 11 Oct 2020 16:31:34 +0300</pubDate><guid>https://petrovs.info/post/2020-10-11-running-wine-apps-in-multi-user-env/</guid><description>&lt;p&gt;&lt;img src="https://petrovs.info/post/2020-10-11-running-wine-apps-in-multi-user-env/img/wine.gif" alt="wine"&gt; For the project I mentioned in the &lt;a href="https://petrovs.info/post/2020-10-08-revival-of_the-bulgarian-villages/"&gt;last post&lt;/a&gt;
there was a requirement for running some Windows games on the computers. Despite the challenge to maintain 20 years old Windows software in Linux,
the main challenge was to make it working in multi user environment with LDAP.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://winehq.org"&gt;Wine&lt;/a&gt; is a per-user app. Every user has their own Wine prefix with the apps directory and the emulated Windows root drive.&lt;/p&gt;
&lt;p&gt;There were some solutions from internet but none was working and convenient for the case.&lt;/p&gt;</description></item><item><title>Revival of the Bulgarian villages</title><link>https://petrovs.info/post/2020-10-08-revival-of_the-bulgarian-villages/</link><pubDate>Thu, 08 Oct 2020 19:42:30 +0300</pubDate><guid>https://petrovs.info/post/2020-10-08-revival-of_the-bulgarian-villages/</guid><description>&lt;p&gt;&lt;img src="https://petrovs.info/post/2020-10-08-revival-of_the-bulgarian-villages/img/zsl-logo.png" alt="ZaSelata Logo"&gt; Occasionally I&amp;rsquo;m giving technical support to foundation &amp;ldquo;Revival of the Bulgarian villages&amp;rdquo; (фондация &lt;a href="http://zaselata.org/"&gt;Възраждане на българските села&lt;/a&gt;).
They are just a group of people with the noble mission to support the small places in our country with education and equipment. The children in these regions must have equal access to knowledge and technologies just like their peers from the big cities.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://kendov.com/"&gt;Vasil Kendov&lt;/a&gt; is the founder of the idea and the main engine. More than a year ago a friend from Plovdiv (Ivan Dzheferov) mentioned to me about him and that they need some technical help. We drank a beer with Vasil and he told me the story about how everything started. The whole story is described in another interview. I&amp;rsquo;m not good enough in retelling stories, so it&amp;rsquo;s in &lt;a href="https://www.actualno.com/umnomlado/digitalnoto-vyzrajdane-na-bylgarskite-sela-news_1458092.html"&gt;actualno.com&lt;/a&gt; and &lt;a href="https://translate.google.bg/translate?sl=bg&amp;amp;tl=en&amp;amp;u=https%3A%2F%2Fwww.actualno.com%2Fumnomlado%2Fdigitalnoto-vyzrajdane-na-bylgarskite-sela-news_1458092.html"&gt;English translation&lt;/a&gt; .&lt;/p&gt;</description></item><item><title>DeltaProXmlGen</title><link>https://petrovs.info/post/2020-10-08-deltaproxmlgen/</link><pubDate>Thu, 08 Oct 2020 18:01:30 +0300</pubDate><guid>https://petrovs.info/post/2020-10-08-deltaproxmlgen/</guid><description>&lt;h2 id="deltaproxmlgen"&gt;DeltaProXmlGen&lt;/h2&gt;
&lt;p&gt;Two years ago I made a small desktop program for my girlfriend&amp;rsquo;s company. It converts XLS financial statements from the Amazon web store to Microinvest DeltaPro. It&amp;rsquo;s really simple but working solution that is saving some manual data entry time.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://petrovs.info/post/2020-10-08-deltaproxmlgen/img/screenshot.png" alt="DeltaPro"&gt;&lt;/p&gt;
&lt;p&gt;A new version is planned for the future. The most important functionality which is missing is the automatic currency conversion based on the current date of the invoice and calculation of VAT by country.&lt;/p&gt;</description></item><item><title>New blog platform</title><link>https://petrovs.info/post/2020-10-08-new-blog-platform/</link><pubDate>Thu, 08 Oct 2020 01:33:30 +0300</pubDate><guid>https://petrovs.info/post/2020-10-08-new-blog-platform/</guid><description>&lt;p&gt;It&amp;rsquo;s been a long time since my last post here. There are several reasons for this but the main one is laziness. Although, system administrators should be lazy.&lt;/p&gt;
&lt;p&gt;Another reason was the blog platform ( &lt;a href="https://hexo.io/"&gt;Hexo&lt;/a&gt; ). Last week I worked for about two evenings to migrate the website to a new platform.&lt;/p&gt;
&lt;p&gt;As well as he last one, &lt;a href="http://octopress.org/"&gt;Octopress&lt;/a&gt; Hexo, became difficult to maintain. Most of the community support of Hexo comes from China and the documentation is in Chinese. It was also slow and the &lt;code&gt;node_modules&lt;/code&gt; was huge for a content generator.&lt;/p&gt;</description></item><item><title>Lighting talk about home automation</title><link>https://petrovs.info/post/2020-09-30-homeautomation-lightingtalk/</link><pubDate>Wed, 30 Sep 2020 20:18:30 +0300</pubDate><guid>https://petrovs.info/post/2020-09-30-homeautomation-lightingtalk/</guid><description>&lt;h2 id="this-is-my-lighting-talk-from-openfest-2017"&gt;This is my lighting talk from OpenFest 2017&lt;/h2&gt;
&lt;h2 id="its-about-the-home-automation-in-my-appartment"&gt;It&amp;rsquo;s about the home automation in my appartment.&lt;/h2&gt;
&lt;h2 id="sorry-bulgarian-only"&gt;Sorry, Bulgarian only.&lt;/h2&gt;
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
 &lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube-nocookie.com/embed/7CDE1UBW9F4?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
 &lt;/div&gt;

&lt;h2 id="heading"&gt;.&lt;/h2&gt;
&lt;h2 id="heading-1"&gt;.&lt;/h2&gt;
&lt;h2 id="heading-2"&gt;.&lt;/h2&gt;
&lt;h2 id="and-here-is-another-great-one-from-the-same-session"&gt;And here is another great one from the same session&lt;/h2&gt;
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
 &lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube-nocookie.com/embed/UJGItZDLYPo?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
 &lt;/div&gt;</description></item><item><title>Open data of SofiaTraffic</title><link>https://petrovs.info/post/2017-01-03-open-data-of-sofiatraffic/</link><pubDate>Tue, 03 Jan 2017 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2017-01-03-open-data-of-sofiatraffic/</guid><description>&lt;p&gt;Quick post, first for 2017.
I got an Android car PC computer for Christmas and the hacking ideas began to appear.&lt;/p&gt;
&lt;h2 id="bus"&gt;&lt;img src="https://petrovs.info/post/2017-01-03-open-data-of-sofiatraffic/img/bus.gif" alt="bus"&gt;&lt;/h2&gt;
&lt;p&gt;Because most the buffer parkings near the Sofia subway stations are full from early in the morning, I always have to do a lot of maneuvers with the car. It would be great if the car PC warns me about the free places around 1km away from the parking every morning, based on the GPS. I tried to find something some usable open information about the parkings on internet but there is nothing except this application for Android: &lt;a href="https://play.google.com/store/apps/details?id=bg.cgm.parkingboards&amp;amp;hl=bg"&gt;София Паркинг&lt;/a&gt;. It&amp;rsquo;s only showing the free places in some blue zone parkigs in the centre of Sofia. The application is usable but not suitable for 2-din car PC. So, it wasn&amp;rsquo;t so hard to find from where it gets the data:&lt;/p&gt;</description></item><item><title>HAProxy build with more Debian-like configuration</title><link>https://petrovs.info/post/2016-01-07-haproxy-build-with-more-debian-like-configuration/</link><pubDate>Sun, 07 Feb 2016 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2016-01-07-haproxy-build-with-more-debian-like-configuration/</guid><description>&lt;p&gt;I made a HAProxy build with Debian-style config file because some of the &lt;code&gt;haproxy.cfg&lt;/code&gt; files on my servers became really big.
HAProxy has an option to include multiple config files as a command line arguent, like this: &lt;code&gt;haproxy -f haproxy.cfg -f haproxy2.cfg -f...etc&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://petrovs.info/post/2016-01-07-haproxy-build-with-more-debian-like-configuration/img/haproxy.png" alt="haproxy"&gt;&lt;/p&gt;
&lt;p&gt;So, the algoritm is like:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Read /etc/haproxy/haproxy.cfg (The global settings);&lt;/li&gt;
&lt;li&gt;Read /etc/haproxy/haproxy.cfg.d/http/http.cfg (Global settings for HTTP);&lt;/li&gt;
&lt;li&gt;Read /etc/haproxy/haproxy/cfg.d/http/frontend-* (HTTP frontends);&lt;/li&gt;
&lt;li&gt;Read /etc/haproxy/haproxy.cfg.d/http/backend-* (HTTP backends);&lt;/li&gt;
&lt;li&gt;Read /etc/haproxy/haproxy.cfg.d/tcp/tcp.cfg (Global settings for TCP);
&amp;hellip; and the same as for HTTP&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="todo"&gt;TODO:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;PPA:
I have some problems with &lt;em&gt;Quilt&lt;/em&gt; and &lt;em&gt;debuild&lt;/em&gt; but &lt;em&gt;dpkg-buildpackage&lt;/em&gt; runs?&lt;/li&gt;
&lt;li&gt;Systemd script.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="download"&gt;&lt;a href="https://github.com/eniac111/haproxy-debianconfig/releases/tag/1.6.3"&gt;Download&lt;/a&gt;&lt;/h2&gt;</description></item><item><title>Example of MySQL incremental backup with XtraBackup</title><link>https://petrovs.info/post/2016-01-07-example-of-mysql-incremental-backup-with-xtrabackup/</link><pubDate>Thu, 07 Jan 2016 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2016-01-07-example-of-mysql-incremental-backup-with-xtrabackup/</guid><description>&lt;p&gt;Percona&amp;rsquo;s &lt;a href="https://www.percona.com/doc/percona-xtrabackup/2.3/index.html"&gt;XtraBackup&lt;/a&gt; is really good solution for incremental backups if small or large MySQL/MariaDB databases. Mysqldump is really slow and is not downtimeless.
In our case, we need two week history of every day. Every Sunday the backup will be full and the rest of the days, backups will be incremental, based on Sunday&amp;rsquo;s full backup. The backups will be placed in a folder named &lt;code&gt;current_week&lt;/code&gt;. Every Sunday, the folder will be renamed to &lt;em&gt;last_week&lt;/em&gt; and new, empty &lt;code&gt;current_week&lt;/code&gt; will be created before the full backup.&lt;/p&gt;</description></item><item><title>Using Ansible with pass</title><link>https://petrovs.info/post/2016-01-03-using-ansible-with-pass/</link><pubDate>Sun, 03 Jan 2016 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2016-01-03-using-ansible-with-pass/</guid><description>&lt;p&gt;To work with the root user and ssh keys is a common practice in the Ansible community. Another variant is to use a &amp;ldquo;deploy&amp;rdquo; user with the same password on every machine.
Another option is to use &lt;a href="https://therealmarv.com/ansible-vault-file-handling"&gt;Ansible Vault to encrypt the yaml files&lt;/a&gt;. or to use a password manager. It&amp;rsquo;s never a good idea to keep passwords, private keys and other sensual data to the source code repository.&lt;/p&gt;
&lt;h2 id="pass"&gt;Pass&lt;/h2&gt;
&lt;p&gt;I use &lt;a href="http://www.passwordstore.org/"&gt;Pass&lt;/a&gt; for all of my personal or company passwords for almost an year. It&amp;rsquo;s like a Keepass but simpler. The project follows the UNIX philosophy &amp;ldquo;Do One Thing and Do It Well&amp;rdquo;.
Pass stores every password in a PGP encrypted file in a directory tree. It has also Git integration and Bash/Zsh completion. Really cool! Check the project page or the Man for additional documentation. There was a lighting talk from the 32c3 congress this year. I&amp;rsquo;ll append it when it appears online.&lt;/p&gt;</description></item><item><title>My way to auto update Let's Encrypt certs without downtime</title><link>https://petrovs.info/post/2015-12-27-my-way-to-auto-update-lets-encrypt/</link><pubDate>Sun, 27 Dec 2015 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2015-12-27-my-way-to-auto-update-lets-encrypt/</guid><description>&lt;p&gt;It&amp;rsquo;s been a while since my last post here. This is my first post with the new platform - &lt;a href="https://hexo.io"&gt;Hexo&lt;/a&gt;. It&amp;rsquo;s faster and simpler than Octopress and it&amp;rsquo;s not Ruby but nevermind&amp;hellip;&lt;/p&gt;
&lt;p&gt;The whole concept with the Certification Authorities is completely broken but we don&amp;rsquo;t have something better which is working. A world with fully encrypted web is a really a good idea since the whole internet traffic is monitored by governments and other private organizations. &lt;a href="https://letsencrypt.org"&gt;Let&amp;rsquo;s encrypt&lt;/a&gt; is an attempt for that. It&amp;rsquo;s a colaborative project between Linux foundation, EFF and some other organizations.&lt;/p&gt;</description></item><item><title>How to cook Patatnik</title><link>https://petrovs.info/post/2015-03-08-how-to-cook-patatnik/</link><pubDate>Sun, 08 Mar 2015 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2015-03-08-how-to-cook-patatnik/</guid><description>&lt;p&gt;This is my first non technical post here. I&amp;rsquo;m going to explain in details my way to cook Patatnik - Bulgarian dish from the Rhodopi Mountains. It&amp;rsquo;s made of shredded potatoes, eggs, onions, cheese and some local spices. I&amp;rsquo;m not sure if this is the most authentic recipe but it&amp;rsquo;s the way I like it.&lt;/p&gt;
&lt;h2 id="what-is-needed-for-two-servings"&gt;What is needed for two servings:&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;3 - 4 medium potatoes;&lt;/li&gt;
&lt;li&gt;A head of an onion;&lt;/li&gt;
&lt;li&gt;3 eggs;&lt;/li&gt;
&lt;li&gt;~100g. of white cheese (Sirene. It&amp;rsquo;s famous in the balkans. Something similar is the greek Féta but it&amp;rsquo;s too greasy. In western europe, Sirene can be found in the Polish shops (in UK) and the arabic markets);&lt;/li&gt;
&lt;li&gt;Sprig of Spearmint (in Bulgarian it&amp;rsquo;s called Dzhodzhen or Gyozum, the latin name is Mentha Spicata. This spice is very suitable for potatoes and beans.);&lt;/li&gt;
&lt;li&gt;Salt. Instead of salt I&amp;rsquo;m using &amp;ldquo;Chiirska merudiya&amp;rdquo;. It&amp;rsquo;s a type of grass which is crushed with salt and dried. I don&amp;rsquo;t know the official name of the plant. It&amp;rsquo;s known and called &amp;ldquo;Chiirska merudiya&amp;rdquo; in the region of Trakia in Bulgaria. It&amp;rsquo;s very simmilar to &amp;ldquo;Nectaroscordum siculum ssp. bulgaricum&amp;rdquo; which is used the same way, with salt.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="first-peel-the-potatoes"&gt;First, peel the potatoes:&lt;/h3&gt;
&lt;p&gt;&lt;img src="https://petrovs.info/post/2015-03-08-how-to-cook-patatnik/img/a.jpg" alt="Peeling the potatoes"&gt;&lt;/p&gt;</description></item><item><title>Quick way to setup VirtualBox VM in multi user environment</title><link>https://petrovs.info/post/2015-01-14-quick-way-to-setup-virtualbox-vm-in-multi-user-environment/</link><pubDate>Wed, 14 Jan 2015 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2015-01-14-quick-way-to-setup-virtualbox-vm-in-multi-user-environment/</guid><description>&lt;p&gt;Let&amp;rsquo;s assume that we need to setup VirtualBox VM with Windows XP and an old version of Microsoft Office. The machine must be used from everyone on a given number of Linux workstations. The workstations may work with LDAP and NFS/Cifs. The standard installation of the VM would be extremely space consuming and it would cost a lot of the personal life of the administrator.
I made an easy hack to solve this ( this is real setup in university labs).&lt;/p&gt;</description></item><item><title>OpenNIC – Lighting talk on OpenFest 2013</title><link>https://petrovs.info/post/2014-02-02-opennic-lighting-talk/</link><pubDate>Sun, 02 Feb 2014 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2014-02-02-opennic-lighting-talk/</guid><description>&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
 &lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube-nocookie.com/embed/VxW2WxP4_5I?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
 &lt;/div&gt;</description></item><item><title>Copyrights</title><link>https://petrovs.info/copyrights/</link><pubDate>Fri, 17 Jan 2014 00:00:00 +0000</pubDate><guid>https://petrovs.info/copyrights/</guid><description>&lt;h2 id="content"&gt;Content&lt;/h2&gt;
&lt;p&gt;All original content on this site is copyright © Blagovest Petrov and published under the
&lt;a href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)&lt;/a&gt; license.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;&lt;img src="https://licensebuttons.net/l/by-sa/4.0/88x31.png" alt="CC BY-SA 4.0"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You are free to &lt;strong&gt;share&lt;/strong&gt; and &lt;strong&gt;adapt&lt;/strong&gt; the material for any purpose, even commercially, provided you give appropriate &lt;strong&gt;attribution&lt;/strong&gt; and distribute any derivative works under the &lt;strong&gt;same license&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="software"&gt;Software&lt;/h2&gt;
&lt;p&gt;This site is generated with &lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt;, released under the
&lt;a href="https://github.com/gohugoio/hugo/blob/master/LICENSE"&gt;Apache License 2.0&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The theme, &lt;em&gt;Beton&lt;/em&gt;, was made for this blog. Its concrete textures and architectural drawings are part of the theme and fall under the same CC BY-SA 4.0 license as the content.&lt;/p&gt;</description></item><item><title>Manual HA Failover Cluster with Linux Containers, DRBD and Btrfs</title><link>https://petrovs.info/post/2014-11-28-failover-with-linux-containers/</link><pubDate>Fri, 17 Jan 2014 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2014-11-28-failover-with-linux-containers/</guid><description>&lt;p&gt;In this post I&amp;rsquo;m going to explain you how to deploy really fast and cheap cluster of Linux Containers. I use the same setup in a production enviroment for a big ERP system with accounting data (10GB++ of MySQL).&lt;/p&gt;
&lt;p&gt;&lt;img src="https://petrovs.info/post/2014-11-28-failover-with-linux-containers/img/diagram1.jpeg" alt="diagram1"&gt;&lt;/p&gt;
&lt;p&gt;Why &lt;a href="https://linuxcontainers.org/"&gt;LXC&lt;/a&gt;? Because it is Über-cool! Compared to the Hardware Virtualization, the runtime performance is near the bare metal speeds. Operations like starting/stopping of the system or clonning and snapshots are really fast. There&amp;rsquo;s no virtual BIOS, boot loader and kernel. A given number of containers can share the same system resources as they are installed on the same bare metal system and are still isolated. It&amp;rsquo;s really lightweight and flexible. You can containerize everything - a whole system or a single application. &lt;a href="https://www.stgraber.org/2013/12/27/lxc-1-0-container-storage/"&gt;Stéphane Graber&lt;/a&gt; has a really good blog post series about LXC.&lt;/p&gt;</description></item><item><title>Perl in the office</title><link>https://petrovs.info/post/2014-01-17-perl-in-the-office/</link><pubDate>Fri, 17 Jan 2014 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2014-01-17-perl-in-the-office/</guid><description>&lt;p&gt;&lt;img src="http://imgs.xkcd.com/comics/regex_golf.png" alt="http://xkcd.com/1313/"&gt;&lt;/p&gt;
&lt;p&gt;Today Perl helped me again to solve a boring office problem. The colleagues gave me a presentation with almost 1000 slides. It was designed for a theatre subtitles. The slides was simple. Just a sentence per each slide. Only the colors was mistaken. Not black on white but white on black. My colleagues spent hours in googling for M$ Office bulk color change function. Then something blinked in me. &lt;strong&gt;It was Perl&amp;rsquo;s Regex {}&lt;/strong&gt;.
The new open Office formats - &lt;a href="http://en.wikipedia.org/wiki/OpenDocument"&gt;ODF&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Office_Open_XML"&gt;OOXML&lt;/a&gt; are both zipped XML files, binary media content and files with metadata. I converted the presentation to odt (It was still on PPT which is an old proprietary format) and then, just unzip it:&lt;/p&gt;</description></item><item><title>F.B. Purity</title><link>https://petrovs.info/post/2013-11-13-f-b-purity/</link><pubDate>Wed, 13 Nov 2013 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2013-11-13-f-b-purity/</guid><description>&lt;p&gt;Some of my Facebook friends have enough free time to repost stupid Facebook page images, Tumblr gifs and other crap. Others are just not clever enough. The worst is when there&amp;rsquo;s a new reality show on the TV, a new internet meme or &amp;ldquo;just-share-crap&amp;rdquo; trend. I don&amp;rsquo;t want to be a part of that. &lt;strong&gt;&lt;a href="http://www.fbpurity.com/"&gt;F.B. Purity&lt;/a&gt;&lt;/strong&gt; helps me to filter the Facebook wall with more advanced tools than the standartd FB options. It supports custom words blacklists. Mine is shared on &lt;strong&gt;&lt;a href="https://github.com/eniac111/F.B.-PurityBlacklist"&gt;GitHub&lt;/a&gt;&lt;/strong&gt;. :)&lt;/p&gt;</description></item><item><title>Virtualize a broken Windows XP machine with KVM or Xen, Part2</title><link>https://petrovs.info/post/2013-11-08-virtualize-broken-windows-xp-machine-p2/</link><pubDate>Fri, 08 Nov 2013 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2013-11-08-virtualize-broken-windows-xp-machine-p2/</guid><description>&lt;p&gt;It’s time to convert the physical disk to a virtual image. I’m using KVM/Qemu almost everywhere, so, this tutorial will be about KVM. You can use the images in Xen/VMWare almost the same way.&lt;/p&gt;
&lt;p&gt;First, install the VirtIO drivers for a better performance. The Fedora team builds isos with binary executables. &lt;a href="http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers"&gt;Check the KVM documentation for the newest download links&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;First, attach a new VirtIO disk image to the machine. You can use the previously generated image in the installation from Part 1 or create a new one. The size is not important. It’s needed just to recognize the new storage format in Windows.&lt;/p&gt;</description></item><item><title>Virtualize a broken Windows XP machine with KVM or Xen, Part1</title><link>https://petrovs.info/post/2013-11-03-virtualize-broken-windows-xp-machine-p1/</link><pubDate>Sun, 03 Nov 2013 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2013-11-03-virtualize-broken-windows-xp-machine-p1/</guid><description>&lt;p&gt;&lt;img src="http://farm4.staticflickr.com/3217/2423244723_f0cff8ddf1.jpg" alt="Maquinas sucias by Javier Aroche, on Flickr"&gt; There are a lot of dirty legacy Personal Computers which are online and cannot be reinstalled. The most common problems are that they are installed with a special software and the CDs are lost or licensing problems.&lt;/p&gt;
&lt;p&gt;But what will happen when your zombie Durom dies? And your boss wants to use the accounting software ASAP.. The best scenario is when your HDD is healthy 🙂&lt;/p&gt;</description></item><item><title>My presentation on OpenFest 2013</title><link>https://petrovs.info/post/2013-10-28-my-presentation-on-openfest-2013/</link><pubDate>Mon, 28 Oct 2013 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2013-10-28-my-presentation-on-openfest-2013/</guid><description>&lt;p&gt;This year, on OpenFest 2013 I will talk about &lt;strong&gt;Ulteo OVD&lt;/strong&gt; - Open Source Application Delivery system. The conference shedule was full and there was just a place on the Lighting Talks, but it&amp;rsquo;s enough. I will cover the core functionality and some words about the company which is developing Ulteo. It&amp;rsquo;s a good idea to invite the developers on the next OpenFest.&lt;/p&gt;
&lt;p&gt;I have a working setup in the Francophone center of Sofia University, so it&amp;rsquo;s possible to show it as a demo from my laptop outside.&lt;/p&gt;</description></item><item><title>Horse - dummy school project</title><link>https://petrovs.info/post/2013-10-19-horse-dummy-school-project/</link><pubDate>Fri, 04 Oct 2013 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2013-10-19-horse-dummy-school-project/</guid><description>&lt;p&gt;Just a small dummy &lt;strong&gt;C&lt;/strong&gt; project from the highschool, made probably in 2008. It&amp;rsquo;s completely useless. I still keep it as a good example of using an &lt;strong&gt;escape characters&lt;/strong&gt; in &lt;strong&gt;Bash&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://petrovs.info/post/2013-10-19-horse-dummy-school-project/img/horse-screenshot.png" alt="horse"&gt;&lt;/p&gt;
&lt;p&gt;The code is hosted &lt;a href="https://code.petrovs.info/cemetery/Horse"&gt;here&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Ubuntu 12.04 Desktop with Zentyal 3.2</title><link>https://petrovs.info/post/2013-10-04-ubuntu-12-04-desktop-with-zentyal-3-2/</link><pubDate>Fri, 04 Oct 2013 00:00:00 +0000</pubDate><guid>https://petrovs.info/post/2013-10-04-ubuntu-12-04-desktop-with-zentyal-3-2/</guid><description>&lt;p&gt;&lt;a href="http://zentyal.org"&gt;Zentyal&lt;/a&gt;, The Linux Small Business Server includes the most important services for a small or medium company. Most of the services are integrated around OpenLdap. Since version 3.1, Zentyal uses Samba4 as a Directory and File Sharing services.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m maintaining the computers in the Francophone center in University of Sofia. Everything in this place is with Ubuntu workstations.&lt;/p&gt;
&lt;p&gt;There was a major hardware update this year. We got new servers, workstations and laptops.&lt;/p&gt;</description></item><item><title/><link>https://petrovs.info/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://petrovs.info/about/</guid><description>&lt;figure class="aside-note"&gt;
 &lt;img src="https://petrovs.info/about/img/avatar.png" alt="Blagovest Petrov in 8th grade" width="120" height="107"&gt;
 &lt;figcaption&gt;&lt;svg class="aside-note__arrow" viewBox="0 0 64 30" aria-hidden="true"&gt;&lt;path d="M62 20C46 28 22 25 6 14M6 14l4.7 8.8M6 14l10 .4"/&gt;&lt;/svg&gt;HA! That's me in 8th grade. Still a solid forum avatar.&lt;/figcaption&gt;
&lt;/figure&gt;
&lt;p&gt;Hi, I&amp;rsquo;m Blagovest Petrov, and this is my personal blog. I write mostly about open source, DevOps and other random ideas. More than anything, it&amp;rsquo;s a diary: a place where I document what I&amp;rsquo;ve built and learned, so I can find it again later.&lt;/p&gt;</description></item></channel></rss>