Skip to content

Instantly share code, notes, and snippets.

@bmaupin
bmaupin / 01-lego-7722-fixup.md
Last active December 25, 2025 17:30
Lego Steam Cargo Train (7722) fixup

ⓘ These instructions may also apply to other Lego 4.5V trains such as the Diesel Freight Train

Cleaning and restoring

  1. Remove lid from battery box car and clean contacts, e.g. with vinegar to remove battery corrosion
  2. Using a small knife or screwdriver, spread the contacts of the cable that plugs into the motor so it makes better contact
    • Out of the box the contacts are too small and loose on the side that connects to the motor
  3. If there's a squealing sound coming from the motor box, it can be disassembled and lubricated
@bmaupin
bmaupin / no-mans-sky.md
Last active September 12, 2025 16:27
No Man's Sky

No Man's Sky

📌 All instructions are specific to Linux (Steam Proton). Adjust for other operating systems as needed.

⚠️ Work in progress

Finish an expedition that's ended

ⓘ These steps are to finish an expedition that has ended which you've already started but not completed

@bmaupin
bmaupin / garage-door-maintenance.md
Last active July 18, 2025 22:00
Garage door maintenance

Garage door maintenance

⚠️ If you have a torsion spring, do not replace or adjust the spring or replace the bottom roller yourself as you can be killed or maimed!

👉 I am not a professional

📌 This document is a work in progress based on my own experience as I learn

Door opener

@bmaupin
bmaupin / how-to-search-internet.md
Last active June 9, 2025 16:02
How to search the internet in 2025

How to search the Internet

If you want to know what a human thinks

  • Append reddit to the end of search results
    • For example: best network attached storage reddit
    • This isn't quite as useful when searching for factual information
  • Or look for forums

Search for exact words

@bmaupin
bmaupin / polycast-modcast.xml
Last active May 16, 2025 14:26
PolyCast and ModCast RSS feed
<rss version="2.0" xmlns:itunes="https://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="https://search.yahoo.com/mrss/">
<channel>
<title>PolyCast and ModCast</title>
<itunes:subtitle>A Civilization Podcast Focused on Game Strategy</itunes:subtitle>
<description>PolyCast and ModCast up to but not including Civ 7</description>
<itunes:keywords>Sid Meier, Sid Meier's Civilization, Civilization VII, Civilization VI: Leader Pass, Civilization VI: New Frontiers Pass, Civilization VI: Gathering Storm, Civilization VI: Rise and Fall, Civilization VI, Civilization: Beyond Earth - Rising Tide, Civilization: Beyond Earth, Civilization V: Brave New World, Civilization V: Gods and Kings, Civilization VI, Civilization, Civ, Civ4, Civ5, Civ6, Civ7, CivRev, Warlords, Beyond the Sword, Sid Meier, GalCiv, Turn-Based Strategy, PolyCast, ModCast, RevCast, SCivCast, TurnCast, Firaxis, 2K</itunes:keywords>
<itunes:author>The PolyCast.Net</itunes:author>
<itunes:owner>
<itunes:name>CanusAlbinus</itunes:name>
@bmaupin
bmaupin / gammu-wammu.md
Last active May 2, 2024 05:33
Export feature phone SMS using Gammu/Wammu

General notes

SMS

Gammu/Wammu may not be able to retrieve dates for sent messages, only received messages.

MMS

MMS messages may not be able to be exported using Gammu/Wammu with some phones. If you don't see MMS in the exported messages, you may be able to save the message attachments to the phone's storage and copy them to a PC via a USB cable.

@bmaupin
bmaupin / laptop-sleep.md
Last active March 24, 2025 19:03
Notes on laptop sleep

Summary

  • Older laptops support hardware (S3) sleep, which uses little to no battery power.
  • Newer laptops only support software (S0ix) sleep, which will gradually drain the battery over a period of a few days (although it can be less than a day in extreme cases).
  • If you have an older laptop (made before ~2020), your laptop may still support S3 sleep. See below for more information.
  • If your laptop doesn't support S3 sleep:
    • Limit usage of sleep to short periods of time; otherwise, power off instead.
    • Using the latest Linux kernel possible will provide benefits to sleep functionality as operating system support for S0ix sleep improves.
    • Power off your laptop before putting it in a bag; laptops in S0ix sleep can get hot and the fan can even turn on.
@bmaupin
bmaupin / tiling-extensions-for-gnome.md
Last active August 1, 2025 11:19
Tiling extensions for Gnome

Goal: find a Linux alternative to FancyZones for Windows

Name Recommended Type Supports main colum Supports layouts Multiple windows in same tile Windows can span multiple zones Notes
Tiling Shell 👍👍👍 Gnome extension yes yes yes yes Explicitly inspired by Windows tiling, works great out of the box
gSnap 👍👍 Gnome extension yes yes yes yes Can be configured almost just like FancyZones; in the settings:
  • disable Show tabs
  • enable Hold CTRL to snap windows
gTile Gnome extension no?
Tiling Assistant ([Now bundled with Ubuntu](https://www.omgubuntu.co.uk/2023/06/
@bmaupin
bmaupin / javascript-frameworks.md
Last active October 20, 2025 16:27
Thoughts on JavaScript frameworks

Recommendations

1. Full-stack vs. frontend

First, you need to decide if you need full-stack or just a frontend framework.

Most people should use a full-stack framework and not a frontend framework by itself. This allows anything sensitive such as API secrets to be handled on the server.

There are some situations in which a web application could securely use a frontend framework alone, although these are less common. This would require that the app delegate authentication to a third party and that auth be used to access APIs so that no sensitive information would ever need to be stored in the frontend.

@bmaupin
bmaupin / podman-rhel7-vagrant-rootless.md
Last active November 21, 2023 13:02
Run podman on RHEL 7 with Vagrant without root