Skip to content

Instantly share code, notes, and snippets.

View fredfortier's full-sized avatar

Frederic Fortier fredfortier

  • Enigma
  • United States
View GitHub Profile
@awayham
awayham / make_m3u_youtube_playlist.sh
Created October 24, 2021 12:23
Make m3u playlist of a Youtube Playlist (youtube-dl & jq must be installed)
#!/usr/bin/env bash
# $ ./make_m3u_youtube_playlist.sh [-d OUTPUT-DIR] URL [URL ...]
if ! which jq &>/dev/null || ! which youtube-dl &>/dev/null; then
echo "'youtube-dl' and 'jq' must be installed in \$PATH, exiting." 1>&2
exit 1
fi
declare log_file="$HOME/.make_m3u_youtube_playlist.log"
@tsl0922
tsl0922 / .tmux.conf
Last active March 24, 2025 02:15
vim style tmux config
# vim style tmux config
# use C-a, since it's on the home row and easier to hit than C-b
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
set -g base-index 1
# Easy config reload
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."