Open-sourced code from defunct site notetonprof.fr