Skip to content

Instantly share code, notes, and snippets.

View Schonhoffer's full-sized avatar

Andrew Schonhoffer Schonhoffer

View GitHub Profile
[Bb]in
ClientBin
[Oo]bj
build
*.suo
Log
_ReSharper.*
*.user
*.sln.cache
*.swp
@Schonhoffer
Schonhoffer / collapsible_comments.js
Created October 10, 2012 00:29
collapsible_comments
(function ($) {
'use strict';
var fullHtmlDataKey = 'TruncateTextFullHtml',
truncate = function ($el, animate) {
$el.find('a.collapse').remove();
var fullHtml = $el.html(),
fullHtmlLength = fullHtml.length,
#!/usr/bin/env bash
wget https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb
sudo apt-get update
sudo apt-get install -y cuda
rm cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb
wget http://developer.download.nvidia.com/compute/redist/cudnn/v5.1/cudnn-8.0-linux-x64-v5.1.tgz
sudo tar -xzf cudnn-8.0-linux-x64-v5.1.tgz -C /usr/local