Posts

Switching from Docker Desktop to Rancher Desktop on WSL2: Solving the Missing docker-credential-desktop.exe Error

Switching from Docker Desktop to Rancher Desktop on WSL2: Solving the Missing docker-credential-desktop.exe Error I’ve been happily running Kamal inside WSL2 on my home Windows desktop for a while. My original setup included an older Docker Desktop installation. Recently, I wanted to replicate this environment on a different machine, but I discovered that Docker Desktop had changed their licensing terms. Technically, I’m still covered by the new licensing terms, but I decided to try Rancher Desktop instead. Installing Rancher Desktop on WSL2 Installation was straightforward. I installed Rancher Desktop, configured it to integrate with WSL2, and disabled Kubernetes (since I don’t currently need it). My plan was to continue using the Docker CLI inside WSL2 alongside Rancher Desktop for container management. The Authentication Error However, when I was in WSL and tried to authenticate (for example, with Docker Hub via docker login), I ran into this error: ``` failed to store...

How to Disable Bing Search in Windows

Image
 Many Windows users prefer to limit their searches to local files and programs without including internet results. Here's a simple guide to disable Bing search in Windows: ## Step-by-Step Guide 1. Open the Registry Editor    - Press `Win + R` to open the Run dialog    - Type `regedit` and press Enter 2. Navigate to the following path:    `HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search` 3. Create a new DWORD value:    - Right-click in the right panel    - Select New > DWORD Value (32-bit)    - Name the new value "BingSearchEnabled" 4. Configure the new value:    - Double-click on "BingSearchEnabled"    - Set the value to 0 5. Restart your computer ## What does this do? By setting "BingSearchEnabled" to 0, you're telling Windows that you don't want to use Bing search in the Windows search function. This limits the search to only include local files and programs.

Fixing pi-hole for Safari / Macbook

 Go into the network settings for each wifi or ethernet connection and disable Limit IP Adress Tracking

Setting up a zero tier bridge on a raspberry pi

Image
    1  sudo apt-get update     2  sudo apt-get update && sudo apt-get upgrade     3  sudo apt-get update && sudo apt-get -y upgrade     4  sudo apt-get update     5  sudo apt-get update && sudo apt-get upgrade     6  sudo apt-get -f upgrade     7  sudo apt update && sudo apt -y full-upgrade     8  sudo reboot     9  sudo apt-get update    10  sudo apt-get upgrade    11  curl -s https://install.zerotier.com | sudo bash    12  sudo zerotier-cli join abc4567890123456    13  sudo apt update && sudo apt -y full-upgrade    14  ifconfig    15  ifconfig    16  sudo zerotier-cli show    17  sudo zerotier-cli info    18  sudo zerotier-cli listnetworkw    19  sudo zerotier-cli l...

Allow WSL to talk with Hyper-V VMs

 Enter this command in powershell to enable forwarding: Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled -Verbose Credits goes to this link (thanks!)  https://automatingops.com/allowing-windows-subsystem-for-linux-to-communicate-with-hyper-v-vms

Installing pikvm on raspberry pi zero 2 w

Image
It turns out that Raspberry Pi Zero 2 W is an excellent platform for PiKVM in the wild. Given the right components, you can just plug in HDMI and USB into a target device, and you will be able to remotely view and control the device through a web interface. No need for external power! Components to buy: - HDMI to CSI-2 (i used the model from Geekworm with SKU: 100202, but site refers to https://www.aliexpress.com/item/4000102166176.html - perhaps it's the same) - microSDXC card (i used SanDisk Ultra microSDXC UHS-I Card 128GB) The HDMI to CSI-2 contained both a printboard with HDMI slot as well as a cable. Follow the steps: 1. Download https://pikvm.org/download/ , select the version named "Raspberry Pi Zero 2 W, v2 platform" 2. Follow the steps at https://docs.pikvm.org/flashing_os/ Which for my setup amounts to: 2.1 Download RPi Imager 2.2 Choose Custom image at the button 3. Then follow the steps here for adding a  3.1 Unplug the SD-card and put it back in. 3.2 Add a f...

Keyboard shortcuts in DK

 Here is a good guide https://blog.pc-geeks.dk/post/41434204543/typing-special-characters-on-a-danish-mac