Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#Referecne:
# 1. https://gist.github.com/zenorocha/7159780
# 2.
#install xcode command tool
xcode-select --install
# check
xcode-select -p
#
# 安裝Homeber
#
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# check brew
brew doctor
brew update
# File transfer
brew install wget
brew install curl
brew install ctags
brew install git
# https://duck.sh/
brew install duck
brew install --cask filezilla
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
brew install findutils --default-names
# development
brew install --cask jetbrains-toolbox
brew install --cask visual-studio-code
# Programing language
brew install asdf
asdf plugin add cmake
asdf install cmake latest
asdf plugin add golang
asdf install golang latest
asdf plugin add terraform
asdf plugin add rclone
asdf install rclone latest
asdf plugin add conan
asdf install conan latest
asdf plugin add gradle
asdf install gradle latest
asdf plugin add python
asdf install python latest
# Install useful command line tools
brew install ack # grep for source code
brew install jq # grep for json
brew install json2csv
brew install tree # recursive directory listing command
brew install webkit2png # captures webpage screenshots
brew install parallel
# Cloud cli
brew install awscli
brew install az
# Remote Access
# brew cask install royal-tsx
brew install iterm2
# for compare file
brew install sourcetree
brew install cyberduck
# VM
brew install virtualbox
#brew install vagrant
# Install VirtualBox Guest Additions
#vagrant plugin install vagrant-vbguest
# Running Docker (http://jesperrasmussen.com/2014/06/02/running-docker-on-homebrew/)
brew install docker
brew install podman
# DB Monitor
# brew cask install sequel-pro
# brew cask install pgadmin3
# brew cask install dbeaver-enterprise
#Redis Monitor
# brew cask install rdm
# Editor
brew install vim --with-lua --override-system-vi
brew install textmate
# System Monitor
brew install htop-osx
brew install hping
# browser
brew install brave
brew install firefox
# Communication
brew install telegram
brew install zoom
brew install slack
brew install --cask microsoft-teams
brew install discord
# Cloud Storage
brew install --cask dropbox
brew install --cask google-drive
brew install --cask onedrive
# Entrainment
# brew cask install spotify
# brew cask install popcorn
# brew cask install flash
brew install --cask mplayerx
# Markdown editor for developers.
brew install --cask mou
# other
brew install readline
brew install openssl
brew install --cask 1password
brew install --cask nally
brew install --cask evernote
# brew cask install --cask bettertouchtool
# brew cask install xquartz
# System Clean
# cask install cleanmymac
brew install --cask appcleaner
# install QuickLook
# https://github.com/sindresorhus/quick-look-plugins
#brew install --cask qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzipql qlimagesize webpquicklook suspicious-package
#font
brew tap homebrew/cask-fonts
brew install svn
brew install --cask font-source-code-pro
brew install --cask font-fontawesome
brew install --cask font-inconsolata-dz-for-powerline
# Remove outdated versions from the cellar
brew cleanup
csvkit
#Install CSVKit and check to make sure that it is in your path
pip install csvkit
#
# 安裝YARD dotfile
#
#
#sh -c "`curl -fsSL https://raw.github.com/howie/dotfiles/master/install.sh`"
sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`"
#
#
#
cd ~/Downloads
#
# 安裝 agnoster.zsh-theme
# http://rocket-science.ru/shell/2013/04/04/yadr-for-dummies/
#
wget https://gist.githubusercontent.com/agnoster/3712874/raw/c3107c06c04fb42b0ca27b0a81b15854819969c6/agnoster.zsh-theme
mv agnoster.zsh-theme ~/.zsh.prompts/prompt_agnoster_setup
wget https://github.com/downloads/digitalformula/zsh.prompts/get-short-path.zsh.zip
unzip get-short-path.zsh.zip
rm -rf __MACOSX
mv get-short-path.zsh ~/.yadr/zsh
wget https://github.com/downloads/digitalformula/zsh.prompts/git-omz.zsh.zip
unzip git-omz.zsh.zip
mv git-omz.zsh ~/.yadr/zsh
wget https://gist.githubusercontent.com/qrush/1595572/raw/51bdd743cc1cc551c49457fe1503061b9404183f/Inconsolata-dz-Powerline.otf
wget https://gist.githubusercontent.com/qrush/1595572/raw/417a3fa36e35ca91d6d23ac961071094c26e5fad/Menlo-Powerline.otf
wget https://gist.githubusercontent.com/qrush/1595572/raw/2eb22321d590265799aac5b166cd19f8358b0db1/mensch-Powerline.otf
echo "autoload -Uz promptinit" >> ~/.zshrc
echo "promptinit " >> ~/.zshrc
echo "prompt agnoster" >> ~/.zshrc
echo "alias updatedb=\"sudo /usr/libexec/locate.updatedb\"">> ~/.zshrc
#echo '. <(azure --completion)' >> ~/.zshrc
# https://github.com/gcuisinier/jenv
#jenv enable-plugin gradle
#jenv enable-plugin maven
#
# Enable Gradle Daemon
#
touch ~/.gradle/gradle.properties && echo "org.gradle.daemon=true" >> ~/.gradle/gradle.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment