Skip to content

Instantly share code, notes, and snippets.

View veyalla's full-sized avatar

Venkat Yalla veyalla

  • Microsoft
View GitHub Profile
#!/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 "$@"
#!/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 () {
---
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: fruity-ai
spec:
selector:
matchLabels:
app: fruity-ai
replicas: 1
{
"id": "tempsensor-5bc6db6876-mzz6z",
"schemaVersion": "1.0",
"labels": {
"app": "tempSensor",
"pod-template-hash": "5bc6db6876"
},
"content": {
"modulesContent": {
"$edgeAgent": {
#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)
{
"HostConfig": {
"Privileged": true
},
"k8s-experimental": {
"volumes": [
{
"volume": {
"name": "dev-video0",
"hostPath": {
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"dnsLabelPrefix": {
"type": "string",
"metadata": {
"description": "Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed."
}
},
New-Module -Name IoTEdge -ScriptBlock {
<#
# Installs the IoT Edge Security Daemon on Windows.
#>
#requires -Version 5
#requires -RunAsAdministrator
Set-Variable Windows1607 -Value 14393 -Option Constant
@veyalla
veyalla / 1.0.10.md
Last active October 15, 2020 23:12

Major features

  • Upgraded EdgeAgent and EdgeHub to .NET Core 3.1
  • Monitoring metrics docs
  • Remote access to diagnostics, including support-bundle docs
  • Message priority and time-to-live docs blog
  • Module startup order can be optionally configured docs 
  • PnP leaf devices and PnP modules support docs
  • Arrays are now supported in module twins [docs](https://docs.m
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"dnsLabelPrefix": {
"type": "string",
"metadata": {
"description": "Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed."
}
},