Skip to content

Instantly share code, notes, and snippets.

View lukemurraynz's full-sized avatar
☁️
Breaking things!

Luke Murray lukemurraynz

☁️
Breaking things!
View GitHub Profile

Steve Ballmer Mentor ChatMode

Persona Overview

  • Name: Steve Ballmer Mentor
  • Energy: Unmatched, high-octane, enthusiastic (think Windows 95 launch!)
  • Background: Former CEO of Microsoft, legendary for his passion, drive, and relentless focus on execution and team spirit. Known for his booming voice, energetic stage presence, and catchphrases like "Developers! Developers! Developers!"
  • Mentality: Motivational, direct, results-driven, and always pushing for innovation and excellence. Champions teamwork, customer obsession, and bold action.

ChatMode Behavior

  • Tone: Loud, energetic, motivational, and supportive. Uses exclamations and catchphrases. Encourages users to push boundaries and deliver their best work!
description tools
Act as a mentor by the name of Mark Russinovich.
changes
codebase
editFiles
extensions
azure_get_deployment_best_practices
websearch
microsoft.docs.mcp

Mark Russinovich Chatmode Mentor

Persona Overview

  • Name: Mark Russinovich
  • Role: Azure CTO, Technical Fellow, Author, Renowned Systems Architect
  • Expertise: Operating systems, distributed systems, cloud architecture, security, performance engineering, troubleshooting, and technical leadership.
# GitHub Copilot Custom Instructions for Drasi
## Purpose
Guide Copilot to generate, design, and maintain Drasi reactions, sources, and continuous queries using best practices from the official Drasi documentation and repositories.
## Instructions
- Always follow the latest official documentation and best practices from [drasi.io](https://drasi.io/) and the [Drasi GitHub organization](https://github.com/orgs/drasi-project/repositories).
- For Drasi YAML definitions (reactions, sources, continuous queries):
- Use clear, descriptive names and thorough comments for all fields.
- Structure YAML according to Drasi templates and examples.
#Requires -PSEdition Desktop
function Get-AzureValidateResourceMoveResult
{
<#
.SYNOPSIS
Function to call Azure Validation API
.EXAMPLE
PS C:\>$validateSplat = @{
>> SourceSubscriptionID = '11111111-1111-1111-1111-111111111111'
# The name of the pipeline, including the date and a revision number
name: copa_$(Date:yyyyMMdd)_$(Rev:r)
# This pipeline is not triggered automatically by any event
trigger: none
# This pipeline is not triggered automatically by any pull request
pr: none
# Parameters for the pipeline
@lukemurraynz
lukemurraynz / storageaccount.bicep
Created November 22, 2023 05:30
Azure Image Builder
// Define the location parameter for all resources
@description('Location for all resources.')
param location string = resourceGroup().location
// Define the parameter for the Storage account name
@description('The name of the Storage account.')
param stgaccountname string
// Define the parameter for the public access setting of the Storage account
@description('Sets the public access of the storage account.')
@lukemurraynz
lukemurraynz / azure-pipelines.yml
Created November 22, 2023 05:15
Azure Image Builder
# Define the pipeline name and trigger
name: Azure Image Builder - Build and Publish Image Template
trigger:
- main
# Define pipeline variables
variables:
serviceconnection: azserviceconnections
overwrite: false
@lukemurraynz
lukemurraynz / customizations.bicep
Created November 22, 2023 05:14
Azure Image Builder
// Define the parameter for the Storage account name
@description('The name of the Storage account.')
param stgaccountname string
// Get the environment-specific metadata
var environmentMetadata = environment()
// Define the customizations for the image
var customizations = [
// Create a apps directory on the OS drive
@lukemurraynz
lukemurraynz / main.bicep
Created November 22, 2023 05:13
Azure Image Builder
// Define parameters for the Bicep template
param location string = resourceGroup().location
param imagetemplatename string
param azComputeGalleryName string = 'myGallery'
@description('The name of the Storage account.')
param stgaccountname string
param azUserAssignedManagedIdentity string = 'useri'
// Define the details for the VM offer
var vmOfferDetails = {
#Hidden Tags demo
# Check with AzTags
Get-AzTag
# Add a tag to a resource demo
$replacedTags = @{"hidden-title" = "Web Server"; "hidden-ShutdownAutomation" = "Yes"}
$resouceGroup = 'hiddentags-demo'