Skip to content

Instantly share code, notes, and snippets.

View Sidneys1's full-sized avatar
🐇
Knock knock, Neo...

Sidneys1 Sidneys1

🐇
Knock knock, Neo...
View GitHub Profile
@nzbr
nzbr / reddit-like-its-2023-06-11.user.js
Created June 15, 2023 20:42
User script to redirect any Reddit site to its archive.org capture of just before the blackout
// ==UserScript==
// @name Reddit like it's 2023-06-11
// @namespace Violentmonkey Scripts
// @match https://www.reddit.com/*
// @grant none
// @version 1.0
// @author nzbr
// @description Redirect any Reddit site to its archive.org capture of just before the blackout
// ==/UserScript==
@EricZimmerman
EricZimmerman / Win10PrefechDecompress.cs
Last active June 14, 2016 11:13
pinvoke for RtlDecompressBufferEx in c#
using System.Runtime.InteropServices;
namespace Prefetch.XpressStream
{
public class Xpress2
{
// const ushort COMPRESSION_FORMAT_LZNT1 = 2;
// const ushort COMPRESSION_FORMAT_XPRESS = 3;
const ushort CompressionFormatXpressHuff = 4;