Code

Code

A treasure trove of code samples and handy snippets, ready to save your day (or at least a few keystrokes). Whether you’re looking for a quick fix, a clever hack, or just some clean, elegant solutions, this tag is where I’ll be sharing the lines of code that keep everything running smoothly. Dive in, copy, adapt, and make your development life just a little bit easier!

Latest posts

NodeJS and TypeScript

The key differences between Node.js and TypeScript. Learn how these technologies serve different purposes and complement each other for building scalable and reliable applications.

Introduction to Python

Python is a powerful, versatile language that’s widely spread. In this post, we'll cover the essentials of Python. Step-by-step installation and a first look at Python syntax. Writing your first "Hello, World!" script and understanding core programming concepts in Python.

How to Restrict Active Consoles to TTY1 in Linux

In this post, we’ll look at a simple script to limit active virtual consoles (TTYs) on Linux to TTY1 only. This can help reduce potential access, save system resources, or align with specific security requirements.