Skip to content

Instantly share code, notes, and snippets.

@mr1337357
mr1337357 / hack.c
Last active January 5, 2018 01:19 — forked from anonymous/hack.c
#define CACHE_SIZE 256
#define NO_CACHES 1024
char a[CHAR_MAX*CACHE_SIZE];
char b[1];
char f[NO_CACHES*CACHE_SIZE];
intptr_t target_offset;
int limit = 1;
//replace cache with f
@mr1337357
mr1337357 / main.py
Last active August 29, 2015 14:13 — forked from MLLeKander/main.py
#too short to license, so public domain
from wavegen import wavegen
from sys import stdout
import random
def tochar(sample):
return chr(int(sample * 127 + 127))
a = wavegen(440)
ash = wavegen(466.16)
b = wavegen(493.88)