Skip to content

Instantly share code, notes, and snippets.

{
"version": "Notebook/1.0",
"items": [
{
"type": 1,
"content": {
"json": "# Dashboard for checking DCR and DCE which attaches to VM\r\n\r\nClick the VM which you want to check DCR and DCE in the following table\r\n"
},
"name": "title"
},
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"type": "Microsoft.AzureStackHCI/networkInterfaces",
"name": "vmfromtempnic01",
"apiVersion": "2020-11-01-preview",
"location": "eastus",
"extendedLocation": {
group name
----- ----
Liability AlcoholAndTobacco
Liability ChildAbuseImages
Liability ChildInappropriate
Liability CriminalActivity
Liability DatingAndPersonals
Liability Gambling
Liability Hacking
Liability HateAndIntolerance
@kongou-ae
kongou-ae / sessionlist_decode2020.json
Created June 17, 2020 12:42
The session list of decode 2020
{
"sessions": [
{
"id": "1",
"code": "X08",
"publishtime": 1592960400,
"title": "『RE:BEL ROBOTICA レベルロボチカ』の世界と現代をミックス! MR で変わるライフスタイルとワークスタイル [episode 1] ストーリー編",
"thumbnail": "https://mskkprmsveimgm.azureedge.net/img/SessionComingSoon.png",
"status": "PREPARATION",
"track": {
@kongou-ae
kongou-ae / createvm.yml
Created February 19, 2019 15:27
createvm.yml
- name: Create Azure VM
hosts: localhost
connection: local
tasks:
- name: Create resource group
azure_rm_resourcegroup:
name: myResourceGroup
location: local
- name: Create virtual network
azure_rm_virtualnetwork:
@kongou-ae
kongou-ae / azsmeterJP.json
Created January 3, 2020 15:49
azsmeterJP.json
[
{
"EffectiveDate": "2019-12-03T00:00:00Z",
"IncludedQuantity": 0.0,
"MeterCategory": "Azure Stack Hub",
"MeterId": "8b251e8f-ce5e-4a58-a6e5-2b8f0d176e3a",
"MeterName": "M30 Disks",
"MeterRates": {
"0": 1146.88
},
@kongou-ae
kongou-ae / azsmeter.json
Created January 3, 2020 15:28
azsmeter.json
[
{
"EffectiveDate": "2019-12-03T00:00:00Z",
"IncludedQuantity": 0.0,
"MeterCategory": "Azure Stack Hub",
"MeterId": "8b251e8f-ce5e-4a58-a6e5-2b8f0d176e3a",
"MeterName": "M30 Disks",
"MeterRates": {
"0": 10.24
},
$region = "YOUR-REGION"
$rg = New-AzureRmResourceGroup -Location $region -Name "vnet-gateway"
$subnet = New-AzureRMVirtualNetworkSubnetConfig -Name 'gatewaysubnet' -AddressPrefix '10.254.0.0/27'
$ngwpip = New-AzureRMPublicIpAddress -Name ngwpip -ResourceGroupName $rg.ResourceGroupName -Location $region -AllocationMethod Dynamic
$vnet = New-AzureRmVirtualNetwork -AddressPrefix "10.254.0.0/27" -Location $region -Name vnet-gateway `
-ResourceGroupName $rg.ResourceGroupName -Subnet $subnet
$subnet = Get-AzureRmVirtualNetworkSubnetConfig -name 'gatewaysubnet' -VirtualNetwork $vnet
$ngwipconfig = New-AzureRMVirtualNetworkGatewayIpConfig -Name ngwipconfig -SubnetId $subnet.Id -PublicIpAddressId $ngwpip.Id
$ErrorActionPreference = "stop"
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
iex (New-Object net.webclient).downloadstring('https://get.scoop.sh')
scoop install nodejs
scoop install yarn
mkdir $HOME\documents\textlint
cd $HOME\documents\textlint