Skip to content

Instantly share code, notes, and snippets.

View MerijnHendriks's full-sized avatar
🌸
Programming

No;Hurry MerijnHendriks

🌸
Programming
View GitHub Profile
@MerijnHendriks
MerijnHendriks / Crc32.cs
Last active October 23, 2023 11:49
CRC32 in C#
public class Crc32
{
// precomputed to improve performance
private readonly uint[] _checksumTable = new uint[0x100]
{
0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419,
0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4,
0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07,
0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,
0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856,
@MerijnHendriks
MerijnHendriks / technical.md
Last active June 6, 2025 10:44
EFT internals and comminucation

EFT Server documentation

By Senko-san, SlejmUr, King and Chomp.

This is a rough documentation of EFT's server endpoints, data and how it's processed. This includes historical data and background information relevant to make EFT's "offline raid" actually function offline.

Logging in

@MerijnHendriks
MerijnHendriks / eft-packet-sniffer.md
Created August 10, 2023 15:01
EFT packet sniffing

Packet sniffing

By Senko-san, credits to CWX for finding the updated request/response code.

Requirements

  • de4dot
  • dnspy

Deobfuscation

@MerijnHendriks
MerijnHendriks / 1-install.md
Last active May 23, 2025 20:50
Ubuntu Base 22.04 installation guide

Ubuntu Base 22.04

The goal is to have a minimal Ubuntu Base installation close to Ubuntu's mini iso.

  • Core: Ubuntu Base 22.04
  • Kernel: linux-image-5.18.0-051800-generic
  • Bootloader: EFISTUB
  • Init: systemd

Requirements

@MerijnHendriks
MerijnHendriks / cards.md
Last active August 4, 2022 10:02
Nitro Kid Wiki

Cards

Aeon Strike

Cost: 1
Type: Attack One, Ranged
Rare: Blue

Teleport to a free Tile.
Deal 8 Damage to all targets along the way.

Programming

Introduction

Programming is nothing more than talking to a computer.

Problem is, the computer is not as smart as we are and doesn't have the vocabulary of a human. To make the computer understand, we explain concepts by describing what they look like (data structures), what they do (functions) and how it changes the world (state) in a language the computer understands. A programming language.

@MerijnHendriks
MerijnHendriks / README.md
Last active January 4, 2022 19:57
MTG - Gatherer: Sorted search

About

Since I don't wanna set the gatherer to use my search options all the time, I set them here by default. All sets are ordered on release date and type as well.

Search options used

  • name: checked
  • card set: <set name>
  • sort order: color
@MerijnHendriks
MerijnHendriks / CacheDataProvider.cs
Created December 12, 2021 23:24
Escape From Tarkov cache read utils
using System.Collections.Generic;
public class CacheDataProvider
{
public CacheDataProvider()
{
AddNormal();
AddLocales();
AddMaps();
}
@MerijnHendriks
MerijnHendriks / inheritance.md
Last active October 17, 2021 19:20
Inheritance in ANSI-C

Inheritance in ANSI-C

Emulating inheritance in ANSI-C

Introduction

Sometimes the cleanest implementation is by taking advantage of inheritance despite the cost of the technique. In this article I'll discuss various implementations with their characteristics. We'll emulate the following code from C# in ANSI-C:

@MerijnHendriks
MerijnHendriks / database.json
Last active September 7, 2021 23:43
Dungeon and Dragons 5th editions basic rules conversion to code
{
"GameGlobals": {
"AlignmentTypes": [
"None",
"LawfulGood",
"LawfulNeutral",
"LawfulEvil",
"NeutralGood",
"TrueNeutral",
"NeutralEvil",