Skip to content

Instantly share code, notes, and snippets.

@stlee42
stlee42 / fip.md
Last active September 3, 2024 09:51 — forked from harperreed/fip.md
@stlee42
stlee42 / LICENSE
Created April 15, 2021 01:33 — forked from wlib/LICENSE
Run a shell script with bash, line-by-line, prompted on each command. Useful for running unknown scripts or debugging. Not a secure substitute for understanding a script beforehand.
MIT License
Copyright (c) 2021 Daniel Ethridge
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@stlee42
stlee42 / script-template.sh
Created December 15, 2020 15:33 — forked from m-radzikowski/script-template.sh
Minimal safe Bash script template - see the article with full description: https://betterdev.blog/minimal-safe-bash-script-template/
#!/usr/bin/env bash
set -Eeuo pipefail
trap cleanup SIGINT SIGTERM ERR EXIT
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)
usage() {
cat <<EOF
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...]
#EXTM3U
#EXTINF:0, Bassdrive
http://amsterdam2.shouthost.com.streams.bassdrive.com:8000
#EXTINF:0, soma.fm : Groove Salad
http://ice1.somafm.com/groovesalad-256-mp3
#EXTINF:0, soma.fm : Subub of GOA
http://ice1.somafm.com/suburbsofgoa-128-mp3
#EXTINF:0, soma.fm : Fluid
http://ice1.somafm.com/fluid-128-mp3
@stlee42
stlee42 / Radio.m3u
Created August 17, 2018 06:25 — forked from Ezka77/Radio.m3u
RadioFrance m3u playlist
#EXTM3U
#EXTINF:0,FranceCulture
http://direct.franceculture.fr/live/franceculture-midfi.mp3
#EXTINF:0,FranceInter
http://direct.franceinter.fr/live/franceinter-midfi.mp3
#EXTINF:0,FIP
http://direct.fipradio.fr/live/fip-midfi.mp3
#EXTINF:0,FIP Rock
http://direct.fipradio.fr/live/fip-webradio1.mp3
#EXTINF:0,FIP Jazz