Skip to content

Instantly share code, notes, and snippets.

View veyalla's full-sized avatar

Venkat Yalla veyalla

  • Microsoft
View GitHub Profile
#cloud-config
apt:
preserve_sources_list: true
sources:
msft.list:
source: "deb https://packages.microsoft.com/ubuntu/18.04/multiarch/prod bionic main"
key: |
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.7 (GNU/Linux)
{
"id": "tempsensor-5bc6db6876-mzz6z",
"schemaVersion": "1.0",
"labels": {
"app": "tempSensor",
"pod-template-hash": "5bc6db6876"
},
"content": {
"modulesContent": {
"$edgeAgent": {
---
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: fruity-ai
spec:
selector:
matchLabels:
app: fruity-ai
replicas: 1
#!/bin/sh
# https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux
# .---------- constant part!
# vvvv vvvv-- the code from above
GREEN='\033[0;32m'
NC='\033[0m' # No Color
die () {
#!/bin/sh
# https://stackoverflow.com/questions/5947742/how-to-change-the-output-color-of-echo-in-linux
# .---------- constant part!
# vvvv vvvv-- the code from above
GREEN='\033[0;32m'
NC='\033[0m' # No Color
die () {
echo >&2 "$@"