Oops, I Did It Again — Diffing My Bash Functions to Find My Mistakes Yesterday, I had a small failure. I’m the kind of person who makes many small mistakes but also often feels quite confident that things…
Automate Outlook Email Creation on macOS with Body Text and Attachments from Terminal If you often work in the macOS Terminal and want to quickly draft an Outlook email — complete with body text and file attachments — this…
Converting Timestamps Between Timezones on Linux When working with logs, scheduling, or data pipelines, you often need to convert timestamps from one timezone to another. The date command…
Downloading Historical Cryptocurrency Data Using Python and Pandas If you work with cryptocurrency data, you often need to automate downloading historical price data. In this guide, you’ll learn how to…
How to Lock Your Mac Screen from the Command Line (And Why You Should) If you use macOS and spend a lot of time in the terminal, you might be surprised to learn that you can lock your screen with a simple Bash…
How to Use Nmap to Scan Subnets for Common Ports Nmap is one of the most powerful tools for discovering devices and services on a network. Whether you’re assessing security…
Linux: how to delete a file only when is not used by any process When working on Linux systems — whether servers in production, development machines, or even embedded devices — you’ll eventually run into…
How to Ignore .log Files in a Git Repository Log files (.log) are often generated by applications during development or runtime and usually contain temporary debug output, errors, or…
Learn Go by creating a tool — Part 2 In the previous part https://medium.com/@kpatronas/learn-go-by-creating-a-tool-part-1-4ce3f9258027 of the series we saw how we can create…
Invisible Scripts! Run commands hidden in image files. In this article i will show you how to hide shell commands inside image files and how to run them, the purpose of this article is not to do…