Skip to content

Instantly share code, notes, and snippets.

View cheng-alvin's full-sized avatar

Alvin Cheng cheng-alvin

View GitHub Profile
@cheng-alvin
cheng-alvin / yt-playlist-download.js
Last active September 26, 2025 13:46
Download YouTube Music playlists
/**
* Dumb script to download a playlist of songs through a supplied YouTube Music
* URL; natively integrates album and artist names embedded from the source's
* metadata. Requires `yt-dlp` and `ffmpeg` to be installed and accessible in
* the same directory as this script. Also requires `node` to run.
*
* @note The commands for `yt-dlp` and `ffmpeg` can be modified to suit your
* operational needs and environment. Constants to change such commands are
* presented below:
*
@abelcallejo
abelcallejo / README.md
Last active October 20, 2025 15:22
Creating bootable Linux USB using Mac

Creating bootable Linux USB using Mac

mac

CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.

1. Prepare the .iso file

Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file

2. Convert the .iso file into a .img.dmg