This gist is a test of how you can manage things
I'm updating this locally in VSCODE
This gist is a test of how you can manage things
I'm updating this locally in VSCODE
apiVersion: app.k8s.io/v1beta1 | |
kind: Application | |
metadata: | |
name: "bank-of-anthos" | |
labels: | |
app.kubernetes.io/name: "bank-of-anthos" | |
annotations: | |
kubernetes-engine.cloud.google.com/icon: >- | |
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAj3npUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarZxnlly3sqX/YxQ9BHgzHJjAWj2DN/z+NrJISRRFmX6qK1WxmHkSJ8w2AZzr7H/+73X/h3+G993l0nodtXr+ySOPOPmh+88/n+/B5/ff98/+9nfhj7933/8i8qvE9/T5Y7Wv109+X357Q8tfv19//L1r++s6/etC4fuF3z9Jn6yfv17Xvy6U4uf34evPbny9b+bf3c7Xv3F/Xfbr4j/+OTeCcQrXS9FFSyF5/tv1Kenz7+TfwH9DalE/RX5OafDfkurPY+e+//hD8L7/9EPs/Pz6ffpjKJyvXy+oP8To6/eh/PD79P1j4h9WFH775D/8RRgx+t//87vY3Xv6vfa5u5krkaru66a+3cr7iRcuQpne2ypfjX8LP7f3Nfjq3OImY4dsLr62CyNEon1DDifMcIO97ztslpijRcIdY9wxvd91wj/ifsnI+go3NtJwXOrkZJO1xK/j97WE97njfd4OnU8+gVfGwMWUxT99uZ/98r98fb/QvSrdEHz/HivW9QLOMpQ5/ZdXkZBwv2JaXnzfl/td3fjfJTaRwfLC3LnB6dfnEquE32orvTwnXld8dv7TGqGdrwsQIj67sJiQyICvIZVQg28xthCIYyc/k5XHlOMiA6GUeIK75CalSnJ61Gfznhbea2OJn18DLSSC5kiN1NAoJCvnQv203KmhWVLJrpRSSyu9jDJrqrmWWmurwqjZUs |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
These scripts are meant to be run using the Google Cloud Shell
$ curl -o install-director-infrastructure.sh https://gist.githubusercontent.com/raw/2818bdb9ee660d1928c011ac019878a9/install-director-infrastructure.sh && . ./install-director-infrastructure.sh
$ gcloud compute ssh bosh-bastion "curl -o install-director.sh https://gist.githubusercontent.com/raw/2818bdb9ee660d1928c011ac019878a9/install-director.sh && . ./install-director.sh"
then clean up with
$ curl -o destroy-director.sh https://gist.githubusercontent.com/raw/2818bdb9ee660d1928c011ac019878a9/destroy-director.sh && . ./destroy-director.sh
#!/bin/bash | |
# Borrowed from https://gist.github.com/spencergibb/99371671cacf0ee84b7a | |
APP_NAME=$1 | |
APP_NAME="$(tr '[:lower:]' '[:upper:]' <<< ${APP_NAME:0:1})${APP_NAME:1}" | |
APP_NAME=${APP_NAME}App | |
PKG_NAME="com.demo.$1" | |
CMD="curl https://start.spring.io/starter.tgz -d applicationName=$APP_NAME -d artifactId=$1 -d name=$1 -d packageName=$PKG_NAME -d baseDir=$1 -d dependencies=$2" | |
echo "Executing $CMD | tar -xf -" | |
$CMD | tar -xf - |
api upload from python |
<div> | |
Hello | |
</div> |