Skip to content

Instantly share code, notes, and snippets.

@dbwest
dbwest / install_gpu_docker.sh
Last active May 19, 2019 — forked from im7mortal/install_gpu_docker.sh
Install docker and nvidia-docker
View install_gpu_docker.sh
# Disco!
sudo apt-get update
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual -y
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" -y
sudo apt-get update
sudo apt-get install docker.io -y
wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb
sudo dpkg --ignore-depends=docker-ce -i /tmp/nvidia-docker*.deb && rm /tmp/nvidia-docker*.deb
@dbwest
dbwest / february11-paircolumbus.md
Created Feb 11, 2017 — forked from jaybobo/iluvsql-paircolumbus.md
February 11th - Pair Columbus - ILUVSQL
View february11-paircolumbus.md
@dbwest
dbwest / 0_README.md
Created Apr 26, 2012
Continuous CoffeeScript testing with Guard and Jasmine
View 0_README.md

Continuous CoffeeScript testing with Guard and Jasmine

This Gist shows how to set up a Rails project to practice BDD with CoffeeScript, Guard and Jasmine. You can see this setup in action on Vimeo

  • Install Gems with Bundler with bundle install
  • Define your guards with mate Guardfile
  • Initialize Jasmine with bundle exec jasmine init
  • Configure Jasmine with mate spec/support/yasmine.ym
  • Start Guard with bundle exec guard