RAILS CUSTOM ENVIRONMENT CREDENTIALS MIGRATION

Introduction Rails 5.2 introduced a new credentials API where one could store key/value pairs in an encrypted file - which can and should be checked in your git repository - managed by rails and rails would generate a key file - which shouldn’t be checked in - in order to decrypt the first file. The credentials are managed using: bin/rails credentials:edit which would generate by default: config/credentials.yml: the encrypted file config/master.

HOW TO USE SELECTABLE OBJECTS IN GARMIN CONNECTIQ APPS

This post describes how to use Selectable objects in Garmin ConnectIQ apps with a practical example and code snippets. First what is Selectable? as per Garmin SDK documentation: Selectable is the class representation of an on-screen selectable object with defined states depending on selection mode. In other words it’s the UI element to handle user input on watches with touch screens, it becomes inevitable to use in case there are no physical buttons (other than the main select button) - Vivoactive watches for example.

ESTABLISH STATIC WEBSITE USING HUGO, RENDER, CLOUDFARE AND IMPROVMX

Let me kick off this blog by telling how was it built. With the various static websites frameworks and infrastructure services out there, there are quite a lot of ways one can take to make a blog. The good thing about the one I’m going to describe is that it costs nothing 😄 completely free*.

  • As long as the providers stick to their word and keep the services free.