Skip to content

Instantly share code, notes, and snippets.

View washcycle's full-sized avatar
🎯
Focusing

Matt washcycle

🎯
Focusing
View GitHub Profile
@washcycle
washcycle / docker-compose.yml
Created June 19, 2019 21:24 — forked from pantsel/docker-compose.yml
example docker-compose.yml for kong, postgres and konga
version: "3"
networks:
kong-net:
driver: bridge
services:
#######################################
# Postgres: The database used by Kong
@washcycle
washcycle / gist:7477cf9769c571208aa999f435faefae
Created September 28, 2018 13:00 — forked from Bouke/gist:10454272
Install FreeTDS, unixODBC and pyodbc on OS X

First, install the following libraries:

$ brew install unixodbc
$ brew install freetds --with-unixodbc

FreeTDS should already work now, without configuration:

$ tsql -S [IP or hostname] -U [username] -P [password]
locale is "en_US.UTF-8"

locale charset is "UTF-8"

@washcycle
washcycle / cuda_9.0_cudnn_7.0.sh
Created August 20, 2018 23:29 — forked from ashokpant/cuda_9.0_cudnn_7.0.sh
Install CUDA Toolkit v9.0 and cuDNN v7.0 on Ubuntu 16.04
#!/bin/bash
# install CUDA Toolkit v9.0
# instructions from https://developer.nvidia.com/cuda-downloads (linux -> x86_64 -> Ubuntu -> 16.04 -> deb)
CUDA_REPO_PKG="cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64-deb"
wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/${CUDA_REPO_PKG}
sudo dpkg -i ${CUDA_REPO_PKG}
sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
sudo apt-get update
sudo apt-get -y install cuda-9-0
@washcycle
washcycle / nvidia.sh
Created June 14, 2018 12:33 — forked from anubhavsinha/nvidia.sh
Nvidia Driver installation on EC2 RHEL 7 GPU instance
yum groupinstall "Development Tools"
yum install kernel-devel kernel-headers dkms
yum install pciutils
lspci -nn | grep VGA # to check your NVIDIA product version
yum update
sudo sh NVIDIA-Linux-x86_64-340.32.run --kernel-source-path /usr/src/kernels/3.10.0-123.6.3.el7.x86_64
@washcycle
washcycle / Install NVIDIA Driver and CUDA.md
Last active June 14, 2018 01:58 — forked from wangruohui/Install NVIDIA Driver and CUDA.md
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS
@washcycle
washcycle / waya-dl-setup.sh
Created December 6, 2017 18:31 — forked from mjdietzx/waya-dl-setup.sh
Install CUDA Toolkit v8.0 and cuDNN v6.0 on Ubuntu 16.04
#!/bin/bash
# install CUDA Toolkit v8.0
# instructions from https://developer.nvidia.com/cuda-downloads (linux -> x86_64 -> Ubuntu -> 16.04 -> deb (network))
CUDA_REPO_PKG="cuda-repo-ubuntu1604_8.0.61-1_amd64.deb"
wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/${CUDA_REPO_PKG}
sudo dpkg -i ${CUDA_REPO_PKG}
sudo apt-get update
sudo apt-get -y install cuda