Bob’s notes
How to add Jupyter notebooks to Sphinx
Add
ipykernal
andnbsphinx
and removem2r
underrequirements.docs.txt
.Add
nbsphinx_allow_errors = True
inconf.py
.Cross check with
bobleesj.utils
(http://github.com/bobleesj/bobleesj.utils).
How to setup SSH for GitHub
In your terminal, run the following commands to generate a new SSH key pair. Replace
<email@example.com>
with your email address.cd ~/.ssh ssh-keygen -o -t rsa -C "<email@example.com>" cat id_rsa.pub
Click New SSH key.
Set the Title as
<your-computer-name>-key
.Under Key, copy and paste content of the
id_rsa.pub
file and paste it into the “Key” field. It should start withssh-rsa
and end with your email address.Click Add SSH key.
Done!
How to install mamba
This tutorial is for macOS. For other platforms, please refer to the official documentation at https://github.com/conda-forge/miniforge.
Remove existing
miniconda3
andminiforge3
directories if they exist:rm -rf /Users/<macbook-username>/miniconda3 rm -rf /Users/<macbook-username>/miniforge3
Replace
<macbook-username>
with your actual username. You can see it after typingpwd
in your terminal.Install
mamba
using the following commands:$ curl -L -O "[https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$](https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$)(uname -m).sh"
Make the script executable:
$ bash Miniforge3-$(uname)-$(uname -m).sh $ mamba shell init
Restart your terminal and type the following command to verify the installation:
$ mamba --version