Preview Image

Azure Verified Modules

Azure Verified Modules is an initiative in development from Microsoft that seeks to unify many previous attempts to standardarise Infrastructure as Code modules on the Azure platform. The initiative aims to establish strategy, governance, and create a brand that becomes the go to place for resources & patterns, currently targeting Bicep and Terraform. Microsoft’s aim is to “consolidate and set the standards for what a good Infrastructure-as-Code module looks like”, following the principles of the Well Architected Framework, evolving existing efforts such as the CARML library for Bicep resources.

Preview Image

Use an alias in your PowerShell profile to create a new Hugo post

The command to create a new Hugo post is: 1 hugo new <path to new content> Use an alias Using Powershell, you can use an alias to make this easier, here is the block of code we are going to use: 1 2 3 4 5 6 7 8 9 10 11 12 13 function New-HugoPost { param ( [string]$PostName ) # UPDATE ME TO POINT TO YOUR BLOG PATH $blogPath = "c:\path\to\your\blog" set-location $blogPath & hugo.exe new "content\post\$PostName\index.md" -c $blogPath } Set-Alias nhp New-HugoPost This can be reloaded each time Powershell starts by editing your profile:

Preview Image

Useful git config settings

This is a summary of useful git config commands. Git settings exist in a hierachy, for Windows the default locations are: System wide - %programfiles%\Git\etc\gitconfig Global - %userprofile%.gitconfig Local to the repository - .git/config Common global properties These ones are recommended to be set after Git has been installed: git config --global user.name "your name" git config --global user.email [email protected] Overriding properties Settings lower in the hierachy override, so for example, if you need to use a different user name and email for a particular repository: