Cherry picking only certain files from one branch to another

May 21, 2025gitbash

At work I had a branch with a large amount of updated VRT (Visual Regressen Tests) (.png) files and this made the review process in GitLab near impossible. To make the Merge Request reviewable I wanted to rebase the branch into 2 commits. The first one containing just the code chages and the second one containing all the updated VRT(s).

Continue reading "Cherry picking only certain files from one branch to another"

Use VSCode to remove comments with regex

January 20, 2025vscoderegex

In you need to remove multiline comments (/* Comment */) from files in VSCode here is an easy regex to help you find them:

\/\*\*([\s\S\n]+?)\*\/

Debian 12: WiFi missing after installing update

It finally happened to me. The other night after installing an update from debain bookworm and restarting my WiFi was no longer working. On the desktop there was no longer a signal strength indicator and my browser informed me I was disconnected from the internet.

So I plugged in an ethernet cable and got started researching. After 2 minutes of searching I had the answer. I used nmcli (network manager cli) to see the state of my network devices. On my WiFi adapter there was an error plugin missing. Simply reinstalling network-manager with sudo apt reinstall network-manager fixed the problem and I could use my WiFi again.

Installing debian on a Lenovo ThinkCentre M715q

August 31, 2024linuxdebianlenovo

I recently purchased a Lenovo ThinkCentre M715q and wanted to install debian on it but after starting the installer the screen was completely corrupted. This forum post provided the solution. I had to press tab and add vga=normal fb=false to the boot string. After that the installer was displayed normally.

Install Linux Mint Cinnamon Themes on Debian

As a long time Windows user it probably is no surprise that I enjoy using the Cinnamon Desktop Environment. Although I have used and enjoyed using Linux Mint one goal I had when I started replacing Windows throughout my house was to be the same distribution on differnt machines. So I settled on installing Debian everywhere and customizing it to each systems individual needs.

I wanted to run Cinnamon on my Thinkpad Laptop and Debian can install it out of the box. The only problem is the defaykt theme leaves a lot to be deisred. Luckily the theme from Linux Mint can installed using a few commands from the terminal.

Continue reading "Install Linux Mint Cinnamon Themes on Debian"