Skip to content

Instantly share code, notes, and snippets.

View mattchenderson's full-sized avatar
Making serverless fun with Azure Functions

Matthew Henderson mattchenderson

Making serverless fun with Azure Functions
View GitHub Profile
@mattchenderson
mattchenderson / functionsTheme.json
Created March 31, 2021 21:42
oh-my-posh theme for Azure Functions fun
{
"final_space": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"segments": [
{
"type": "text",
@mattchenderson
mattchenderson / PresentationMode.ps1
Last active May 12, 2020 19:15
PowerShell script for toggling the clock in the windows taskbar (needs to be run as administrator)
param (
[switch]$Revert
)
if ($Revert) {
# presence of the key will disable the ability to control this using the Settings app
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Name HideClock
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Name HideClock
}
else {
@mattchenderson
mattchenderson / profiles.json
Last active May 21, 2020 14:25
Windows Terminal color profile for official Azure Functions ASCII art branding. This is not a complete profile file. Happy #ServerlessSeptember
{
"profiles": [
{
"name": "FuncCampbell",
"yellow": "#fdbd0f",
"brightYellow": "#fcd116",
"cyan": "#3999c6",
"background": "#0C0C0C",
"black": "#0C0C0C",
"blue": "#0037DA",
@mattchenderson
mattchenderson / FunctionsMsiAndKeyVault-template.json
Created May 18, 2018 03:07
ARM template for Functions, MSI, and Key Vault
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"resourcename_base": {
"type": "string",
"defaultValue": "[resourceGroup().name]"
},
"storageAccountType": {
"type": "string",