Skip to content

Instantly share code, notes, and snippets.

View WEGFan's full-sized avatar

WEGFan WEGFan

View GitHub Profile
@WEGFan
WEGFan / a.cs
Last active October 16, 2025 14:43
int a; // Character Tabulation (U+0009)
int b; // Line Tabulation (U+000B)
int c; // Form Feed (U+000C)
int d; // Space (U+0020)
int e; // No-Break Space (U+00A0)
int f; // Ogham Space Mark (U+1680)
int g; // En Quad (U+2000)
int h; // Em Quad (U+2001)
int i; // En Space (U+2002)
int j; // Em Space (U+2003)
@WEGFan
WEGFan / gd_loaddata_decrypt.py
Created August 10, 2020 12:25
Geometry Dash LoadData.plist decrypt script
# -*- coding: utf-8 -*-
import base64
import gzip
import itertools
import re
def xor_cipher(string: bytes, key: bytes) -> bytes:
return bytes(x ^ y for x, y in zip(string, itertools.cycle(key)))
@WEGFan
WEGFan / time_warpers_base_damage.py
Created May 30, 2020 08:33
Time Warpers Base Damage Calculation
# -*- coding: utf-8 -*-
from enum import Enum
PROMOTE_MULTIPLIERS = [4745] * 4 + [600] * 5 + [100000]
BASE_VALUE = [1, 5, 22]
class HeroType(Enum):
SOLDIER = 0
DRONE = 1