Skip to content

Instantly share code, notes, and snippets.

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 Pitometsu/af21ef21c9508fb44e85 to your computer and use it in GitHub Desktop.
Save Pitometsu/af21ef21c9508fb44e85 to your computer and use it in GitHub Desktop.
# git
git config --global color.ui true
git config --global user.name "Yuriy Pitomets"
git config --global user.email pitometsu@gmail.com
git config --global push.default simple
git config --global gpg.program gpg2
git config --global user.signingkey $MY_GPG_ID
git config --global commit.gpgsign true
git config --local core.sshCommand "ssh -i ~/.ssh/id_rsa_corp"
git config --global rebase.autosquash true
# Better defaults
defaults write -g NSTextInsertionPointBlinkPeriod 999999999999
defaults write -g NSTextInsertionPointBlinkPeriodOff -float 0
defaults write -g NSTextInsertionPointBlinkPeriodOn -float 999999999999
defaults write com.apple.dock autohide-time-modifier -float 0.05; killall Dock
defaults write NSGlobalDomain InitialKeyRepeat -int 20
defaults write com.apple.DiskUtility DUDebugMenuEnabled 1
defaults write -g ApplePressAndHoldEnabled -bool false
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
defaults write com.apple.finder ShowPathbar -bool true
defaults write com.apple.finder ShowStatusBar -bool true
defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 16
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
defaults write com.apple.dock expose-animation-duration -float 0.15
defaults write com.apple.Dock showhidden -bool TRUE; killall Dock
# ADD this all
# install caskroom/cask/brew-cask
brew tap caskroom/versions
brew tap homebrew/dupes
brew tap buo/cask-upgrade
brew install direnv
brew install --HEAD https://raw.githubusercontent.com/koshigoe/homebrew-koshigoe/master/pgmodeler.rb && brew linkapps pgmodeler
brew install binutils
brew install diffutils
brew install ed --with-default-names
brew install findutils --with-default-names
brew install gawk
brew install gnu-indent --with-default-names
brew install gnu-sed --with-default-names
brew install gnu-tar --with-default-names
brew install gnu-which --with-default-names
brew install gnutls
brew install grep --with-default-names
brew install gzip
brew install screen
brew install watch
brew install wdiff --with-gettext
brew install wget
brew install gnu-getopt
brew install ghq
brew install bash
brew install emacs
brew install gdb # gdb requires further actions to make it work. See `brew info gdb`.
brew install gpatch
brew install m4
brew install make
brew install nano
brew install file-formula
brew install git
brew install less
brew install openssh
brew install perl518 # must run "brew tap homebrew/versions" first!
brew install python
brew install rsync
brew install svn
brew install unzip
brew install vim --override-system-vi
brew install macvim --override-system-vim --custom-system-icons
brew install zsh
brew install mas
brew tap d12frosted/emacs-plus
brew install koekeishiya/formulae/khd
brew tap crisidev/homebrew-chunkwm
brew cask install ubersicht
git clone git@github.com:srstevenson/ubersicht-bar.git \
"$HOME/Library/Application Support/Übersicht/widgets/ubersicht-bar"
# Command-line utils
sudo xcode-select --install
# MacPorts
sudo port selfupdate
sudo port install zsh +mp_completion
sudo port install zsh-completions zsh-templates-osx
sudo port install coreutils +with_default_names
sudo port install findutils grep
sudo port install the_silver_searcher tree tmux
sudo port install git git-extras git-flow
sudo port install subversion cvs
sudo port install gnupg
sudo port install wget w3m
sudo port install automake
# Haskell
sudo port install haskell-platform
sudo port install darcs
cabal update
cabal install cabal-install
cabal install happy haskdogs hasktags stylish-haskell present ghc-mod hlint hoogle structured-haskell-mode hindent HaRe haskell-docs
brew install pcre # for hgrep
stack install happy alex HaRe apply-refact haskdogs hasktags stylish-haskell present ghc-mod hlint hoogle structured-haskell-mode hindent intero hgrep hie djinn
# RVM
curl -sSL https://get.rvm.io | bash -s stable --ruby --autolibs=1 --auto-dotfiles
rvm reinstall 2.4.0 --with-openssl-dir=`brew --prefix openssl`
rvm --create --ruby-version ruby-1.9.3@my-gemset
rvmsudo rvm get head
# CocoaPods
rvm use 2.1.5@cocoapods --create --default # change to your Ruby actual version
gem install cocoapods --pre
# Ruby
rvm @global do gem install pry rubocop rsense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment