Skip to content

Instantly share code, notes, and snippets.

# A python script which makes emails in all files in current directory and sub-directories anonymous.
# e.g. A file with the following contents:
# [email protected]
# Sid Phn#- 6385833322
# [email protected]
# [email protected]
# [email protected]
# Would change to:
import numpy as np
import matplotlib.pyplot as plt
w = 400
h = 300
def normalize(x):
x /= np.linalg.norm(x)
return x