2017-11-30 12:09:16 +01:00
|
|
|
alias ll="ls -alF"
|
2017-11-27 17:16:51 +01:00
|
|
|
|
|
|
|
nbd() {
|
|
|
|
DIRNAME=$(dirname "$1")
|
|
|
|
BASENAME=$(basename "$1" .ipynb)
|
|
|
|
|
|
|
|
WORKING_COPY=$DIRNAME/$BASENAME.ipynb
|
|
|
|
CHECKPOINT_COPY=$DIRNAME/.ipynb_checkpoints/$BASENAME-checkpoint.ipynb
|
|
|
|
|
|
|
|
# echo "How change $CHECKPOINT_COPY into $WORKING_COPY"
|
2017-11-30 12:09:16 +01:00
|
|
|
nbdiff "$CHECKPOINT_COPY" "$WORKING_COPY" --ignore-details
|
2017-11-27 17:16:51 +01:00
|
|
|
}
|