Skip to content

Instantly share code, notes, and snippets.

@alonisser
Last active February 26, 2024 12:42
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 alonisser/4163ab265457612e7834e1a2130a251c to your computer and use it in GitHub Desktop.
Save alonisser/4163ab265457612e7834e1a2130a251c to your computer and use it in GitHub Desktop.
Setting up a dev machine (with osx)
alias ll="ls -lhA"
alias cd..="cd .."
alias psg="ps aux | grep -v grep | grep -i -e VSZ -e"
alias ps="ps auxf"
alias mkdir="mkdir -pv"
alias wget="wget -c"
alias histg="history | grep"
alias kedit-secret="KUBE_EDITOR=kube-secret-editor.py kubectl edit secret"
[user]
email = alonisser@gmail.com
name = alonisser
[color]
sh = auto
[push]
default = upstream
[alias]
pr = pull --rebase --prune
lg = log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%an%d%Creset %s %Cgreen(%cr)%Creset' --date=relative
ready = rebase -i @{u}
  • brew install: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • brew install --cask slack
  • chrome
    • lastpass
    • adblocker
  • pyenv brew install pyenv
  • nvm: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
  • oh my zsh
    • plugins: git npm pip nvm node python sbt pyenv docker (also add pyenv to .zshrc before plugins)
    • fzf
brew install fzf
$(brew --prefix)/opt/fzf/install
  • Poetry: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
  • scala + sbt
brew install coursier/formulas/coursier && cs setup
cs install scala:2.12.16 && cs install scalac:2.12.16

  • jetbrains:
    • pycharm
    • webstorm
    • intellij
    • plugins
  • vscode
  • docker machine
  • anydesk, skype
  • vim
  • tools: jq wget brew install jq wget
  • postman - UI download
  • az cli brew install azure-cli + az login
  • aws cli
sudo installer -pkg AWSCLIV2.pkg -target /
  • databricks cli pip install databricks-cli
  • kubectl brew install kubectl
  • gpg
brew install gpg
  • databricks
pip install databricks --global
  • ack-grep
brew install ack-grep
  • terraform
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
  • Mongo
brew tap mongodb/brew
brew install mongodb-database-tools


  • Redis cli brew install redis
  • Setting up virtualenvwrapper to actually work
pip install --user virtualenvwrapper
# in .zshrc
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Projects
export VIRTUALENVWRAPPER_VIRTUALENV=~/.local/bin/virtualenv

source ~/.local/bin/virtualenvwrapper.sh
  • Setting python and libs dependencies
brew install libmemcached zlib opensll
# And in the .zshrc
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib
brew install libpq
  • Heroku
brew tap heroku/brew && brew install heroku
  • VPN
brew install openvpn-connect

then add the two files with the credentials

  • k8s stuff
brew install kind
brew install helm
kind create cluster

Follow the relevant notion page on setting up workstuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment