> Articles_

In-depth programming articles covering various topics and technologies.

const date = '17.08.2025';
plan cost maps

West Coast USA in 2 Weeks: California, Arizona, Utah, Nevada

In April, my wife and I set off on a trip to the West Coast of the United States. Our long-dreamed-of, first-ever journey to the USA. Knowing that our future travel plans are quite ambitious and diverse, we realized that the next time we might be in the States could be a long, long time from now. That’s why we tried to squeeze as much as possible out of this trip and arranged a packed itinerary, the planning of which devoured a huge amount of time.

Now, enriched with all this knowledge backed by on-the-ground experience, I decided to write down our plan in this article so that it can be useful for others, and maybe even for us if we decide to return to these places in a few years.

const date = '10.08.2025';
plan koszty mapy

Zachodnie Wybrzeze USA w 2 tygodnie: Kalifornia, Arizona, Utah, Nevada

W kwietniu wybraliśmy się z żoną na zachodnie wybrzeże Stanów Zjednoczonych. Nasza od dawna wymarzona, pierwsza podróż do USA. W związku z tym, że nasze przyszłe plany podróżne są bardzo ambitne i zróżnicowane, zdawaliśmy sobie sprawę, że następny raz w Stanach może się wydarzyć dopiero za bardzo długi czas. Dlatego staraliśmy się wycisnąć z tego wyjazdu najwięcej, jak się dało, i ułożyliśmy napięty grafik, którego planowanie pochłonęło ogromne ilości czasu.

Teraz, bogatszy w całą tę wiedzę popartą doświadczeniem na miejscu, postanowiłem spisać nasz plan w tym artykule, aby mógł on się przysłużyć innym, a może i nam, gdy postanowimy powrócić w te miejsca za kilka lat.

const date = '12.05.2024';
GP-TOU020SABWQ

Turn off beep/buzz speaker sound in Samsung UV sterilizer

Samsung's wireless charger, equipped with a UV sterilizing function, stands out for its competitive pricing and innovative features. Although it doesn't quite match the original PhoneSoap products in some respects, it compensates with excellent compatibility. Unlike PhoneSoap, which struggles with the high camera island of devices like my Pixel 8 Pro, Samsung’s charger accommodates my Pixel without issue. However, the charger does have a significant drawback—it emits a loud beep after completing its 10-minute disinfection cycle. This can be particularly annoying since my routine involves setting my phone to charge and disinfect right before sleep, aiming for a fully charged and sanitized phone by morning. Unfortunately, there is no built-in option to disable the beeping sound, although it’s not too difficult to manually disable the speaker within the device.
const date = '11.04.2021';
Ubuntu 20.04 .Net 5

Create PID file in ASP.Net Core

It is very useful for Linux services to write their process ID into PID files. This helps other applications easily check if there is any instance of given application running. Such files are also used by monitoring tools (e.g., monit) to monitor applications.
const date = '06.05.2019';
Ubuntu Linux 18.04 Server

Fixing SQLSTATE[HY000] [2002] in the Nextcloud/ownCloud with the MySQL/MariaDB and the TLS/SSL

This guide assumes you followed the official guide on how to install ownCloud or Nextcloud servers and now you are trying to connect to your MySQL or MariaDB database using TLS/SSL connection. As a result you get "Exception occurred while logging exception: Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [2002]" or "SQLSTATE[HY000] [1045] Access denied for user 'nextcloud'@'localhost' (using password: YES)" error message.
const date = '01.07.2018';
0.9.0.5

ZFS health check script for Monit

When setting up your own home server then proper monitoring system is the one of most important things you want to do. Monit is a monitoring tool I decided to use. It's easy to configure but still very powerful. I also decided to use ZFS filesystem on my server. It's a bit more advanced than ext4 or ntfs thus there is more things to check regarding your pools health.

Thankfully I found very cool ZFS health check script on Calomel.org that sends email if something is wrong with any of the pools. I decided to adjust it a bit to work well with Monit.

const date = '17.12.2017';
Angular 4 .NET Core 2.0 microservices hosted from Electron 1.6.11

How to create .NET Core desktop app and run it under Linux

Along with first .NET Core version Microsoft opened the framework and made it cross-platform. Thanks to this .NET developers can now easily run their websites and APIs on Linux, Android, Mac and so on. Unfortunately there is nothing like WinForms or WPF for .NET Core but that doesn't mean we can't create the front-end in a different framework.

I decided to give ElectronJs technology a try. It is successfully used in popular apps like Visual Studio Code, Slack and Tidal. It uses local Node.js runtime to host a website and displays it in Chromium. As a front-end library I used Angular 4 which is one of the most popular MVVM frameworks and has great support for shared services.

In this article I’m going to show, step by step, how I managed to setup an Angular 4 application which use locally hosted .NET C# Core 2.0 backend microservices run in Electron technology. Working example code can be found on my GitHub

const date = '23.08.2016';
C# 4.5 Thrift 0.9.3

HBase and Thrift in .NET C# Tutorial

You can learn here how to connect to and retrieve data from HBase using C# Thrift library. This article doesn’t cover methods of inserting and updating rows. This article assumes that you already have HBase set up and running along with Thrift node configured.