brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
To run this, you can try:
curl -ks https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh | bash
I haven't tested this script doing it this way but i run a lot of my Gists like this so maybe this one'll work too.
Alternatively,
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
#!/bin/bash | |
# /** | |
# * @version 1.0 | |
# * @package Install ElasticSearch with the Cerebro UI on CentOS 6 & 7 (with or without cPanel) | |
# * @author Fotis Evangelou (https://kodeka.io) | |
# * @url https://engintron.com | |
# * @copyright Copyright (c) 2018 - 2019 Kodeka OÜ. All rights reserved. | |
# * @license GNU/GPL license: https://www.gnu.org/copyleft/gpl.html | |
# */ |
# ========================================================== | |
# NPM | |
# ========================================================== | |
npm set registry https://r.npm.taobao.org # 注册模块镜像 | |
npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像 | |
## 以下选择添加 | |
npm set sass_binary_site https://npm.taobao.org/mirrors/node-sass # node-sass 二进制包镜像 | |
npm set electron_mirror https://npm.taobao.org/mirrors/electron/ # electron 二进制包镜像 |