This is not meant to be prescriptive, this is just how I use git
. Sharing in case others find it useful.
Shift mindset to branch early.
About to do something (even something small)?
if git rev-parse --is-inside-work-tree 2>/dev/null; then | |
open "https://$(echo $(git remote get-url origin | sed 's/git@//' | sed 's/\.git//' | sed 's/:/\//'))" | |
else | |
echo "'$PWD' is not a git repo" | |
fi > /dev/null |
watch -n 1 "ps aux | grep -i 'zoom\.us' | grep -v grep > /dev/null && echo 'zoom is running' || echo 'zoom is NOT running'" |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/cpeterson/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
lsof -a -p <PID> -d cwd -F n | grep '^n' | sed 's/^n//' |
graph
subgraph offsite
bb[(backblaze.com)]
db[(dropbox.com)]
end
subgraph home server
hsnd{{shared network drive}}
hsst(syncthing)
hsem(emby)
OpenAudible is great for taking control over your audible library.
A missing feature (in their backlog) is to customize output filenames. This gist is a script to support different filename formats.