Skip to content

Instantly share code, notes, and snippets.

View boxstarter-script
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Disable-UAC
cinst nodejs.install
cinst git.install
cinst dotnetcore-sdk
cinst nuget.commandline
cinst powershell
cinst visualstudio2017professional
View objCompare.js
/*
Request:
I need to compare 2 json objects for equality.
Ordering of keys doesn't matter(as per spec of json).
Also arrays within the objects, order doesn't matter(not per the spec).
Arrays can be nested within sub-objects and objects can be nested within arrays.
Example objects should be equal
*/
const object1 = {
View CSharpByteSizedVariables.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
View app.html
<template>
<h1>${message}</h1>
</template>
View app.html
<template>
<table>
<thead>
<tr>
<th>Member Id</th>
<th>Id Seq</th>
<th>Identity Value</th>
<th>Source Name</th>
<th></th>
</tr>
@peinearydevelopment
peinearydevelopment / address.html
Last active Dec 7, 2016
aurelia:complex type, clear input
View address.html
<template>
<input type="text" value.bind="address.line1" />
</template>