CRLF vs LF

CRLF vs LF

When working in software development, one of the most subtle yet crucial aspects you need to be aware of is the difference between line endings in text files between Windows (CRLF \r\n) and Linux/MacOS (LF \n). This small detail can cause big problems if not handled correctly, especially when working in mixed environments – version control conflicts, script incompatibilities, compilation or execution issues. I wrote this post to have a handy reference for dealing with this topic, including a few tricks. …

September 28, 2024 · 3 min
Git Multi-Account

Git Multi-Account

This post will walk you through the process of setting up and using multiple accounts with one or more Git providers (GitHub, GitLab, Gitea). I describe the two options I recommend: HTTPS + Git Credential Manager and SSH multi-account. The first, HTTPS + Git Credential Manager, is the one I use most, because it’s compatible with CLI and/or GUI tools like Visual Studio, VSCode, Git Desktop, Gitkraken, etc. The second option, SSH multi-account, I delegate to “headless” machines, servers I connect to remotely via CLI or VSCode remote that need to clone repositories and work on them. …

September 21, 2024 · 12 min
VMWare on Windows

VMWare on Windows

Virtualization allows running multiple operating systems on the same machine without making changes to the main disk. In this post I show how I install VMWare Workstation Pro as a host on a Windows 11 Pro and how I create a Windows 11 Pro Guest without TPM 2.0, for the purpose of having an isolated development environment. …

August 26, 2024 · 6 min
Windows for Development

Windows for Development

In this post I describe the steps to set up a Windows 11 machine as a development workstation for a cross-platform environment — Linux, macOS, and Windows. This is not oriented towards Microsoft/Windows-only software development, but rather for those who like to develop on and for multiple platforms and environments. I start from a clean Windows installation (in English), with nothing installed. I took advantage of needing to set up a dual boot and configured the operating system in a lightweight manner. The post starts with the CLI and WSL2, and in the second part I cover the tools and programming languages. …

August 25, 2024 · 43 min
A Decent Windows (Obsolete)

A Decent Windows (Obsolete)

In this post I explain how I configure a Windows 11 that I’m going to use for software development, testing or demos. I don’t need frills since it won’t have sensitive data, I want its essence, bare-bones, with few applications, some browsing and that’s it. In the end it became a technical exercise – removing everything I can, ads, Edge, extras, installing minimal drivers, a local account, having it boot and be available as soon as possible. Note: a year later I decided to create a new decent Windows 11 (2025). …

August 24, 2024 · 17 min
Dualboot Linux Windows

Dualboot Linux Windows

Dualboot means having two operating systems on the same computer and choosing which one to boot during the boot phase. My goal is to prepare my PC for dualboot and install Windows 11 Pro. Normally you install Windows first and then Linux, but in my case I already have Linux (Ubuntu) working perfectly and using the entire 4TB disk. I’m going to “add” Windows to enable dualboot. I describe the entire process, how I did it, how I resized the hard drive, added Windows and customized the boot menu. …

August 23, 2024 · 10 min