I hereby claim:
- I am rjygraham on github.
- I am rjygraham (https://keybase.io/rjygraham) on keybase.
- I have a public key whose fingerprint is D9D8 1F68 B635 7C18 4101 8C28 B586 8C77 AAE8 9E33
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
function base64 { | |
param ( | |
[Parameter(Mandatory=$true, ValueFromPipeline)] | |
[string] $Value, | |
[Parameter(Mandatory=$false, ValueFromPipeline=$false)] | |
[Switch] $Decode | |
) | |
if ($Decode) { | |
return [Text.Encoding]::UTF8.GetString([Convert]::FromBase64String($Value)) |
New-AzTenantDeployment -TemplateFile .\managementGroups.bicep -TemplateParameterFile .\managementGroupsHierarchy.parameters.json -Location eastus |
public static class RandomStringGenerator | |
{ | |
public static string Next(int length) | |
{ | |
var chars = new byte[length]; | |
for (var i = 0; i < length;) | |
{ | |
// 0-9: 48-57 | |
// A-Z: 65-90 |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<style> | |
body { | |
background-color: black; | |
} | |
</style> | |
</head> |
public CosmosClient CreateCosmosClient() | |
{ | |
var jsonSerializerSettings = new JsonSerializerSettings | |
{ | |
NullValueHandling = NullValueHandling.Ignore, | |
TypeNameHandling = TypeNameHandling.Auto, | |
ContractResolver = new CamelCasePropertyNamesContractResolver() | |
}; | |
var cosmosOptions = new CosmosClientOptions |
git clone --depth 1 --filter=blob:none --sparse https://github.com/dotnet/samples dotnet_samples | |
cd dotnet_samples | |
git sparse-checkout set orleans |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory = $True)] | |
[string] | |
$TargetSubscriptionId, | |
[Parameter(Mandatory = $True)] | |
[string] | |
$TargetResourceGroup, | |
[string] | |
$SourceSubscriptionId, |
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | |
properties: | |
configurationVersion: 0.2.0 | |
assertions: | |
- resource: Microsoft.Windows.Developer/OsVersion | |
directives: | |
description: Verify min OS version requirement | |
allowPrerelease: true | |
settings: | |
MinVersion: '10.0.22000' |