Skip to content

Instantly share code, notes, and snippets.

@alex-salnikov
alex-salnikov / gist:0fc5e1a934c5818fa48112c6f99bde74
Last active August 23, 2023 17:18 — forked from timstermatic/gist:7384516
Rip a CD to MP3 with cdparanoia
# install cdparanoia e.g apt-get install cdparanoia
# MacOS
# brew install lame
# brew install cdparanoia
# copy all tracks into separate '.wav' files
cdparanoia -B
# convert to mp3 in a loop
@alex-salnikov
alex-salnikov / create-iso.sh
Last active March 7, 2021 19:37 — forked from julianxhokaxhiu/create-iso.sh
Simple bash script to create a Bootable ISO from macOS Catalina Install Image from Mac App Store
#!/usr/bin/env bash
#===========================================================================
# Works only with the official image available in the Mac App Store.
# Make sure you download the official installer before running this script.
#===========================================================================
echo "1/7: create Catalina.cdr"
hdiutil create -o Catalina.cdr -size 9000m -layout SPUD -fs HFS+J
echo "2/7: mount"
hdiutil attach Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build