d3v-null / stderr-rust-2021-09-06

Rust demo for stderr, 2021-09-06

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STDERR Rust Demo 2021-09-06

Setup

install Rustup

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

install evcxr jupyter kernel

rustup component add rust-src
sudo apt install jupyter-notebook cmake build-essential
cargo install evcxr_jupyter
evcxr_jupyter --install

launch jupyter

jupyter-notebook

generate config

jupyter notebook --generate-config

set password

jupyter notebook password --generate-config

edit config

sudo apt install jq
sh >> ${HOME}/.jupyter/jupyter_notebook_config.py <<EOF
echo 'c.NotebookApp.ip = "*"'
echo 'c.NotebookApp.password = "'$(jq '.NotebookApp.password' ${HOME}/.jupyter/jupyter_notebook_config.json)'"'
EOF

install cfitsio

wget http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz
tar -zxvf cfitsio-3.49.tar.gz
cd cfitsio-3.49/
CFLAGS="-O3" ./configure --prefix=/usr/local --enable-reentrant --enable-ssse3 --enable-sse2
make -j
sudo make install

references:

https://igiagkiozis.github.io/plotly/content/fundamentals/jupyter_support.html

About

Rust demo for stderr, 2021-09-06


Languages

Language:Jupyter Notebook 100.0%