Skip to content

Instantly share code, notes, and snippets.

Last active November 28, 2021 14:15
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
# check if user logged in into appstore
read -p "Check if you are logged in into AppStore. Press enter to continue ↵"
# install oh my zsh
sh -c "$(curl -fsSL"
# install homebrew
/usr/bin/ruby -e "$(curl -fsSL"
# install ruby
brew install ruby
# setup bash completion
brew install git
brew install bash-completion
cat > ~/.oh-my-zsh/custom/vdugnist_path.zsh << EOL
cat > ~/.oh-my-zsh/custom/vdugnist_aliases.zsh << EOL
# notification aliases
# type it after long time command: ... || notify
alias notify="osascript -e 'display notification \"task execution completed\" with title \"terminal\" sound name \"Ping.aiff\"'"
# install pods with notification
alias pi="pod install && osascript -e 'display notification \"cocoapods installed\" with title \"terminal\" sound name \"Ping.aiff\"'"
# install pods with updating repo and notification
alias piu="pod install --repo-update && osascript -e 'display notification \"cocoapods installed\" with title \"terminal\" sound name \"Ping.aiff\"'"
# update git and pods with notification
alias good_morning="git checkout master && git pull -r && piu"
# setup git user info
git config --global ""
git config --global "vdugnist"
# setup gem without sudo
echo "gem: --user-install -n~/bin --no-document" > ~/.gemrc
# vim setup
mkdir -p ~/.vim/colors
curl > ~/.vim/colors/solarized.vim
curl > ~/.vimrc
# install utilities
gem install cocoapods
gem install fastlane
brew install git-lfs
brew install tig
brew install nmap
brew install ffmpeg
brew install htop
brew install mas
brew install jq
brew install jid
brew install clang-format
brew install swiftformat
brew install python3
brew install imagemagick
brew install swift-protobuf
brew install cmake
brew install android-studio
brew install firefox
brew install vlc
brew install sublime-text
brew install dash
brew install gimp
brew install zeplin
brew install skype
brew install zoom
brew install google-drive
brew install tunnelblick
brew install transmission-cli
mas upgrade
mas install 967805235 #Paste
mas install 497799835 #Xcode
mas install 803453959 #Slack
mas install 747648890 #Telegram
mas install 425424353 #Unarchiver
mas install 939343785 #Icon set creator
mas install 979033429 #MWeb
mas install 408981434 #iMovie
mas install 409183694 #Keynote
mas install 409201541 #Pages
mas install 409203825 #Numbers
# setup sublime text ctrl+tab order
cat > ~/Library/Application\ Support/Sublime\ Text/Packages/User/Default\ \(OSX\).sublime-keymap << EOL
{ "keys": ["ctrl+tab"], "command": "next_view" },
{ "keys": ["ctrl+shift+tab"], "command": "prev_view" },
# install pip
sudo easy_install pip
sudo pip install xunique
# install xcode theme
mkdir -p ~/Library/Developer/Xcode/UserData/FontAndColorThemes
curl -o ~/Library/Developer/Xcode/UserData/FontAndColorThemes/Spacedust.xccolortheme
# install my scripts
curl > ~/bin/croppy
curl > ~/bin/compress_video_folder
# create link to airport
ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport ~/bin/airport
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment