Skip to content

Instantly share code, notes, and snippets.

View amilnarski's full-sized avatar

Aaron Miller amilnarski

View GitHub Profile
@amilnarski
amilnarski / keybase.md
Created February 27, 2021 13:17
keybase.md

Keybase proof

I hereby claim:

  • I am amilnarski on github.
  • I am eiron (https://keybase.io/eiron) on keybase.
  • I have a public key ASDLCwT-5yq6n8hG9wOENNFkwfUy3KaB8UsPgkuPEx56aAo

To claim this, I am signing this object:

@amilnarski
amilnarski / kick.sh
Created July 18, 2015 23:27
A simple script to restart a launchd started home-brew formula.
YELLOW='\033[1;33m'
NC='\033[0m'
for BREW_NAME in "$@"
do
printf "Kicking ${YELLOW}$BREW_NAME${NC} using launch control.\n"
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.$BREW_NAME.plist
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.$BREW_NAME.plist
printf "Kicked ${YELLOW}$BREW_NAME${NC}.\n"
done
exit 0