Skip to content

Instantly share code, notes, and snippets.

View tjdaley's full-sized avatar

Tom Daley tjdaley

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
xmlns:viewmodels="clr-namespace:TrakerManager.ViewModels"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:converters="clr-namespace:TrakerManager.Converters"
x:Class="TrakerManager.Views.MainPage"
Title="Traker Manager">
<ContentPage.Resources>
<converters:IntToBoolConverter x:Key="IntToBoolConverter"/>
@tjdaley
tjdaley / dot-notation-setter-getter.js
Created February 1, 2017 03:40
Get or Set an object's property value based on a dot-notation key
/*
* dot-notation-setter-getter.js
*
* Created by Thomas J. Daley, J.D. on Jan 31, 2017
*
*/
"use strict";
/**
@tjdaley
tjdaley / soundex.js
Last active March 4, 2017 05:24
Javascript Soundex Implementation
/**
* Created by Tom on 7/4/2016.
* Revised for ES6 3/3/2017
*
* Algorithm, including test cases, taken from https://en.wikipedia.org/wiki/Soundex on 4 Jul 2016.
*/
function testSoundex()
{
const tests = [