Skip to content

Instantly share code, notes, and snippets.

View psambit9791's full-sized avatar

Sambit Paul psambit9791

  • University of Edinburgh
  • Edinburgh, United Kingdom
View GitHub Profile
@laic
laic / 1-eddie-conda-setup.sh
Last active June 18, 2021 12:19
eddie/pytorch setup
## login to eddie, need to be in the university VPN. The password should be your ease password
ssh your_uun@eddie.ecdf.ed.ac.uk
## Go to an interactive node with a GPU
## From the login node, it's good to run screen so that if you lose the connection you can rejoin
screen
## To reattach your session if you get bumped of you'll need to get to the same login node that you started from
## to get to login1 you neeed to do: ssh login01-ext.ecdf.ed.ac.uk
@gonzaloplaza
gonzaloplaza / aws_ec2_ubuntu_userdata_docker.sh
Last active June 16, 2026 10:48
Script to auto install Docker (last version) into AWS EC2/Ubuntu instance at launch time: User Data
#!/bin/bash
# Install docker
apt-get update
apt-get install -y cloud-utils apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update