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 February 26, 2025 05:13
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

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 February 16, 2025 08:29
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