Mendhak / Code

Syncing the login wallpaper with the desktop wallpaper on Ubuntu

On Ubuntu 22.04 and 24.04, the background image that you set for your desktop doesn’t appear on the login screen. I will go over two ways of synchronizing the login…

Setting a static IP address in Ubuntu 24.04 using netplan

While setting up PiHole on an Ubuntu 24.04 server, I realized that the usual instructions I’d been following for years on Debian systems for setting a static IP address (often…

What does a reverse shell actually look like?

A reverse shell is a type of shell where the target machine (under attack) communicates back to an attacker’s machine, and importantly, gives the attacker control over the target machine.

My most useful network troubleshooting commands and tools

I’m not a networking professional, but I’ve often had to impersonate one. Here are some of the tools and commands I’ve found useful over the years.

Adding all AWS service certificate authorities to your trust store

When working with certain AWS services that require secure connectivity over TCP, you might run into the dreaded “unable to get local issuer certificate” error. This is because the service…

Lessons learned in moving on from Lightroom

Returning to photography from a post-pandemic malaise has been an invaluable experience that forced me to re-evaluate my workflow and tools. The main reason for the break was the ease…

Enhancing Kobo with text-to-image generation and simple explanations

I’ve modified my Kobo device to generate images from passages of text that I highlight. I select a passage of text, choose the “Visualize” option from the menu, and that…