Category: Code

2025

27

Feb

disk space low blog post image

The “Oh No, My Server Is Out of Space” Problem (and a Fix!)

Ever had a server quietly run out of space while you weren’t looking? Yeah, me too. Instead of manually checking disk usage (because who has time for that?), I wrote a Python script that monitors disk space, filters out unimportant partitions, and sends an email alert before things go south. It even has a lockfile mechanism to prevent spamming my inbox. Best part? You can set it up as a cron job and never think about it again—until it warns you just in time. Check out the full breakdown and grab the script to keep your servers in check!

Read more

13

Feb

I waaaaaant ascii art and cyberpunk - asciipunk

The Great ASCII Art Hunt (or: Why I Had to Build My Own Damn Tool)

So I made a new program. why you ask? because I needed an ascii art generator and could not find one that did what I wanted.

Read more

2024

21

Nov

wtf is the wtf command

WTF is this AI command?

The OpenBSD wtf command has been a beloved tool for quickly decoding acronyms. Inspired by its simplicity, I created a modern version powered by OpenAI’s GPT. This updated wtf answers any query—not just acronyms—delivering concise explanations with references, all from the command line. Whether you’re curious about quantum computing or Kubernetes, this tool combines the charm of the original with the power of AI to provide answers in seconds.

Read more

11

Apr

neovim showing a notes split

Neovim Note-Taking: A Lua Adventure

A quick look at 7-line piece of neovim lua code that has changed my workflow quite a bit. Note-taking simplicity at its best.

Read more

2023

23

May

Python virus for fun and profit

Can you write a self-replicating virus in python? I gave it a try.

Read more

2019

27

Jun

fun() != fun(void) in C

Many C-programmers do not realize that fun() != fun(void) unless they have a C++ background.

Read more

2018

26

Jun

Fun with C

How can 20-some bytes of C-code fill your disk up completely ? Let’s find out.

Read more