Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Massimo Santini mapio

🎯
Focusing
Block or report user

Report or block mapio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mapio
mapio / install.sh
Created Mar 21, 2019
Installazione di Prog1.zip
View install.sh
rm -f Prog1.zip
curl -O http://marra.di.unimi.it/prog1/lab/docs/lib/Prog1.zip
unzip Prog1.zip Prog1/IO.h Prog1/Stringhe.h
mv Prog1/IO.h Prog1/Stringhe.h .
rmdir Prog1
rm -f Prog1.zip
@mapio
mapio / ww.ipynb
Last active Feb 20, 2019
A simple monotonic grammar for the repeated word language
View ww.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mapio
mapio / Printing trees.ipynb
Last active Jan 9, 2019
Some recursive code to print trees
View Printing trees.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mapio
mapio / .block
Last active Jun 5, 2019
Force-based label placement (d3.v5.js)
View .block
license: gpl-3.0
height: 600
@mapio
mapio / viva.ipynb
Created Mar 27, 2018
VivaGraphJS in Jupyter
View viva.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mapio
mapio / nbextensions.sh
Last active Mar 19, 2019
Enable hide_code and full_width
View nbextensions.sh
pip install jupyter-full-width
jupyter nbextension install --sys-prefix --py full_width
jupyter nbextension enable --sys-prefix --py full_width
pip install hide_code
jupyter nbextension install --sys-prefix --py hide_code
jupyter nbextension enable --sys-prefix --py hide_code
jupyter serverextension enable --sys-prefix --py hide_code
jupyter nbextension list
@mapio
mapio / FAW.ipynb
Last active Dec 4, 2017
Find A Way
View FAW.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mapio
mapio / graph.png
Last active Sep 17, 2018
Playing with my son Federico
@mapio
mapio / config
Created Mar 17, 2017
How to smudge Jupyter notebooks in git
View config
[filter "handle-ipynb-output"]
clean = "jupyter nbconvert --to notebook --NbConvertApp.from_stdin=True --ClearOutputPreprocessor.enabled=True --NbConvertApp.writer_class=StdoutWriter"
smudge = cat
@mapio
mapio / Dijkstra.ipynb
Last active Nov 23, 2016
Apparently not so nice…
View Dijkstra.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.