This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mv /usr/local/bin/g++ /usr/local/bin/g++.bak && ln -s /usr/bin/g++-4.2 /usr/local/bin/g++ | |
rm /usr/local/bin/g++ && mv /usr/local/bin/g++.bak /usr/local/bin/g++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew doctor | |
Warning: /usr/local/share/python is not needed in PATH. | |
Formerly homebrew put Python scripts you installed via `pip` or `pip3` | |
(or `easy_install`) into that directory above but now it can be removed | |
from your PATH variable. | |
Python scripts will now install into /usr/local/bin. | |
You can delete anything, except 'Extras', from the /usr/local/share/python | |
(and /usr/local/share/python3) dir and install affected Python packages | |
anew with `pip install --upgrade`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Starting clearing watchman..." | |
watchman watch-del-all | |
echo "Removing and reinstall node modules" | |
rm -rf node_modules && npm install | |
echo "Clearing packager cache..." | |
rm -fr $TMPDIR/react-* | |
echo "Done." |