Skip to content

Instantly share code, notes, and snippets.

wsl -d docker-desktop -e /sbin/hwclock -s
@juliandm
juliandm / gist:9f3456f3062e14b4693615dfe74ff20c
Created February 7, 2023 10:58
gcloud authentication from wsl
DISPLAY=":0" gcloud auth application-default login
# General
sudo apt-get install zip
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3
curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py
sudo apt install curl git-core gcc make zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev libssl-dev
brew install tfenv
pip install pipenv
brew install pyenv
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
eval `ssh-agent`
for possiblekey in ${HOME}/.ssh/id_*; do
if grep -q PRIVATE "$possiblekey"; then
ssh-add "$possiblekey"
fi
done
# PIP
export PATH="$HOME/.local/bin:$PATH"