Skip to content

Instantly share code, notes, and snippets.

@George-Hudson
Created March 29, 2016 17:35
Show Gist options
  • Save George-Hudson/d087c9c3c153596d2862045ee7fabffb to your computer and use it in GitHub Desktop.
Save George-Hudson/d087c9c3c153596d2862045ee7fabffb to your computer and use it in GitHub Desktop.
# start server
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
# stop server
$ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
@George-Hudson
Copy link
Author

mail catcher

$ launchctl load ~/Library/LaunchAgents/me.mailcatcher.plist
Then, type mailcatcher to start a local mail server and then in your browser, go to http://localhost:1080 to view outbound emails. If Mailcatcher fails to start, you may need to modify the last program argument line to read the following (YMMV).

$SHELL --login -c "$HOME/.rbenv/shims/mailcatcher --foreground"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment