Skip to content

Instantly share code, notes, and snippets.

@mithunshanbhag
mithunshanbhag / vscode-extensions.txt
Created March 1, 2025 10:29
My VSCode Extensions
andyyaldoo.vscode-json
azurite.azurite
bierner.emojisense
bierner.github-markdown-preview
bierner.markdown-checkbox
bierner.markdown-emoji
bierner.markdown-footnotes
bierner.markdown-mermaid
bierner.markdown-preview-github-styles
bierner.markdown-yaml-preamble
{
"handler": "Microsoft.Compute.VmExtension",
"version": "0.0.1-preview",
"parameters": {
"elements": [
],
"outputs": {
"vmName": "[vmName()]",
"location": "[location()]"
}
@mithunshanbhag
mithunshanbhag / gist:3f44cdad7449ef3efca74355d8a2dfb8
Created September 29, 2021 12:55
Twitter-thread-app-service-deployment
stages:
- stage: build
jobs:
- job: build
steps:
- script: dotnet publish -c ${{parameters.buildConfiguration}} -o ./publish
displayName: dotnet publish
workingDirectory: $(Build.SourcesDirectory)/CloudSkew.API
# publish the pipeline artifact
# build the app
- script: dotnet publish -c ${{parameters.buildConfiguration}} -o ./publish
displayName: dotnet publish
workingDirectory: $(Build.SourcesDirectory)/app-name-redacted
# stop app service
- task: AzureAppServiceManage@0
displayName: stop app service
inputs:
azureSubscription: ${{parameters.azureSubscription}}
@mithunshanbhag
mithunshanbhag / arm-template-projects
Created October 25, 2019 02:00
ARM template projects
Some interesting github projects around ARM templates:
* https://github.com/Azure/azure-xplat-arm-tooling
* https://github.com/sam-cogan/arm-snippets-vscode
* https://github.com/benc-uk/armview-vscode
* https://github.com/microsoft/vscode-azurearmtools
* https://github.com/ChrisLGardner/ArmTemplateValidation
* https://github.com/CompositionalIT/farmer
* [possibly outdated] https://github.com/aumathew/AzureArmTemplateCompiler
@mithunshanbhag
mithunshanbhag / github-issue-tf-azurerm-managed-disk
Last active April 24, 2019 18:29
github-issue-tf-azurerm-managed-disk
```
C:\temp>terraform apply
2019/04/24 23:58:12 [INFO] Terraform version: 0.11.13
2019/04/24 23:58:12 [INFO] Go runtime version: go1.11.5
2019/04/24 23:58:12 [INFO] CLI args: []string{"C:\\Tools\\terraform\\terraform.exe", "apply"}
2019/04/24 23:58:12 [DEBUG] Attempting to open CLI config file: C:\Users\localadmin\AppData\Roaming\terraform.rc
2019/04/24 23:58:12 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/04/24 23:58:12 [INFO] CLI command args: []string{"apply"}
2019/04/24 23:58:12 [INFO] command: empty terraform config, returning nil