- Load the functions by appending
source functions.zsh
at the end of your.zshrc
file. - Log in to gcloud:
gcloud auth login
- Set the default region:
gcloud config set compute/region us-east1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Install Java and jq | |
sudo apt -y install default-jre-headless jq | |
# Get latest version | |
latestVersion=$(curl -s https://search.maven.org/solrsearch/select?q=a:bfg | jq -r '.response.docs[0].latestVersion') | |
# Fetch latest bfg.jar |