Last active
July 16, 2021 05:54
-
-
Save fundon/ae9c842c7fec26d29af70249051d74f8 to your computer and use it in GitHub Desktop.
New macOS
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
# ~/.profile | |
export HTTP_PROXY=http://127.0.0.1:9090 | |
export HTTPS_PROXY=http://127.0.0.1:9090 | |
export PATH="$HOME/.cargo/bin:$PATH" |
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 install git | |
brew install gpg | |
brew install curl --with-rtmpdump --with-openssl --with-nghttp2 --with-libssh2 --with-gssapi --with-c-ares | |
brew install fish && \ | |
echo $(brew --prefix)/bin/fish | sudo tee -a /etc/shells && \ | |
chsh -s $(brew --prefix)/bin/fish | |
brew install tmux | |
brew install reattach-to-user-namespace | |
brew install jq | |
brew install mas | |
brew install neofetch | |
brew install node | |
npm i -g prettier | |
npm i -g nodemon | |
npm i -g wepy-cli | |
brew cask install bitbar | |
brew cask install firefox | |
brew cask install google-chrome | |
brew cask install 1password | |
brew cask install telegram | |
brew cask install sketch | |
brew cask install dropbox | |
brew cask install kindle | |
brew cask install iina | |
brew cask install kap | |
brew cask install visual-studio-code | |
## For VIM Mode | |
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false | |
brew cask install docker-toolbox # virtualbox | |
brew cask install spechtlite | |
brew cask install wechat | |
brew cask install wechatwebdevtools | |
# rust | |
curl https://sh.rustup.rs -sSf | sh | |
rustup component add rustfmt-preview | |
#cargo install ripgrep | |
cargo install hexyl | |
cargo install diskus | |
brew install ripgrep | |
brew install bat | |
brew install fd | |
brew install exa | |
# docker | |
## docker-machine | |
docker-machine create default | |
docker-machine start default | |
docker-machine regenerate-certs default | |
docker-machine env default | |
export DOCKER_TLS_VERIFY="1" | |
export DOCKER_HOST="tcp://192.168.99.100:2376" | |
export DOCKER_CERT_PATH="/Users/fundon/.docker/machine/machines/default" | |
export DOCKER_MACHINE_NAME="default" | |
# Run this command to configure your shell: | |
# eval $(docker-machine env default) | |
eval $(docker-machine env default) | |
## docker | |
docker version | |
docker ps -a | |
docker run --name power-redis -p 6379:6379 -d redis | |
nc 192.168.99.100 6379 | |
PING | |
+PONG | |
docker run --name postgres -e POSTGRES_PASSWORD=* -p 5432:5432 -d postgres | |
docker exec -it postgres bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment