Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
peteristhegreat / wsl-rancher-desktop-docker-issue.md
Last active August 25, 2025 20:40
Is the docker daemon running? WSL, Rancher Desktop

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

$ docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

Happiness!

$ docker ps
@peteristhegreat
peteristhegreat / fix-dotnet-runtime-wsl.md
Created August 22, 2025 18:36
You must install .NET to run this application. Dotnet runtime issues. WSL/Debian

How to Fix dotnet runtime missing in WSL

Symptom

You try to run a dotnet project and you get:

You must install .NET to run this application.

App: /home/phyatt/.dotnet/tools/dotnet-outdated
@peteristhegreat
peteristhegreat / flashforge-ad5m-under-extrusion.md
Last active August 17, 2025 21:52
FlashForge Adventure 5M, Under-Extrusion with a new hot-end
@peteristhegreat
peteristhegreat / setup-c-cpp-programming-language.md
Last active July 5, 2025 04:06
How do you setup a programming language and run it?

IDE

Examples

Qt Creator

Compiler/Linker

You take your .cxx and your .hxx files (.c/.h or .cpp/.hpp/.h) and build them to .o files aka object files. Then all the object files get linked together into an executable.

@peteristhegreat
peteristhegreat / firebase-docs-clone.md
Created June 28, 2025 15:45
Firebase React Docs Clone, Meetings App
@peteristhegreat
peteristhegreat / us-license-plate-alpr-anpr.md
Last active June 28, 2025 15:33
US License Plate ALPR ANPR, datasets, training, OCR research, 2025

Motivation

ALPR and ANPR

Automatic License Plate Recognition

Automatic Number Plate Recognition

I wanted to build out a mobile ALPR app without paying a subscription cloud fee to someone. I dug in and found that it is a pretty layered problem, especially with the constraints I had given myself.

@peteristhegreat
peteristhegreat / wrong-history-robotics.md
Last active June 20, 2025 16:27
A Brief, Incomplete, and Mostly Wrong History of Robotics, Analysis
@peteristhegreat
peteristhegreat / wrong-history-programming-langauges.md
Last active June 20, 2025 16:07
A Brief, Incomplete, and Mostly Wrong History of Programming Languages, Analysis
@peteristhegreat
peteristhegreat / gittyup-wsl-directions.md
Last active June 12, 2025 16:17
GittyUp - git gui for Linux, run in WSL

SourceTree and VSCode were giving me issues with browsing my git repo without marking all my files as "changed".

This looks like it is caused by having my code in WSL in Ubuntu instead of the code in Windows. Maybe there is some other feature that is off, but for now I am pushing back towards open source awesomeness.

GittyUp in WSL

A fork of GitAhead, it is Qt based and pretty easy to install with flatpack.

As far as X11 support or a display for WSL2, Windows 11 ships with Wayland in place.

@peteristhegreat
peteristhegreat / wsl-gotchas-coding-git.md
Last active June 13, 2025 16:50
WSL gotchas, coding, git environment

Git permission downloads

If you clone a git repo into /mnt/c, then you will get 777 permissions on everything.

SourceTree access to a folder under WSL

SourceTree will complain with:

git log failed with code 128 detected dubious ownership ...