Principles of Pipelines

WIP: This is a work in progress. I intend to start keeping notes of the basic theory, as I experience and learn it, of how to create a good CI/CD for delivering software. Version control: Ensure all code and configuration files are stored in a version control system like Git. This allows tracking changes, collaboration, … Read more

Easily Turn Your Raspberry Pi into a Smart TV

Have a Raspberry Pi lying around and want to turn an old monitor or dumb TV into a smart TV? Tired of slow and laggy smart TV dongles and want a better, more functional experience? This is exactly why I decided to turn my Raspberry Pi into a smart TV. In this article I’ll go … Read more

How to Get the Current Year in JavaScript

Step 1: Create a new Date object The first step to get the current year in JavaScript is to create a new Date object representing the current date and time. To do this, simply use the Date constructor without any arguments: const currentDate = new Date(); Step 2: Extract the current year Once you have … Read more