Skip to content

Instantly share code, notes, and snippets.

View miwnwski's full-sized avatar
💭
reincarnated fl0w

miwnwski

💭
reincarnated fl0w
View GitHub Profile
@miwnwski
miwnwski / install_docker.sh
Last active July 27, 2020 08:24
Install Docker Engine CE on Ubuntu 20.04 focal fossa
# Grabbed from https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04
sudo apt update
# Install a few prerequisite packages which let apt use packages over HTTPS
sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
# Add the GPG key for the official Docker repository to your system
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
# Add the Docker repository to APT sources
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt update
@miwnwski
miwnwski / reinstall-command-line-tools.sh
Last active April 21, 2020 08:16
Fix "gyp: No Xcode or CLT version detected!" on macOS Catalina 10.15.2 (and above?)
# Reinstall xcode
# Find and forcefully remove command line developer tools
sudo rm -rf $(xcode-select --print-path)
# If a new window doesn't prompt automagically (it didn't for me)
xcode-select --install