Categories
Coding Linux

Using go and InfluxDB to find the best time to go the gym

I have been suffering from back pain for some time now and after several visits to the doctor, one x-ray and a scary MRI session, his diagnose was clear: I must work-out to harden the muscles on my back to avoid the pain. Indeed, several months without regular exercises along with a routine of being […]

Categories
Coding Fedora Java Linux

SSLHandshakeException: no cipher suites in common

Here’s a quick tip if you happen to have problems with the “javax.net.ssl.SSLHandshakeException: no cipher suites in common” exception. This may be caused because the java security settings is restricting the ciphers and algorithms that applications are allowed to use. This may be defined either at a system level (as in the case of Fedora, […]

Categories
Coding

IntelliJ: adjust the correct separator character for XML

Sometime ago, during a code review of one of my pull-requests, I found out that something really messed up my IntelliJ settings. I noticed this problem again today, so I am writing the tip here in order to make it easier for me and others to search. Here’s the problem: if the copyright comments for […]

Categories
Coding

Controlling a PC via Apple HomeKit: part 3

In the first 2 parts we installed the infrastructure and the tools to control the PCs. In this last part of the tutorial, we will create the scripts that will be run when the actions are triggered. Create the Power On script on the Raspberry Pi Create the directory where the script will be located. […]

Categories
Coding Fedora Linux

Controlling a PC via Apple HomeKit: part 2

On the first part of the tutorial, I showed how to install the infrastructure software to allow Apple devices to control a PC via Homekit. Now I am going to show how to install the services that interface with the infrastructure to execute the actions triggered by the Apple devices. Installing the power on service […]

Categories
Coding Linux Messaging

Controlling a PC via Apple HomeKit

This tutorial will show how to integrate a regular computer to a Apple’s HomeKit and use your iOS or iPadOS device to turn it on or off. Here’s a couple of videos showing how it should behave: This tutorial requires a iOS or iPadOS device, with the Home application, a Raspberry Pi and a computer […]

Categories
Coding DevOps

Automating shelving of Jenkins jobs