Notes: Coding Cheat Sheets and a Machine Learning Study Log
22 posts on notes, newest first.
The notes tag collects GeekCoding101’s working notes: cheat sheets for Git, Docker and tmux, practical guides to OpenSSL, RPM signing and encoding, and a day-by-day log of working through Andrew Ng’s Supervised Machine Learning course. Start with the cheat sheets if you need a command now. Start with the study log if you’re learning ML from scratch and want to see how someone else got through it.
Cheat sheets you’ll come back to
Short, copy-paste-friendly references for everyday tools.
- Git Notes. Config, branches, fast-forward merge, clone, checkout, remotes, log, diff, stash, squash, and how to revert or reset commits.
- Docker Notes. Building images with a multi-stage Dockerfile or
docker commit, export and import, and running a private Docker registry. - Tmux Notes. Shortcuts for panes, windows and sessions, plus configuration, plugins, iTerm2 integration and
.tmux.conftweaks.
Terminal and dev environment
How the terminal setup behind these notes was built, and kept working.
- Terminal Mastery: Crafting a Productivity Environment with iTerm, tmux, and Beyond. A full terminal setup, from a decade spent living in a Linux terminal to today’s iTerm and tmux workflow.
- Crafting A Bash Script with Tmux. A Bash script that rebuilds a six-window tmux dev environment (Django, Celery, Flower, Vue, Heroku) after a reboot, services included.
- Fix Font in VSCode Terminal. A quick fix for the VSCode integrated terminal after the iTerm and tmux setup above.
Certificates, security and packaging
- Mastering Openssl Command and NSS Database Management. Inspecting certificates, managing PKCS#12 (PFX) files, and working with the NSS certificate database using
certutil. - Build and Sign RPM package and repo. Building unsigned and GPG-signed RPM packages with
rpmbuild, verifying signatures, and creating yum repos withcreaterepo.
Encoding and frontend fixes
- An Adventurer’s Guide to Base64, Base64URL, and Base32 Encoding. How each scheme works, data URIs, URL-safe variants, and when to choose which.
- Vue: Fix the Blank index.html in WebHistory. Why a built Vue app shows a blank page when opened from disk:
createWebHistoryvscreateWebHashHistory, absolute asset paths, and the fix. - A Tutorial of Angular, Karma and Jasmine. Testing Angular apps: project setup, in-memory web API, services, specs, a cheatsheet and common Q&A.
Machine learning study log
In spring 2024 these notes tracked a hands-on learning run alongside an AI-powered knowledge base chatbot project (Django, LangChain, OpenAI, Chroma, Gradio). Read them in order:
| Post | What it covers |
|---|---|
| Supervised Machine Learning – Day 1 | Why an application-layer AI builder went back to ML fundamentals |
| Day 2 & 3 | Early course videos, plus 3Blue1Brown’s “But what is a neural network?” |
| Day 4 and 5 | Multiple features and vectorization (with NumPy) |
| Day 6 | Reviewing earlier notes |
| Day 7 | Feature scaling, and checking that gradient descent converges |
| Day 8 | Choosing the learning rate, the Jupyter lab, feature engineering |
| Day 9 | Gradient descent revisited, binary classification |
| Day 10 | Logistic regression: decision boundary, cost function, logistic loss, gradient descent implementation |
| Day 11, 12 | Overfitting vs underfitting, and fixing them with more data, simpler models or regularization |
Two milestone posts sit alongside the log:
- Finished Machine Learning for Absolute Beginners – Level 1. A lighter course taken while the Andrew Ng course felt dry.
- Honored to Pass AI-102! Earning the Microsoft Azure AI Engineer Associate certification.
- 6 min read
How I Passed AI-102: Prep & Exam Day
My AI-102 (Azure AI Engineer Associate) story: the training labs, MS Learn and notes I used, online exam day with OnVUE, and a 768 pass.
- 6 min read
Overfitting vs Underfitting & Regularization - ML Day 11-12
My Day 11-12 notes from Andrew Ng's Supervised ML course: overfitting vs underfitting, how to fix them, and regularization with λ, formulas and Python.
- 6 min read
Logistic Regression: Decision Boundary & Cost – Day 10
Day 10 notes from Andrew Ng's ML course: the logistic regression decision boundary, why squared error fails, logistic loss vs cost, and gradient descent.
- 5 min read
Gradient Descent & Logistic Regression – ML Day 9
Day 9 of Andrew Ng's Supervised ML course: gradient descent for one-variable linear regression, binary classification, logistic regression and sigmoid.
- 6 min read
Choosing the Learning Rate & Feature Engineering – Day 8
How to pick a learning rate from a learning curve, plus feature scaling and feature engineering: Day 8 notes from Andrew Ng's Supervised ML course.
- 8 min read
Feature Scaling & Gradient Descent Convergence (ML Day 7)
Day 7 notes from Andrew Ng's ML course: why feature scaling speeds up gradient descent, mean vs z-score normalization, and how to check convergence.
- 5 min read
Types of Machine Learning: Beginner Notes (Level 1 Course)
Beginner ML notes: supervised, unsupervised, semi-supervised and reinforcement learning, plus overfitting vs underfitting, from a Level 1 course.
- 5 min read
Gradient Descent for Multiple Linear Regression: ML Day 6
Gradient descent for multiple linear regression updates every weight wⱼ by subtracting the learning rate times the average of (prediction − target) × xⱼ⁽ⁱ⁾, and updates b the same way but without the…
- 5 min read
Multiple Linear Regression & Vectorization – ML Day 4-5
Notes from Andrew Ng's Supervised ML course, days 4–5: multiple linear regression, dot product and NumPy vectorization, plus a self-quiz.
- 6 min read
Supervised ML Day 2 & 3: Gradient Descent and Learning Rate
Gradient descent minimizes a cost function J(w, b) by repeatedly moving w and b a small step against their partial derivatives, with the step size set by the learning rate α. If α is too small, it…
- 8 min read
Supervised Learning Day 1: Regression vs Classification
Supervised machine learning trains a model on labeled examples, meaning inputs (x) paired with the right answers (y), so it can predict y for inputs it hasn’t seen. Day 1 of Andrew Ng’s Supervised…
- 3 min read
Fix Nerd Font Icons in the VS Code Terminal
Powerlevel10k icons showing as boxes or question marks in the VS Code terminal? Set terminal.integrated.fontFamily to your Nerd Font. Steps for macOS.
- 7 min read
iTerm2, tmux, Oh My Zsh & Powerlevel10k Setup on Mac
Set up a Mac terminal step by step: iTerm2, Nerd Fonts, Oh My Zsh with Powerlevel10k, and tmux via gpakosz/.tmux, plus tmux auto-attach on launch.
- 7 min read
Base32 vs Base64 vs Base64URL: How Each Encoding Works
Base32 vs Base64 vs Base64URL in plain English: alphabets, padding, size overhead, worked examples, data URIs, and when to choose each one.
- 6 min read
Vue Blank index.html Fix: WebHistory vs Hash Mode
Built Vue app shows a blank page when you open dist/index.html? Why createWebHistory and absolute asset paths cause it, and how to fix it.
- 6 min read
Bash Script to Rebuild a tmux Dev Environment After Reboot
tmux-resurrect restores windows, not running services. Here's the script I use to rebuild a six-window Django, Celery, Vue tmux session after reboot.
- 8 min read
OpenSSL & certutil Cheat Sheet: Certs, PFX, NSS DB
OpenSSL and certutil commands: inspect certificates, convert PFX to PEM, fetch a server cert, and import, trust or export certs in an NSS database.
- 9 min read
Angular Unit Testing with Karma and Jasmine: A Tutorial
Test an Angular app with Karma and Jasmine: project setup, headless Chrome, in-memory web API, class and service specs, a CLI cheatsheet and FAQ.
- 8 min read
Build and Sign RPM Packages and Yum Repos
Build RPMs with rpmbuild, sign them with GPG, verify with rpm -K, and serve signed and unsigned yum repos with createrepo. Full spec files included.
- 6 min read
Tmux Cheat Sheet: Shortcuts, Sessions and Config Tips
Tmux shortcuts for panes, windows and sessions, plus copy-mode search, plugins, iTerm2 setup and the .tmux.conf tweaks I rely on.
- 8 min read
Docker Notes: Multi-Stage Builds, Save/Load & Registry
Docker notes: multi-stage Dockerfile, docker commit, save/load vs export/import, a private registry with registry:2, and where images are stored.
- 13 min read
Git Cheat Sheet: Config, Branches, Stash, Reset & Revert
Practical Git commands with notes: config, branches, sparse checkout, diff, stash, squash, reset vs revert and detached HEAD fixes.
FAQ
What’s in the notes tag? Working notes from real projects. You’ll find cheat sheets for Git, Docker and tmux, guides to OpenSSL, NSS and RPM signing, encoding and frontend fixes, and a machine learning study log based on Andrew Ng’s Supervised Machine Learning course.
What’s the difference between Base64 and Base32?
Base64 uses 64 characters (A–Z, a–z, 0–9, +, /), so each character carries 6 bits and the output is about a third larger than the input. Base32 uses 32 characters (A–Z and 2–7), carrying 5 bits per character. Its output is larger, but it is case-insensitive and avoids symbols. Base64URL swaps + and / for - and _ so the result is safe in URLs. The Base64 guide above covers when to pick each one.
Where should I start with the machine learning notes? Start at Day 1 and follow the table above in order. Each post is short, two to eight minutes, and builds on the previous day.
Are the older cheat sheets still accurate? The Git and Docker notes date back to 2018 and the tmux notes to 2020. The core commands are stable, but check flags and plugin details against your installed version’s documentation.
Is it free to read? Yes. Every post is free and there is no sign-up.