This file contains 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
<# | |
.DESCRIPTION | |
Script to recursively run `git status` on all sub-directories in order to find out | |
if, or where, you have uncommited files. AKA: Work-in-progress. | |
The only pre-requisite is that git is installed. | |
This will work on any operating system with Powershell installed | |
#> | |
$ErrorActionPreference = 'SilentlyContinue' # Silence the "not a git repository" errors |
This file contains 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
# Be sure to log in first! | |
az login | |
# Set the default location to avoid having to pass it on each command | |
az configure --defaults location=southcentralus | |
# Set the default subscription to avoid having to pass it on each command | |
az account set -s "Visual Studio Premium with MSDN" | |
# Create a new resource group (optional) |
This file contains 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
using Newtonsoft.Json; | |
namespace Function | |
{ | |
public class FormResponse | |
{ | |
[JsonProperty("Email")] | |
public string Email { get; set; } | |
[JsonProperty("First Name")] |
This file contains 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
#!/bin/bash | |
echo "> Be KinD with OpenFaaS" | |
# First, check if docker is available | |
docker version | 2>/dev/null | |
if [ $? -ne 0 ]; then | |
echo "> Docker is required for running OpenFaaS on KinD" | |
echo "> Install with: 'curl -sLS https://get.docker.com | sudo sh'" |
This file contains 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
burtonr |
This file contains 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
[ | |
{ | |
"title": "Private", | |
"description": "OpenFaaS private function", | |
"image": "burtonr/pvt-tester", | |
"name": "pvt-tester", | |
"network": "func_functions" | |
} | |
] |
This file contains 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
{ | |
"originalRequest": { | |
"source": "google", | |
"version": "2", | |
"data": { | |
"isInSandbox": true, | |
"surface": { | |
"capabilities": [ | |
{ | |
"name": "actions.capability.AUDIO_OUTPUT" |