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
Run the following command to ensure you have the latest version of Bicep: | |
az bicep install && az bicep upgrade | |
Sign into Azure | |
az login | |
Set the default subscription for all of the Azure CLI commands that you run in this session. | |
az account set --subscription "Concierge Subscription" |
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://www.telerik.com/blogs/understanding-vuejs-nexttick | |
https://www.syncfusion.com/blogs/post/top-7-javascript-object-destructuring-techniques.aspx | |
https://www.telerik.com/blogs/understanding-renderless-components-vue | |
https://www.telerik.com/blogs/dynamic-components-vue-component | |
https://www.telerik.com/blogs/understanding-vue-deep-css-selector | |
https://www.syncfusion.com/blogs/post/top-5-features-of-vue-js-devtools-to-enhance-your-development-strategies.aspx |
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
private async Task<bool> WaitForFileToBeAccessible(string fileWaitingOn, int retryThreshold = 1000) | |
{ | |
int numberOfRetries = 0; | |
while (numberOfRetries < retryThreshold) | |
{ | |
try | |
{ | |
using var fs = new FileStream(fileWaitingOn, FileMode.Open, FileAccess.ReadWrite, FileShare.None, 100); | |
numberOfRetries++; | |
fs.ReadByte(); |
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
using Microsoft.Extensions.Configuration; | |
var originalAppSettingsPath = "appsettings.json"; | |
var newAppsettingsPath = "newappsettings.json"; | |
var builder = new ConfigurationBuilder().AddJsonFile(originalAppSettingsPath).Build(); | |
var configElements = builder.GetChildren(); | |
var cnfgPaths = new List<ConfigPaths>(); | |
GetChildren(configElements, cnfgPaths); |
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
const GAME_STATES = Object.freeze({ | |
NOT_STARTED:'Not Started', | |
PLAYING: 'Playing', | |
FINISHED: 'Finished' | |
}) | |
export default GAME_STATES |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<style> | |
.redhead { |
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
using System.Web.Optimization; | |
using MyProject.Extensions; | |
namespace MyProject | |
{ | |
public class BundleConfig | |
{ | |
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 | |
public static void RegisterBundles(BundleCollection bundles) | |
{ | |
bundles.Add(new ScriptBundle("~/bundles/jquery").Include( |
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
@typeparam TItem | |
<ConditionalDisplay Show="@Render"> | |
@HeaderTitle | |
<ul> | |
<ForEach Items="@Items" Context="item"> | |
<ItemTemplate> | |
@ItemTemplate(item) | |
</ItemTemplate> |
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
@typeparam TItem | |
@foreach (var item in Items) | |
{ | |
@ItemTemplate(item) | |
} | |
@code { |
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
@if (Show) | |
{ | |
@ChildContent | |
} | |
@code { | |
[Parameter] public bool Show { get; set; } | |
[Parameter] | |
public RenderFragment ChildContent { get; set; } |
NewerOlder