Skip to content

Instantly share code, notes, and snippets.

View nthiery's full-sized avatar

Nicolas M. Thiéry nthiery

View GitHub Profile
@nthiery
nthiery / gist:7c1b9033c6f93e7efbf0ece454e50f67
Created June 7, 2018 08:58
List of gap symbols currently used by SageMath
sage: import glob, io, re
....: for s in sorted(set(match
....: for file in glob.glob(os.environ['SAGE_ROOT']+"/src/sage/libs/gap/*.pyx")
....: for line in io.open(file)
....: for match in re.findall(r'libGAP_\w*', line) )):
....: print(s)
....:
libGAP_
libGAP_ASS_LIST
libGAP_AllocBags
@nthiery
nthiery / test-infinite-loop.ipynb
Created October 18, 2017 19:33
Jupyter notebook causing browsers freeze
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.