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
KEYVAULT_NAME=donovankv | |
RESOURCEGROUP=donovan | |
MY_SECRET_VALUE=donovan | |
FUNCTIONAPP_STORAGEACCOUNT_NAME=donovanstore | |
LOCATION=westeurope | |
FUNCTIONAPP_NAME=donovanfa | |
. ./resources.sh |
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
#r "Microsoft.WindowsAzure.Storage" | |
#r "Newtonsoft.Json" | |
using System.Net; | |
using Microsoft.CognitiveServices.SpeechRecognition; | |
public class ReportItem{ | |
public string id {get;set;} | |
public string audioFile {get;set;} | |
public string audioText {get;set;} | |
} |
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
#Change VMName, Service Name and min/max values in hours | |
$ExpectedUptime = 6 | |
$ForceShutdownAfter = 8 | |
$VMName = "name of VM" | |
$ServiceName = "Name of service" | |
$Now = Get-Date | |
$Wmi = Get-WmiObject -ComputerName $Env:COMPUTERNAME -Query "SELECT LastBootUpTime FROM Win32_OperatingSystem" | |
$LastReboot = $Wmi.ConvertToDateTime($Wmi.LastBootUpTime) | |
$Uptime = $Now - $LastReboot |
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
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
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
[<Measure>] | |
type ly; | |
[<Measure>] | |
type s; | |
type Coordinate = { | |
x: float<ly> | |
y: float<ly> | |
z: float<ly> |
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
<html> | |
<head> | |
<title>Test</title> | |
<link rel="stylesheet" media="all" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/themes/start/jquery-ui.css"></link> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.min.js"></script> | |
<script src="jquery.myplugin.js"></script> | |
<script> | |
$(document).ready(function(){ | |
//call plugin |