Some math-related GitHub gists. Expected value/variance Expectation/variance helper functions Verifying that $0!=1$ using $\cos (x)$ Maclaurin expansion Archimedean method of calculating $\pi$ Unit circle animation on Khan Academy (not a GitHub gist)