Skip to content

Instantly share code, notes, and snippets.

View jessehouwing's full-sized avatar

Jesse Houwing jessehouwing

View GitHub Profile
@jessehouwing
jessehouwing / vs2022.json
Created November 26, 2021 14:52
CompareTool config for Tower to use Visual Studio as you Diff/Merge tool.
{
"DisplayName": "Visual Studio 2017-2022",
"MinimumVersion": "",
"SupportsDiffChangeset": true,
"SupportsDirectoryDiff": false,
"DiffToolArguments": "$LOCAL $REMOTE //t",
"MergeToolArguments": "$REMOTE $LOCAL $BASE $MERGED //m",
"ApplicationRegistryIdentifiers": [],
"ApplicationPaths": [
"%ProgramFiles%\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsDiffMerge.exe",
@jessehouwing
jessehouwing / TestHelper.cs
Created December 18, 2020 12:38 — forked from haacked/TestHelper.cs
String Comparison Unit Test Helper
public static class TestHelpers
{
public static void ShouldEqualWithDiff(this string actualValue, string expectedValue)
{
ShouldEqualWithDiff(actualValue, expectedValue, DiffStyle.Full, Console.Out);
}
public static void ShouldEqualWithDiff(this string actualValue, string expectedValue, DiffStyle diffStyle)
{
ShouldEqualWithDiff(actualValue, expectedValue, diffStyle, Console.Out);
@jessehouwing
jessehouwing / Add MVP link fragment.cfmacro
Last active September 21, 2020 13:34
Add MVP link fragment Clipboard Fusion macro
@jessehouwing
jessehouwing / fixsearch.reg
Last active February 5, 2020 17:28
Disable Cortana & Bing to fix Search
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
"BingSearchEnabled"=dword:00000000
"CortanaConsent"=dword:00000000
@jessehouwing
jessehouwing / DoNotUseParseAndToStringToConvertTypesTests.cs
Created April 7, 2019 20:21
DoNotUseParseAndToStringToConvertTypesTests
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FxCopContrib.TestHarness;
namespace FxCopContrib.Tests
{
/// <summary>
steps:
- task: CmdLine@1
inputs:
filename: "git"
arguments: "submodule update --init --recursive"
steps:
- task: ShellScript@2
inputs:
scriptPath: "$(Build.SourcesDirectory)\script\build.sh"
disableAutoCwd: "true"
cwd: "$(Build.SourcesDirectory)"
- task: ShellScript@2
inputs:
scriptPath: "$(Build.SourcesDirectory)\script\package.sh"
disableAutoCwd: "true"

Keybase proof

I hereby claim:

  • I am Jessehouwing on github.
  • I am jessehouwing (https://keybase.io/jessehouwing) on keybase.
  • I have a public key whose fingerprint is 3AF7 814E 3852 CF26 F7D7 8277 988A F8FE 2A0A 6582

To claim this, I am signing this object:

// This is a .NET 3.5 console app, compiled with the C# 6 compiler from Visual Studio 2015 RTM
using System;
namespace System.Runtime.CompilerServices
{
internal class FormattableStringFactory
{
public static FormattableString Create(string messageFormat, params object[] args)
{
return new FormattableString(messageFormat, args);