Skip to content

Instantly share code, notes, and snippets.

View mikaelweave's full-sized avatar
🦾

Mikael Weaver mikaelweave

🦾
View GitHub Profile
@mikaelweave
mikaelweave / list_of_types.txt
Created July 9, 2019 18:31
Azure Policy Daig Types
{"listOfResourceTypes":{"value":["Microsoft.AnalysisServices/servers", "Microsoft.ApiManagement/service", "Microsoft.Automation/automationAccounts", "Microsoft.Batch/batchAccounts", "Microsoft.Cdn/profiles/endpoints", "Microsoft.ClassicNetwork/networksecuritygroups", "Microsoft.CognitiveServices/accounts", "Microsoft.ContainerService/managedClusters", "Microsoft.CustomerInsights/hubs", "Microsoft.DataFactory/factories", "Microsoft.DataLakeAnalytics/accounts", "Microsoft.DataLakeStore/accounts", "Microsoft.DBforMySQL/servers", "Microsoft.DBforPostgreSQL/servers", "Microsoft.Devices/IotHubs", "Microsoft.Devices/provisioningServices", "Microsoft.DocumentDB/databaseAccounts", "Microsoft.EventHub/namespaces", "Microsoft.Insights/AutoscaleSettings", "Microsoft.IoTSpaces/Graph", "Microsoft.KeyVault/vaults", "Microsoft.Logic/workflows", "Microsoft.Logic/integrationAccounts", "Microsoft.Network/networksecuritygroups", "Microsoft.Network/loadBalancers", "Microsoft.Network/publicIPAddresses", "Microsoft.Network/virtualN
@mikaelweave
mikaelweave / dspcDecode.sh
Last active July 27, 2020 14:57
Mac OSX Display DSPC Hex Decoder
#!/bin/bash
function hex2values {
# https://opensource.apple.com/source/IOKitUser/IOKitUser-67/graphics.subproj/IOGraphicsLibPrivate.h
clock=0x${1:0:4}
horizActive=0x${1:4:2}
horizBlanking=0x${1:6:2}
horizHigh=0x${1:8:2}
verticalActive=0x${1:10:2}
verticalBlanking=0x${1:12:2}

Keybase proof

I hereby claim:

  • I am mikaelweave on github.
  • I am mikaelweave (https://keybase.io/mikaelweave) on keybase.
  • I have a public key whose fingerprint is D89C 4141 D302 508F 0BE8 FBE6 33F3 E2E7 27E3 8E9A

To claim this, I am signing this object:

@mikaelweave
mikaelweave / README.md
Last active July 11, 2026 22:38
My full Windows Terminal setup: portable profile defaults, SAND keybindings, and a Quake-style PowerShell dropdown

My Windows Terminal setup

This is the portable Windows Terminal baseline I use for a keyboard-first development workflow. It combines:

  • Shared profile defaults for PowerShell, WSL, Command Prompt, and generated profiles.
  • Ghostty-inspired SAND shortcuts for splitting, switching, navigating, and closing panes.
  • A Quake-style PowerShell dropdown terminal.
  • Clipboard, paste, and find shortcuts.

The setup selects PowerShell as the default profile by name instead of using a machine-specific GUID. Windows Terminal generates installed shell profiles automatically, so the same file can work across machines with PowerShell 7 installed.