📢 有神快拜
Entertainment
Docker & Jupyter & PyTorch
安裝Python 3.10
簡介 在舊版Ubuntu安裝Python 3.10以及對應的pip版本。 安裝Python 藉由apt安裝,安裝後須注意python執行時的執行檔版本。 sudo apt update sudo...
新增ipykernel
pip install ipykernel ipython kernel install --name DISPLAY_NAME --user
Jupyter lab install LSP
pip install jupyterlab-lsp pip install python-language-server[python]
引入pytorch時出現tqdm錯誤
簡介 引入pytorch時出現tqdm錯誤,則須另外安裝套件ipywidgets。 # tqdm error is issued # by running the following code ...
Ubuntu
Netplan
Ethernet (Dynamic IP) network: version: 2 ethernets: eth0: dhcp4: t...
iptables as firewall
Setup iptables as a firewall. Drop packages from INPUT chain by default. However, we have to all...
Never use snap firefox
#!/bin/bash if [[ $(id -u) == 0 ]] then snap remove firefox add-apt-repository ppa:mozil...
Disable Ubuntu Server sleep
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
The public key is not available
Error occurred. The following signatures couldn't be verified because the public key is not ava...
speech-dispatcher makes all audio crackle
Symptom speech-dispatcher package causes audio from speaker crackle (noise and delay) since Ubunt...
Resolve: NVIDIA Ghost Monitor
Resolve: NVIDIA Ghost Monitor