Skip to content

Instantly share code, notes, and snippets.

@kam1kaze
Last active November 7, 2017 10:42
Show Gist options
  • Save kam1kaze/8a86467aee5d7f216728bd8a34aece12 to your computer and use it in GitHub Desktop.
Save kam1kaze/8a86467aee5d7f216728bd8a34aece12 to your computer and use it in GitHub Desktop.
# Turn on "three finger drag"
# https://support.apple.com/en-us/HT204609
# Get back three finger tap to lookup the text
# http://notebooks.com/2015/10/05/how-to-get-back-three-finger-tap-os-x-el-capitan/
# OS X per windows language
# http://superuser.com/questions/33741/os-x-per-windows-language
### Install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
### Install browsers
brew cask install \
google-chrome \
firefox \
flash-npapi \
java \
google-hangouts
### Install iterm2
brew cask install iterm2
# iterm2 3.0 contains Solarized theme
# mkdir -p /Users/okravchenko/Work/workstation && cd $_
# git clone https://github.com/mbadolato/iTerm2-Color-Schemes
# # Install themes
# # https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/README.md#installation-instructions
# Install fonts
git clone https://github.com/powerline/fonts.git && cd fonts && ./install.sh
# Cntrl+i -> Pick Meslo LG M Regular for Powerline
# Fix del button
# http://stackoverflow.com/questions/33270381/delete-forward-character-iterm2-osx
### Configure language swithing
brew cask install karabiner-elements
# link Caps-lock with F19, set F19 as switcher
### Inatsll IMs
brew cask install \
skype \
viber \
rambox
### Install Vagrant
brew cask install \
vagrant \
virtualbox \
virtualbox-extension-pack
### Other
brew cask install \
chefdk \
google-drive \
ioquake3 \
skitch \
spotify \
steam \
qbittorrent \
tunnelblick \
vlc \
keepassxc \
google-photos-backup \
mac2imgur \
docker
# Do we really need it?
# brew install flashlight mysimbl
brew install \
bash \
bash-completion \
aria2 \
asciinema \
awscli \
calc \
coreutils \
dos2unix \
gawk \
git \
gmp \
gnu-sed \
go \
hping \
htop-osx \
httping \
ipcalc \
iproute2mac \
jq \
keychain \
kubernetes-cli \
mpv \
mtr \
nmap \
node \
netcat \
pstree \
psutils \
pv \
pwgen \
rpm \
socat \
ssh-copy-id \
sshuttle \
terraform \
tree \
tmate \
unrar \
watch \
wget \
xz \
youtube-dl
# Update system packages
brew install openssh
# bew install sshpass
### Install dotfiles
brew install vcsh
vcsh clone [email protected]:kam1kaze/dotfiles-main.git
### install python
brew install \
python \
python3
# install pip modules
pip install \
ansible \
python-openstackclient \
virtualenv
### Install ruby
\curl -sSL https://get.rvm.io | bash -s stable --ruby
### Install tmux
brew install tmux
brew install reattach-to-user-namespace --with-wrap-pbcopy-and-pbpaste
# Install plugins https://github.com/tmux-plugins/tpm#installation
### Install neovim
brew tap neovim/neovim
brew install neovim
gem install neovim
pip2 install neovim
pip3 install neovim
nvim +CheckHealth
# Install plug
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
nvim +PlugInstall
# Bash check syntax
brew install shellcheck
# Json
npm -g install jsonlint
# Yaml
pip install yamllint
### install zsh
brew install \
zsh \
zplug \
coreutils \
fzf \
ag
# Install official MSSQL client
# https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools#a-idmacosa-install-tools-on-macos
# Install yaml2json
mkdir -p ~/bin && pushd $_ &&
curl -LOJC - https://github.com/bronze1man/yaml2json/raw/master/builds/darwin_amd64/yaml2json &&
chmod 755 yaml2json &&
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment