Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 | |
height: 600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:window.location.assign(window.location.href.replace( /javase\/7\//, 'javase/8/' )); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if ! type jq >/dev/null 2>&1; then | |
echo >&2 "$(basename $0): please install https://stedolan.github.io/jq/ first." | |
exit 1 | |
fi | |
if [ -z "$1" ]; then | |
echo >&2 "$(basename $0): plase provide stop number (see http://giromilano.atm.it/)" | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -r USB.vmdk ]; then | |
VBoxManage storageattach "BootFromUSB" --storagectl "SATA" --port 0 --device 0 --medium none | |
VBoxManage closemedium disk USB.vmdk --delete | |
fi | |
sudo chown $USER /dev/disk1* | |
VBoxManage internalcommands createrawvmdk -filename USB.vmdk -rawdisk /dev/disk1 -partitions 1,2 |
NewerOlder