Skip to content

Instantly share code, notes, and snippets.

@entropiae
entropiae / Install pyenv on Ubuntu 18.04 + fish shell
Last active February 5, 2024 22:24
Install pyenv on Ubuntu 18.04 + Fish shell
Install pyenv on Ubuntu 18.04 + fish shell
- Install the packages required to compile Python
$ sudo apt-get update; sudo apt-get install --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
- Download pyenv code from github
$ git clone https://github.com/pyenv/pyenv.git ~/.pyenv
- Define environment variable PYENV_ROOT to point to the path where pyenv repo is cloned
$ echo "set --export PYENV_ROOT $HOME/.pyenv" > ~/.config/fish/conf.d/pyenv.fish
@entropiae
entropiae / fix_git_sslread_9806.sh
Last active February 3, 2022 23:32
git: how to solve "SSLRead() return error -9806" in OSX using brew
$ brew remove git
$ brew remove curl
$ brew install openssl
$ brew install --with-openssl curl
$ brew install --with-brewed-curl --with-brewed-openssl git

Keybase proof

I hereby claim:

  • I am entropiae on github.
  • I am entropiae (https://keybase.io/entropiae) on keybase.
  • I have a public key whose fingerprint is DB90 FC5C 2C11 0B84 4009 BCC9 BCEC 29D2 D887 045A

To claim this, I am signing this object: