Skip to content

Instantly share code, notes, and snippets.

View mothdotmonster's full-sized avatar
🏳️‍🌈
i'm gay

Chesapeake mothdotmonster

🏳️‍🌈
i'm gay
View GitHub Profile
@mrdaemon
mrdaemon / imaging.md
Last active September 22, 2025 19:28
Archiving CDROMs on Linux, A Quick and Dirty Guide

A quick and dirty guide to dumping images of your CDs and DVDs on Linux

https://untrusted.website/@mr_daemon

This roughly describes the process I use to dump my old CDs to image files while attempting to retain as much of the original data as possible.

This guide is very terminal oriented but it should remain accessible.

This covers mostly data cds such as games and software, and has mixed

@KayOhtie
KayOhtie / README.md
Last active November 9, 2025 04:16
Eufy Robovac 35C ESPHome for Home Assistant

Robobvac 35C Config

Since ESPHome doesn't actually support the vacuum entity type, much less creating one in Home Assistant, we have to make due with the TuyaMCU features offered.

We create a few buttons, a switch, and sensors, as well as selects for setting mode and speed. Then there's a vacuum template file for Home Assistant to take advantage of this.

In the end, you'll have a vacuum entity in Home Assistant that's fully local, fully ESPHome, but not perfectly-so.

Of note: ESPHome team, 115200 is a valid baudrate for (some) TuyaMCUs. The one in the vacuum does not support 9600 baud. Please stop alerting me to this. Tasmota has figured this out already.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@akiross
akiross / cifs_automount.md
Last active September 4, 2025 01:37
Automatically mount shared windows folders at boot on linux w/ systemd

Automount of CIFS (smbfs) folders w/ systemd

i.e. mounting your Windows shares on Linux at boot

First, let's see how to mount the remote directory. Assume that there is a shared folder over the network at \\192.168.1.1\users\self\shared which is accessible with user myuser and password secret123.

We could mount it manually in /mnt/winshare with:

# mount -t cifs //192.168.1.1/users/self/shared /mnt/winshare -o user=myuser,password=secret123

This should work on your Linux box, because systemd will basically call mount with the same arguments: What (//192.168.1.1/users/self/shared), Where (/mnt/winshare) and Options (user=myuser,password=secret123).

@mathiasbynens
mathiasbynens / appify
Created November 12, 2010 13:46 — forked from subtleGradient/appify
appify — create the simplest possible Mac app from a shell script
#!/bin/bash
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF
appify v3.0.1 for Mac OS X - http://mths.be/appify
Creates the simplest possible Mac app from a shell script.
Appify takes a shell script as its first argument:
`basename "$0"` my-script.sh