Skip to content

Instantly share code, notes, and snippets.

View nils-werner's full-sized avatar

Nils Werner nils-werner

View GitHub Profile
$ bash test.sh
Running virtualenv with interpreter /usr/local/bin/python3
Using base prefix '/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6'
New python executable in /Users/me/sotest/virtenv3/bin/python3.6
Also creating executable in /Users/me/sotest/virtenv3/bin/python
Installing setuptools, pip, wheel...done.
Running virtualenv with interpreter /usr/local/bin/python2
New python executable in /Users/me/sotest/virtenv2/bin/python2.7
Also creating executable in /Users/me/sotest/virtenv2/bin/python
Installing setuptools, pip, wheel...done.
@nils-werner
nils-werner / hibp.py
Last active March 2, 2018 12:21
Have I Been Pwned Password Checker
#!/usr/bin/env python
from __future__ import print_function
import sys
import getpass
import hashlib
import argparse
try:
@nils-werner
nils-werner / koide.py
Last active May 11, 2022 13:06
Vectorized Koide's coincidence experiment
from scipy.constants import physical_constants as pc
import numpy
import scipy.stats
import scipy.linalg
def a():
def pnorm(v, p):
return sum([x**p for x in v])**(1/p)
@nils-werner
nils-werner / waspaa.ics
Last active October 18, 2021 09:28
WASPAA 2021 Program ICS
BEGIN:VCALENDAR
VERSION:2.0
PRODID:ics.py - http://git.io/lLljaA
BEGIN:VEVENT
DTEND:20211020T081500Z
DTSTART:20211020T070000Z
SUMMARY:P4 (repeat): Array Processing\, Room Acoustics\, Spatial Audio\, and Audio Events\; Demonstrations
UID:[email protected]
END:VEVENT
BEGIN:VEVENT