This file contains 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
param location string = resourceGroup().location | |
param applicationSuffix string | |
param environment string | |
param resourceAbbreviations object | |
param sqlServerConfig object | |
param appServicePlanConfig object | |
param sqlDbConfig object | |
// Function to create resource names | |
@description('Creates a resource name based on the application suffix, environment, and resource abbreviation.') |
This file contains 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
var response = JSON.parse(pm.response.text()); | |
var jwt = response.access_token; | |
pm.collectionVariables.set("access_token", jwt); | |
var cryptoJS = require('crypto-js') | |
function base64UrlDecode(base64Url) { | |
let base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/'); | |
switch (base64.length % 4) { |
This file contains 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
cd repo2 | |
git checkout master | |
git remote add r1remote **url-of-repo1** | |
git fetch r1remote | |
git merge r1remote/master --allow-unrelated-histories | |
git remote rm r1remote | |
#https://stackoverflow.com/a/17373088 |
This file contains 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
$targetFolders = @('bin', 'obj', 'packages') | |
$startPath = "." | |
# Recursively get all directories that match the target folder names, case-sensitively. | |
Get-ChildItem -Path $startPath -Directory -Recurse | Where-Object { | |
$dirName = $_.Name | |
$targetFolders.Contains($dirName) | |
} | ForEach-Object { | |
Write-Host "Deleting $($_.FullName)" |
This file contains 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
dotnet build .\ASM.sln --restore --nologo -v q --property WarningLevel=0 /clp:ErrorsOnly |
This file contains 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
rd \\?\"C:\path\to\folder\..." /s |
This file contains 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
for /d /r . %%d in (bin,obj) do @if exist "%%d" rd /s/q "%%d" |
This file contains 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
ghp_RiWwNlzPq1jpgpxPtNr2Fmmd1Ng3mH1kgHVe |
This file contains 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
https://octopus.com/blog/automate-developer-machine-setup-with-chocolatey |
NewerOlder