I’ve launched short (short reads), check it out here!
-
Case study: the SVG malware scam aimed at freelance devs
Tonight I just went through an evening full of emotions, from excitement, to surprise, to a nagging feeling that something was off, and finally to a big “aha”. The story starts on a freelancer platform where I hadn’t had a job for a long time :v. Today out of nowhere a stranger messaged me asking whether I could do... -
Do it first before buy
They reckon they’ve caught a very common spending disease: Buy-Before-You-Do syndrome. Back when they first took up running, the first thing they did was not lace up and head for the lake. It was to spend a whole evening hunting down a proper pair of shoes and breathable clothes, the kind actual runners wear. When... -
[Note] Wiping every node_modules folder to free up disk space
Anyone doing Node/JS/.NET dev already knows the node_modules folder is the black hole of the universe. Even a tiny demo project eats 50MB-200MB. Multiply that by a few dozen old projects you haven’t touched in a year (POCs, tutorials, side projects…) and there go a few dozen GB of your drive. The cleanup... -
[Note] Ignoring tracked files and the ignore layers in Git
This post is a quick note because I keep forgetting the syntax and always have to google it again, which wastes time. The eternal problem: you edit package.json or a config file locally just to get things running, but git status or your IDE’s changed-files panel always lists those files, which is really annoying to... -
[C#] What is the explicit/implicit operator actually useful for?
Have you ever heard of the concept of type casting? In C# (or other languages), when you want to convert one data type into another, for example float to int, that is casting. Casting is split into two kinds: explicit casting and implicit casting (the not-spelled-out one). But have you ever asked yourself: “Can I... -
How to create and run worker service C# in Linux?
Running a background process on Linux is a common requirement for developers, especially when deploying worker services built with C#. This guide demonstrates how to configure and manage a systemd service unit to run your C# worker service reliably on Linux. Step 1: Create a service unit fileService unit files... -
A few notes on the OS - single-tasking vs multitasking
Today’s log is mostly me jotting down a few notes on how the operating system (OS) handles programs. The OS has a bunch of pretty fun concepts, and once you start digging in you find they’re actually kind of interesting. OS - Operating SystemBack in the day, when electronic devices were still simple, the concept of... -
Should you use Any, Contains or Exists in C#?
Have you ever wondered which one of Any, Contains or Exists you should use, and why they had to “give birth” to 3 of them like that! Now let’s take a look together at why. Let’s go! Which one to use?When working with List, IEnumerable or array, using the Contains method takes full advantage of their efficiency...