Instantly share code, notes, and snippets.

# Christian Lawson-Perfectchristianp

• Sort options
Created Sep 14, 2019
Placement puzzle picture
View placement.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Created Aug 1, 2019
View prime-image.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Created Jul 30, 2019
Math-Off vote plots
View bigmathoff-vote-plots.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Created Mar 27, 2019
MathJax for mastodon

These patches are based off Mastodon v2.7.1. They will probably need some work to apply to future releases.

mathjax.diff adds MathJax to render LaTeX. You need a copy of MathJax under the URL /MathJax. Write inline maths between $$ and $$, and display-mode maths between $ and $.

autolatex.diff adds automatic replacement of some LaTeX with unicode equivalents in the toot compose box. It only applies to text not within LaTeX delimiters, so doesn't interfere with MathJax.

Created Nov 27, 2018
Names of scientists nominated to appear on the new £50 note
View bank-note-names.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Created Nov 18, 2018
Working-out for the lowest-entry-not-in-an-arithmetic-sequence with other entries competition
View mathsjam-2018-compo-compo-compo.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Created Oct 24, 2018
View chicken-wing-prices.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Created Mar 14, 2018
View A249067.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Last active Jan 17, 2018
View sqrt fact floor 2018.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Created Jan 17, 2018
View 2018-sqrt-floor-fact.py
 from math import factorial, sqrt, floor id = lambda x: x commands = { 's': sqrt, 'f': floor, '!': factorial, }
You can’t perform that action at this time.