This is an iTerm2 snippet that uses ffmpeg to convert all AIFF files in a given folder to their corresponding MP3s
- ffmpeg
# Requires System.Data.SQLite assembly and VS Code to be installed | |
# Check if the assembly is already loaded | |
if (-not ([System.Reflection.Assembly]::LoadWithPartialName("System.Data.SQLite"))) { | |
# Attempt to load the assembly from the specified path | |
$assemblyPath = "C:\Program Files (x86)\Common Files\Red Gate\SQLite\System.Data.SQLite.DLL" | |
if (Test-Path $assemblyPath) { | |
Add-Type -Path $assemblyPath | |
} else { | |
Write-Error "System.Data.SQLite assembly not found at the specified path: $assemblyPath" |
Write-Output "-------------------" | |
Try | |
{ | |
Write-Output "--> Stopping all containers..." | |
docker stop $(docker ps -a -q) 2>&1 | out-null | |
Write-Output "--> Deleting all stopped containers..." | |
docker rm $(docker ps -a -q) 2>&1 | out-null |
Execute this in the browser console while visiting a playlist page like https://www.beatport.com/genre/techno-raw-deep-hypnotic/92/top-100
// Find all .container elements
const containers = document.querySelectorAll('.container');
// Collect details (song, artist, and additional info) from each container
const details = Array.from(containers).map(container => {