Skip to content

Instantly share code, notes, and snippets.

@namenu
Last active February 4, 2021 13:52
Show Gist options
  • Save namenu/31062068a9671417ae41 to your computer and use it in GitHub Desktop.
Save namenu/31062068a9671417ae41 to your computer and use it in GitHub Desktop.
bootstrap
# Install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# desktop applications
brew install --cask firefox
brew install --cask chrome
brew install --cask dropbox
brew install --cask notion
brew install --cask 1password
brew install --cask iterm2
brew install --cask ripgrep bat
#brew install git
#brew install ruby python3 nvm
#brew cask install gpg-suite
# editors, ides
brew install --cask sublime-text
brew install --cask sourcetree
brew install --cask visual-studio-code
#brew cask install typora
#brew cask install atom
# clojure
#brew install clojure/tools/clj
# make zsh install first...
# oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# brew install zsh-completion
brew install zsh-syntax-highlighting zsh-autosuggestions
brew install z
echo ". /usr/local/etc/profile.d/z.sh" >> ~/.zshrc
# spacevim
curl -sLf https://spacevim.org/install.sh | bash
brew install starship
# Disable capture shadow.
defaults write com.apple.screencapture disable-shadow -bool TRUE
killall SystemUIServer
# Reveal ~/Library folder on Finder
chflags nohidden ~/Library/
# Neat Finder's Path Bar
defaults write com.apple.finder PathBarRootAtHome -bool yes;killall Finder
# Send specific traffic over VPN
sudo bash -c 'sudo echo "#!/bin/sh
/sbin/route add 115.68.53.0/24 -interface ppp0" > /etc/ppp/ip-up'
sudo chmod a+x /etc/ppp/ip-up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment