Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
# based on https://devtalk.nvidia.com/default/topic/880246/cuda-setup-and-installation/cuda-7-5-unstable-on-ec2-/post/4830634/#4830634 | |
export DEBIAN_FRONTEND=noninteractive | |
sudo apt-get update -q -y | |
sudo apt-get -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install linux-generic | |
wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb | |
sudo apt-get update -q -y | |
sudo apt-get install cuda -q -y |
This file contains 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
a |
This file contains 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
#!/usr/bin/env bash | |
########## | |
# This file should be run in cron, such as: | |
# 0 * * * * bash ~/save_tabs.sh | |
########## | |
STATE_FILE = $HOME/saved_tabs | |
gnome-terminal --save-config=$STATE_FILE |
This file contains 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
wget https://launchpad.net/openssh/main/6.9p1/+download/openssh-6.9p1.tar.gz | |
tar -xvf openssh-6.9p1.tar.gz | |
cd openssh-6.9p1/ | |
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-md5-passwords --with-privsep-path=/var/lib/sshd | |
sudo make install | |
sshd -V |
This file contains 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 apt-get update && sudo apt-get -y upgrade | |
sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove | |
sudo apt-get install checkinstall | |
# build developer tools. Some of these are probably non-pertinent | |
sudo apt-get install -y git-core curl zlib1g-dev build-essential \ | |
libssl-dev libreadline-dev libyaml-dev libsqlite3-dev \ | |
libxml2-dev libxslt1-dev libcurl4-openssl-dev \ | |
python-software-properties |