This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Create an AWS Lightsail instance at https://aws.amazon.com/lightsail/ | |
- I chose: 1 GB RAM, 1 vCPU, 40 GB SSD | |
- start it and wait for it to come up | |
- click the console/terminal icon to open a console | |
2. Run `nano docker-compose.yaml` Paste in the lines found below. Consider changing the password. | |
3. Run `sudo docker-compose up -d` | |
4. Close the terminal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt --fix-broken install --yes | |
sudo add-apt-repository --yes ppa:cappelikan/ppa | |
sudo apt update --yes | |
sudo apt --fix-broken install --yes | |
sudo apt install mainline --yes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Define supported audio extensions | |
EXTENSIONS="wav flac ogg m4a aac wma opus" | |
# Find and process all audio files in the current directory and subdirectories | |
find . -type f \( -iname "*.wav" -o -iname "*.flac" -o -iname "*.ogg" -o -iname "*.m4a" -o -iname "*.aac" -o -iname "*.wma" -o -iname "*.opus" \) | while read -r file; do | |
# Get the directory and filename without extension | |
dir=$(dirname "$file") | |
filename=$(basename "$file" | cut -d. -f1) |