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
| # Add to zshrc: | |
| # [[ -f ~/.config/zsh/worktrees.zsh ]] && source ~/.config/zsh/worktrees.zsh | |
| # Git worktree navigation. Run `wt help` for the commands. | |
| _wt_rows() { | |
| git worktree list --porcelain 2>/dev/null | awk ' | |
| /^worktree / { path = substr($0, 10); branch = "(detached)"; stale = "" } | |
| /^branch / { branch = substr($0, 8); sub(/^refs\/heads\//, "", branch) } | |
| /^prunable/ { stale = "stale" } |
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
| system_profiler SPAudioDataType | grep "Default Output Device: Yes" -B 2 | head -n 1 | sed "s/://g" | awk '"'"'{$1=$1};1'"'"' |
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
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| import tweepy #https://github.com/tweepy/tweepy | |
| import csv | |
| #Twitter API credentials | |
| consumer_key = "" | |
| consumer_secret = "" | |
| access_key = "" |