Skip to content

Instantly share code, notes, and snippets.

View marcusmueller's full-sized avatar

Marcus Müller marcusmueller

View GitHub Profile
#!/usr/bin/env python3
from matplotlib import pyplot
import numpy
import typing
N_HASH = 701
def P_collision(n_entries: int, n_candidates: int) -> float:
return (1 - #calculating the no collisions prob
numpy.prod(
@marcusmueller
marcusmueller / gdbinit
Created March 14, 2016 17:54 — forked from CocoaBeans/gdbinit
.gdbinit - A user-friendly gdb configuration file
# INSTALL INSTRUCTIONS: save as ~/.gdbinit
#
# DESCRIPTION: A user-friendly gdb configuration file.
#
# REVISION : 7.3 (16/04/2010)
#
# CONTRIBUTORS: mammon_, elaine, pusillus, mong, zhang le, l0kit,
# truthix the cyberpunk, fG!, gln
#
# FEEDBACK: https://www.reverse-engineering.net