| Meeting | Value |
|---|---|
| Date | |
| Contact | |
| Created by | |
| Facilitated by |
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
| # Description: Boxstarter Script | |
| # Author: Mark Warneke | |
| # Based on Boxstarter script by David Peter Hansen | |
| # Last Updated: 2018-07-08 | |
| # | |
| # Install boxstarter: | |
| # . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
| # | |
| # You might need to set: Set-ExecutionPolicy RemoteSigned | |
| # |
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
| $code = code --list-extensions | |
| $codeinsiders = code-insiders --list-extensions | |
| Compare-Object -ReferenceObject $code -DifferenceObject $codeinsiders -PassThru | %{ code-insiders --install-extension $_ } |
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
| # Makefile for python code | |
| # | |
| # > make help | |
| # | |
| # The following commands can be used. | |
| # | |
| # init: sets up environment and installs requirements | |
| # install: Installs development requirments | |
| # format: Formats the code with autopep8 | |
| # lint: Runs flake8 on src, exit if critical rules are broken |
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
| name: gh-pages | |
| on: | |
| push: | |
| branches: [ docs ] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-18.04 | |
| steps: |
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
| let startTime = ago(31d); | |
| let containerLogs = ContainerLog | |
| | where TimeGenerated > startTime | |
| | where _IsBillable == true | |
| | summarize BillableDataMBytes = sum(_BilledSize)/ (1000. * 1000.) by LogEntrySource, ContainerID; | |
| let kpi = KubePodInventory | |
| | where TimeGenerated > startTime | |
| | distinct ContainerID, Namespace; | |
| containerLogs | |
| | join kpi on $left.ContainerID == $right.ContainerID |
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
| # Make sure we are connected using a user principal that has Azure AD Admin permissions. | |
| az logout | |
| az login | |
| # Name of the Clone Service Principal | |
| appName="CloneServicePrincipal" | |
| # Retrieve the teannt it | |
| tenantId=$(az account show --query tenantId -o tsv) |
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
| # New-Readme.ps1 | |
| param ( | |
| $Path = (Join-Path $PSScriptRoot "azuredeploy.json") | |
| ) | |
| # Test for template presence | |
| $null = Test-Path $Path -ErrorAction Stop | |
| # Test if arm template content is readable | |
| $text = Get-Content $Path -Raw -ErrorAction Stop |
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
| # New-ParameterFile.ps1 | |
| <# | |
| Parameter File | |
| Plain PowerShell Object that implement the schema of a parameter file | |
| #> | |
| class ParameterFile { | |
| # https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-parameter-files | |
| [string] $schema = "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#" | |
| [string] $contenVersion = "1.0.0.0" |
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
| #azuredeploy.Tests.ps1 | |
| param ( | |
| $Path = (Join-Path $PSScriptRoot "azuredeploy.json") | |
| ) | |
| Describe "[$Path] should be valid" -Tag Unit { | |
| # Test for template presence | |
| $null = Test-Path $Path -ErrorAction Stop |
OlderNewer