Skip to content

Instantly share code, notes, and snippets.

View otac0n's full-sized avatar

John Gietzen otac0n

View GitHub Profile
@automatonic
automatonic / MurMurHash3.cs
Created September 14, 2012 22:46
MurMurHash3 .Net (C#) implementation
/*
This code is public domain.
The MurmurHash3 algorithm was created by Austin Appleby and put into the public domain. See http://code.google.com/p/smhasher/
This C# variant was authored by
Elliott B. Edwards and was placed into the public domain as a gist
Status...Working on verification (Test Suite)
Set up to run as a LinqPad (linqpad.net) script (thus the ".Dump()" call)
*/
@otac0n
otac0n / ArrayPointer.cs
Created July 19, 2011 14:35
An implementation of PHP and Unix's `crypt` function in C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Test
{
public struct ArrayPointer<T>
{
T[] array;