Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
peteristhegreat / 4-bar-mechanism.md
Last active September 12, 2025 18:27
4 bar mechanism, Perpendicular Bisector, 3 points to make a circle
@peteristhegreat
peteristhegreat / chat-gpt-sick-addictive.md
Created September 12, 2025 17:54
ChatGPT: What things are designed in the world to keep people sick, addictive without them knowing
@peteristhegreat
peteristhegreat / install-lg-rpi-x64.sh
Last active September 8, 2025 16:16
LazyGit for Rpi
#!/usr/bin/env bash
set -x
# Update system
sudo apt update && sudo apt upgrade -y
# Install dependencies
sudo apt install -y git curl build-essential
# Install Go (latest stable from golang.org)
@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