-
Create a virtual environment called, e.g.,
my-env:$ uv venv my-env -
Install
ipykernelinto it:$ uv pip install -p my-env ipykernel -
Register the kernel so it will show up in Jupyter:
This file contains hidden or 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
| apt-get update | |
| apt-get install -y apt-transport-https ca-certificates | |
| apt-key adv \ | |
| --keyserver hkp://ha.pool.sks-keyservers.net:80 \ | |
| --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
| echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list | |
| apt-get update | |
| apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual | |
| apt-get install -y docker-engine |
This file contains hidden or 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
| sudo nano /lib/systemd/system/custom-boot.service | |
| ``` | |
| [Unit] | |
| Description=Custom Boot Script Service | |
| After=multi-user.target | |
| [Service] | |
| Type=idle | |
| ExecStart=/bin/bash /home/pi/boot.sh |
This file contains hidden or 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
| ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
| update_config=1 | |
| country=GB | |
| network={ | |
| ssid="<Name of your wireless LAN>" | |
| psk="<Password for your wireless LAN>" | |
| } |
OlderNewer