brew installでインストール対象のファイルが404とかになった場合の対処方法をよく忘れるのでメモ。
brew editでformulaを開く
$ brew edit <target>
urlを別の生きているurlに書き換え。もしくは別途マニュアルでダウンロードして、file://のurlを指定する。
class Nite < Formula
homepage 'https://onedrive.live.com/redir?resid=33B0FE678911B037%21573'
#brewで取りに行くと404
#url 'https://onedrive.live.com/download?resid=33B0FE678911B037%21573'
url 'file:///Users/poly/Downloads/NITE-Bin-MacOSX-v1.5.2.21.tar.zip'
...
end