gistのサンプル
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
Hello |
説明 | デフォルト | 左利き用案 |
---|---|---|
アイテムを落とす | Q | U |
持ち物 | E | O |
ジャンプ /上昇(飛行時) | SPACE | |
しのび足 /下降(飛行時) | SHIFT | |
ダッシュ | CONTROL | |
左に平行移動 | A | J |
右に平行移動 | D | L |
後退 | S | K |
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
const body = { | |
text: alert.schemaId, | |
"blocks": [ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": `:loudspeaker: リソースグループ \`${resourceGroup}\` の利用が予算の ${percentage}% を超えました!\nコストの見直しを行ってください。`, | |
} | |
}, |
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
{ | |
"schemaId": "AIP Budget Notification", | |
"data": { | |
"SubscriptionName": "<Subscription name>", | |
"SubscriptionId": "12345678-1234-1234-1234-123456789012", | |
"EnrollmentNumber": "", | |
"DepartmentName": "", | |
"AccountName": "", | |
"BillingAccountId": "", | |
"BillingProfileId": "", |
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": {}, | |
"variables": { | |
"settings": "[ | |
createArray( | |
setting.create('serviceA', bool('true')), | |
setting.create('serviceB', bool('false')) | |
) |
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
steps: | |
- task: NodeTool@0 | |
inputs: | |
versionSpec: '10.x' | |
displayName: 'Install Node.js' | |
- script: | | |
npm install | |
npm run coverage | |
displayName: 'npm install and output coverage' |
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
"scripts": { | |
"coverage": "jest --coverage --coverageReporters=cobertura" | |
}, |
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
PREFIX=try-bastion | |
RESOURCE_GROUP_NAME=${PREFIX}-rg | |
LOCATION=japaneast | |
VNET_NAME=${PREFIX}-vnet | |
SUBNET_NAME=${PREFIX}-subnet | |
BASTION_NAME=${PREFIX}-bastion | |
BASTION_PUBLICIP_NAME=${PREFIX}-bastion-ip |
NewerOlder