Skip to content

Instantly share code, notes, and snippets.

@zombience
zombience / SelectionTrackerWindow.cs
Last active February 26, 2020 00:42
Selection Tracker: track your project and scene selection history. Get back to the last thing you were looking at. Good for large projects.
using UnityEditor;
using UnityEngine;
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using UObject = UnityEngine.Object;
namespace SelectionTracker
{
@martin31821
martin31821 / crc32.cs
Last active November 13, 2023 02:27
C# port of the crc32 algorithm
// inspired by http://opensource.apple.com//source/xnu/xnu-1456.1.26/bsd/libkern/crc32.c
// You may use this program, or
// code or tables extracted from it, as desired without restriction.
namespace CRC32
{
public static class CRC32
{
static readonly uint[] crc32_tab = {
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,