Skip to content

Instantly share code, notes, and snippets.

@Grynn
Grynn / .gitignore
Last active December 19, 2015 16:48 — forked from LeeFlannery/.gitignore
# Personal files
*.user
#dev.config
#connections.config
# Build results
[Dd]ebug/
[Rr]elease/
[Bb]in/
[Oo]bj/
/*
jquery.draghover.js
Emulates draghover event by tracking
dragenter / dragleave events of element + children.
https://gist.github.com/gists/3794126
http://stackoverflow.com/a/10310815/4196
@Grynn
Grynn / ListDiff.cs
Created September 6, 2012 09:22 — forked from praeclarum/ListDiff.cs
Computes a diff between two different IEnumerables. It's better than anything you have ever seen. Ever.
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.IO;
namespace TheBestAppEver
{
/// <summary>
/// The type of <see cref="ListDiffAction{S,D}"/>.
@Grynn
Grynn / LavaBlast.Linq.Extensions.cs
Created December 14, 2011 07:48 — forked from EtienneT/LavaBlast.Linq.Extensions.cs
Support Lambda functions in place of IEqualityComparer<T>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Linq
{
public class KeyEqualityComparer<T> : IEqualityComparer<T>
{
private readonly Func<T, T, bool> comparer;