Skip to content

Instantly share code, notes, and snippets.

View lagebj's full-sized avatar

Lage Berger-Brendryen lagebj

View GitHub Profile
/*
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: BSD-2-Clause
*/
using System;
using System.Collections.Generic;
using System.IdentityModel.Selectors;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.WindowsRuntime;
@lagebj
lagebj / policy_definition_deploy_nsg_to_subnets.json
Created January 13, 2022 16:51
An Azure policy definition for deploying Network Security Groups to Subnets
{
"properties": {
"displayName": "Deploy Network Security Group to subnets",
"policyType": "Custom",
"mode": "All",
"description": "This policy deploys a Network Security Group to Subnets that are created without NSG.",
"metadata": {
"version": "1.0.0",
"category": "Network"
},
@lagebj
lagebj / azure_ip_list.md
Created August 17, 2020 10:05
Microsoft Azure Datacenter IP list

{ "changeNumber": 103, "cloud": "Public", "values": [ { "name": "ActionGroup", "id": "ActionGroup", "properties": { "changeNumber": 3, "region": "",

@lagebj
lagebj / azure_ip_list.md
Created August 17, 2020 10:05
Microsoft Azure Datacenter IP list

{ "changeNumber": 103, "cloud": "Public", "values": [ { "name": "ActionGroup", "id": "ActionGroup", "properties": { "changeNumber": 3, "region": "",

@lagebj
lagebj / dotnetlayout.md
Created January 8, 2020 08:05 — forked from davidfowl/dotnetlayout.md
.NET project structure
$/
  artifacts/
  build/
  docs/
  lib/
  packages/
  samples/
  src/
 tests/