Skip to content

Instantly share code, notes, and snippets.

View kerunaru's full-sized avatar
💡
Solving

Juan Manuel Cabello kerunaru

💡
Solving
View GitHub Profile
@kerunaru
kerunaru / gist:442d8752bd38a2f73264be01ec8dcb5a
Created February 24, 2023 16:36
Create a blank MS-DOS floppy image
mkfs.msdos -C /path/imagefile.img 1440
sudo mkdir /media/floppy1/
sudo mount -o loop /path/imagefile.img /media/floppy1/
### Keybase proof
I hereby claim:
* I am kerunaru on github.
* I am kerunaru (https://keybase.io/kerunaru) on keybase.
* I have a public key ASBvI1AtRRjnFdbctJMKVjzVg4V0gK7XcX97BGFRkRIpEwo
To claim this, I am signing this object:
@kerunaru
kerunaru / install-mpd.sh
Last active February 16, 2022 09:22
Install MPD from source with GME support on macOS
!#/bin/env bash
brew install meson boost pkg-config game-music-emu libressl
sudo mkdir -p /usr/local/opt/libressl/lib
sudo ln -s /opt/homebrew/Cellar/libressl/3.3.3/lib /usr/local/opt/libressl/lib
git clone https://github.com/MusicPlayerDaemon/MPD.git
cd MPD-master
@kerunaru
kerunaru / gist:788d81238dec092236e23eb6926326e8
Last active February 1, 2018 13:19
Create blank Amiga format 3.5" disk images
# Create a standard 3.5" DD image:
dd if=/dev/zero of=blank.adf count=1760
# Create a 3.5" HD image:
dd if=/dev/zero of=blank.adf count=3520