Skip to content

Instantly share code, notes, and snippets.

@peinearydevelopment
peinearydevelopment / address.html
Last active December 7, 2016 03:12
aurelia:complex type, clear input
<template>
<input type="text" value.bind="address.line1" />
</template>
@peinearydevelopment
peinearydevelopment / app.html
Last active December 7, 2016 15:41
Grid example
<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 / app.html
Created November 30, 2017 14:07
Aurelia base
<template>
<h1>${message}</h1>
</template>
@peinearydevelopment
peinearydevelopment / CSharpByteSizedVariables.csproj
Last active September 20, 2018 13:13
C# Byte Sized: Variables
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
/*
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 = {
@peinearydevelopment
peinearydevelopment / boxstarter-script
Last active January 24, 2019 17:55
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