Skip to content

Instantly share code, notes, and snippets.

View numbsafari's full-sized avatar
🤠
I may be slow to respond.

Sam Wilson numbsafari

🤠
I may be slow to respond.
View GitHub Profile
C4Context
      title System Context diagram for Internet Banking System
      Enterprise_Boundary(b0, "BankBoundary0") {
        Person(customerA, "Banking Customer A", "A customer of the bank, with personal bank accounts.")
        Person(customerB, "Banking Customer B")
        Person_Ext(customerC, "Banking Customer C", "desc")

        Person(customerD, "Banking Customer D", "A customer of the bank, <br/> with personal bank accounts.")
# Create a GCP debian-9 (stretch) instance and then SSH into it
# gcloud compute instances create test-please --zone=us-east4-c --machine-type=n1-standard-2 --subnet=default --network-tier=PREMIUM --maintenance-policy=MIGRATE --scopes=https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write,https://www.googleapis.com/auth/monitoring.write,https://www.googleapis.com/auth/servicecontrol,https://www.googleapis.com/auth/service.management.readonly,https://www.googleapis.com/auth/trace.append --image=debian-9-stretch-v20190423 --image-project=debian-cloud --boot-disk-size=10GB --boot-disk-type=pd-standard --boot-disk-device-name=test-please
# gcloud compute ssh test-please
# From there, run the following two blocks of code to initialize the environment and run the go tests
# setup please pre-reqs
sudo apt-get update -y
sudo apt-get install -y --fix-missing golang-1.11 python3-pip git default-jre default-jdk
mkdir -p ~/.config/please