N. P. O'Donnell, 2021
Ubuntu instructions. More info can be found here
sudo apt update
N. P. O'Donnell, 2021
Ubuntu instructions. More info can be found here
sudo apt update
N. P. O'Donnell, 2021
Based on:
#!/usr/bin/env bash | |
# | |
# sync-gists.sh | |
# | |
# Allows github gists to be edited locally or on gist.github.com and syncs changes between them. | |
# Currently gist SHA-1 hashes must be manually added to a file called gist_ids. An SSH key should | |
# be configured on github.com for ease of use. | |
# | |
# Format of $GIST_FILE file is one SHA-1 hash per line. | |
# |
N. P. O'Donnell, 2021
Check for latest version here
Add MongoDB repository to Apt and install:
#!/usr/bin/env bash | |
# Update docker-compose to latest version or a specific version. | |
# N. P. O'Donnell, 2021 | |
if [[ -z $1 ]]; then | |
compose_version=$(curl https://api.github.com/repos/docker/compose/releases/latest | jq .name -r) | |
else | |
compose_version=$1 | |
fi | |
output=~/bin/docker-compose |