Tap for my shell-scripts repo
brew install rileytwo/shell-scripts/<formula>
Or brew tap rileytwo/shell-scripts and then brew install <formula>.
Or install via URL (which will not receive updates):
brew install https://raw.githubusercontent.com/rileytwo/homebrew-shell-scripts/master/Formula/<formula>.rb
brew help, man brew or check Homebrew's documentation.