Skip to content

Instantly share code, notes, and snippets.

View mapio's full-sized avatar
🎯
Focusing

Massimo Santini mapio

🎯
Focusing
View GitHub Profile
@mapio
mapio / z3.ipynb
Created December 27, 2021 21:19
Solving Alphametics with z3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mapio
mapio / AdventOfCodeStats.ipynb
Created December 24, 2020 17:24
Advent of Code Statistics
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mapio
mapio / install.sh
Created March 21, 2019 15:06
Installazione di Prog1.zip
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 December 19, 2023 04:17
A simple monotonic grammar for the repeated word language
Loading
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 January 9, 2019 11:34
Some recursive code to print trees
Loading
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 June 25, 2021 09:27
Force-based label placement (d3.v5.js)
license: gpl-3.0
height: 600
@mapio
mapio / viva.ipynb
Created March 27, 2018 11:47
VivaGraphJS in Jupyter
Loading
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 March 19, 2019 22:03
Enable hide_code and full_width
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 December 4, 2017 01:11
Find A Way
Loading
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 July 23, 2020 22:22
Playing with my son Federico
graph.png