- Python 3
- Pip 3
$ brew install python3
#!/usr/bin/env zsh | |
sudo rm -f /usr/bin/node | |
sudo rm -f /usr/bin/npm | |
sudo ln -s $(which node) /usr/bin/ | |
sudo ln -s $(which npm) /usr/bin/ |
Options included below:
docker-compose
brew
This gist was originally created for Homebrew before the rise of Docker, yet it may be best to avoid installing mysql via brew
any longer. Instead consider adding a barebones docker-compose.yml
for each project and run docker-compose up
to start each project's mysql service.
κΈμ΄μ΄: κΉμ μ£Ό([email protected])
μ΄ λ¬Έμλ ν μνλ‘μ° κ³΅μ νμ΄μ§ λ΄μ©μ λ°νμΌλ‘ λ§λ€μ΄μ‘μ΅λλ€.
ν μνλ‘μ°(TensorFlow)λ κΈ°κ³ νμ΅κ³Ό λ₯λ¬λμ μν΄ κ΅¬κΈμμ λ§λ μ€νμμ€ λΌμ΄λΈλ¬λ¦¬μ λλ€. λ°μ΄ν° νλ‘μ° κ·Έλν(Data Flow Graph) λ°©μμ μ¬μ©νμμ΅λλ€.
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
ffmpeg -i <infile> -ac 2 -f wav <outfile> |
# Set variables in .bashrc file | |
# don't forget to change your path correctly! | |
export GOPATH=$HOME/golang | |
export GOROOT=/usr/local/opt/go/libexec | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$PATH:$GOROOT/bin |
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.