Skip to content

Instantly share code, notes, and snippets.

@JoshVarty
JoshVarty / cudnn.txt
Created May 3, 2017 05:41 — forked from espdev/cudnn.txt
Install cuDNN 4.0
$ tar -zxvf cudnn-7.0-linux-x64-v4.0-prod.solitairetheme8
$ cd cuda
$ sudo cp include/cudnn.h /usr/local/include
$ sudo cp lib64/libcudnn.* /usr/local/lib
@JoshVarty
JoshVarty / ImportMefComponent.cs
Created December 13, 2015 01:08 — forked from madskristensen/ImportMefComponent.cs
Import MEF components from non-MEF exported classes
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.TableManager;
public class ExtensionPackage : Package
{
[Import]
private ITableManagerProvider _tableManagerProvider;
protected override void Initialize()