Skip to content

Instantly share code, notes, and snippets.

View highgain86j's full-sized avatar

Tahiro Hashizume highgain86j

View GitHub Profile
@highgain86j
highgain86j / rip_cdrom.sh
Created September 21, 2024 12:15 — forked from patrickmoffitt/rip_cdrom.sh
Script to losslessly copy all the tracks on an audio CD to a folder named the same as the album. Requires Mac OS X, a cdrom drive and cdparanoia.
#!/bin/bash
# Script to losslessly copy all the tracks on an audio CD to a folder
# named the same as the album.
#
# System Requirements: Mac OS X, cdrom drive, cdparanoia.
#
# Patrick Moffitt October 8, 2017.
#
CDPARANOIA=$(which cdparanoia)
@highgain86j
highgain86j / rip.sh
Created September 21, 2024 12:15 — forked from mykola2312/rip.sh
bash script for CD/DVD music ripping
#!/usr/bin/env bash
# first, we need to determine type of disk
# this can be achieved by trying first mount_cd9660 and checking error
# if it returns "Device not configured" - we need to wait,
# otherwise its not CD9660 fs and we can move to next
#
# try mounting UDF, if it returns "Invalid argument" - it's not an UDF
#
# the last remaining disc type is CD audio disc, that we must
@highgain86j
highgain86j / mydns.lua
Created January 28, 2017 05:31 — forked from shiwork/mydns.lua
YAMAHA RTXシリーズでDDNSをLuaで更新通知するスクリプト
------------------------------------
-- Config
------------------------------------
-- MyDNS ID
mid="MyDNSID"
-- MyDNS Password
pwd="MyDNSPASSWD"