Skip to content

Instantly share code, notes, and snippets.

View Le0X8's full-sized avatar
🐦
currently working on @acridotheres

Leonard Lesinski Le0X8

🐦
currently working on @acridotheres
View GitHub Profile
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active March 13, 2025 09:18
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@SciresM
SciresM / ACNL.cs
Created May 7, 2017 02:19
Encryption/Decryption of Animal Crossing: New Leaf's Bell/Money values.
private static uint DecryptACNLMoney(ulong money)
{
// Unpack 64-bit value into (u32, u16, u8, u8) values.
var enc = (uint)(money & 0xFFFFFFFF);
var adjust = (ushort)((money >> 32) & 0xFFFF);
var shift_val = (byte)((money >> 48) & 0xFF);
var chk = (byte)((money >> 56) & 0xFF);
// Validate 8-bit checksum
if ((((enc >> 0) + (enc >> 8) + (enc >> 16) + (enc >> 24) + 0xBA) & 0xFF) != chk) return 0;
@Wunkolo
Wunkolo / ACNL.md
Last active February 2, 2025 07:43
Animal Crossing New Leaf research

Large player data struct, stores all patterns, letters, mayor info, mayor picture in what seems to be a JFIF stream with EXIF, and other data yet to be mapped out.

Generally in the 0x1FB8190 area of a FCRAM dump. Give or take a few offsets of 0x100.

Between me and troggs the offset seems to be 0x300

64EDD198 F8000200 Possible magic ints to look for to detect player info. Starts right before patterns. Common through-out. Patterns

Offset |Type |info