Skip to content

Instantly share code, notes, and snippets.

@thangdc94
thangdc94 / install-cuda-10-bionic.sh
Created April 30, 2020 15:40 — forked from bogdan-kulynych/install-cuda-10-bionic.sh
Install CUDA 10 on Ubuntu 18.04
# WARNING: These steps seem to not work anymore!
#!/bin/bash
# Purge existign CUDA first
sudo apt --purge remove "cublas*" "cuda*"
sudo apt --purge remove "nvidia*"
# Install CUDA Toolkit 10
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
@thangdc94
thangdc94 / config
Last active May 2, 2023 10:01
ssh with saved pass
Include config.d/*
Host remote-host
HostName 10.10.10.10
User root
Port 22
#PS password-for-remote-host
Host jump-remote-host
HostName target-remote