Skip to content

Instantly share code, notes, and snippets.

@rrggrr
Last active November 9, 2019 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rrggrr/41327e6b2e2598945c3c62a135e81994 to your computer and use it in GitHub Desktop.
Save rrggrr/41327e6b2e2598945c3c62a135e81994 to your computer and use it in GitHub Desktop.
#!/bin/sh
# ** RUN ME USING: ./myscript.sh | tee -a "$log_file" ** FOR LOG FILE
brew install git bash-completion
brew install python
brew install pyenv
brew install gitHub
brew install ffmpeg
brew install youtube-dl
brew install openssl
brew install libressl
brew cask install install atom
brew cask install veracrypt
brew cask install geektool
brew cask install spotify
brew cask install hazel
brew cask install vlc
brew cask install microsoft-office
pip3 install jupyter
pip3 install nltk
pip3 install scipy
pip3 install termcolor
pip3 install lxml
pip3 install numpy
pip3 install pandas
pip3 install seaborn
pip3 install bs4
pip3 install weasyprint
pip3 install yahoofinance
pip3 install xhtml2pdf
pip3 install ggplot
pip3 -U pip
brew cleanup --force
defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true
defaults write com.apple.finder QLEnableTextSelection -bool true
defaults delete com.apple.dock persistent-apps
defaults delete com.apple.dock persistent-others
defaults write com.apple.screencapture location -string "${HOME}/Desktop"
defaults write com.apple.screencapture type -string "png"
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
defaults write com.apple.frameworks.diskimages skip-verify -bool true
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
sudo nvram SystemAudioVolume=" "
defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 0
defaults write com.apple.finder WarnOnEmptyTrash -bool false
chflags nohidden ~/Library
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
defaults write com.apple.TextEdit RichText -int 0
defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true
# Change indexing order and disable some search results
# Yosemite-specific search results (remove them if you are using OS X 10.9 or older):
# MENU_DEFINITION
# MENU_CONVERSION
# MENU_EXPRESSION
# MENU_SPOTLIGHT_SUGGESTIONS (send search queries to Apple)
# MENU_WEBSEARCH (send search queries to Apple)
# MENU_OTHERdefaults write com.apple.spotlight orderedItems -array \
'{"enabled" = 1;"name" = "APPLICATIONS";}' \
'{"enabled" = 1;"name" = "SYSTEM_PREFS";}' \
'{"enabled" = 1;"name" = "DIRECTORIES";}' \
'{"enabled" = 1;"name" = "PDF";}' \
'{"enabled" = 1;"name" = "FONTS";}' \
'{"enabled" = 0;"name" = "DOCUMENTS";}' \
'{"enabled" = 0;"name" = "MESSAGES";}' \
'{"enabled" = 0;"name" = "CONTACT";}' \
'{"enabled" = 0;"name" = "EVENT_TODO";}' \
'{"enabled" = 0;"name" = "IMAGES";}' \
'{"enabled" = 0;"name" = "BOOKMARKS";}' \
'{"enabled" = 0;"name" = "MUSIC";}' \
'{"enabled" = 0;"name" = "MOVIES";}' \
'{"enabled" = 0;"name" = "PRESENTATIONS";}' \
'{"enabled" = 0;"name" = "SPREADSHEETS";}' \
'{"enabled" = 0;"name" = "SOURCE";}' \
'{"enabled" = 0;"name" = "MENU_DEFINITION";}' \
'{"enabled" = 0;"name" = "MENU_OTHER";}' \
'{"enabled" = 0;"name" = "MENU_CONVERSION";}' \
'{"enabled" = 0;"name" = "MENU_EXPRESSION";}' \
'{"enabled" = 0;"name" = "MENU_WEBSEARCH";}' \
'{"enabled" = 0;"name" = "MENU_SPOTLIGHT_SUGGESTIONS";}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment