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
# Automatically install fnm (Fast Node Manager) and the correct Node version. | |
# [fnm (Fast Node Manager)](https://github.com/Schniz/fnm) performs the same function as [nvm](https://nvm.sh/), but is a bit faster. | |
use_fnm() { | |
local version_file="${1:-.nvmrc}" | |
if ! has fnm; then | |
if [[ "$OSTYPE" == darwin* ]] && has brew; then | |
brew install fnm | |
elif has cargo; then | |
cargo install fnm | |
elif has curl; then |
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
# Editorconfig: https://EditorConfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
tab_width = 2 | |
end_of_line = lf | |
charset = utf-8 |
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
# The OS is macOS (darwin) | |
function is_mac() { [[ "$OSTYPE" == darwin* ]]; } | |
# The OS is macOS (darwin) running on an M1 (arm64) CPU | |
function is_mac_arm() { is_mac && [[ "$CPUTYPE" == arm64 ]]; } | |
# The OS is macOS (darwin) running on an Intel (amd64) CPU | |
function is_mac_intel() { is_mac && [[ "$CPUTYPE" == x86_64 ]]; } | |
# Does shell env have command | |
function is_cmd() { command -v "$1" &>/dev/null; } | |
# timestamp sane for filenames |
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
#EXTM3U | |
#EXTINF:0,Defcon 128 - Seven Inch Soul: Vintage soul tracks from the original 45 RPM vinyl. [SomaFM] | |
http://ice1.somafm.com/7soul-128-aac | |
#EXTINF:0,SomaFM: Seven Inch Soul (#2 ): Vintage soul tracks from the original 45 RPM vinyl. | |
http://ice2.somafm.com/7soul-128-aac | |
#EXTINF:0,SomaFM: BAGeL Radio (#1 ): What alternative rock radio should sound like. | |
http://ice1.somafm.com/bagel-128-mp3 | |
#EXTINF:0,SomaFM: BAGeL Radio (#2 ): What alternative rock radio should sound like. | |
http://ice2.somafm.com/bagel-128-mp3 | |
#EXTINF:0,SomaFM: Beat Blender (#1 ): A late night blend of deep-house and downtempo chill. |