Skip to content

Instantly share code, notes, and snippets.

@crmorgan
crmorgan / .gitconfig
Last active March 11, 2021 04:13
Git Config
[user]
name =
email =
[core]
autocrlf = true
editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -nosession
[diff]
tool = bc
[difftool]
prompt = false
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{5860f6cd-6be3-4edd-8258-505c68a3ce69}",
"copyOnSelect": true,
"profiles": {
"defaults": {
"fontSize": 13,
@crmorgan
crmorgan / DateRange.cs
Created April 17, 2015 05:05
A c# class that represents a date range data structure.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Dates
{
/// <summary>
/// Represents a range of dates.
/// </summary>
public struct DateRange