Skip to content

Instantly share code, notes, and snippets.

Garoe /
Last active Dec 30, 2021
Sign kernel modules on Ubuntu, useful for Nvidia drivers in UEFI system
# VERY IMPORTANT! After each kernel update or dkms rebuild the modules must be signed again with the script
# ~/.ssl/
# Place all files in ~/.ssl folder
mkdir ~/.ssl
cd ~/.ssl
# Generate custom keys with openssl
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -subj "/CN=Owner/"
Garoe /
Last active Jan 20, 2020 — forked from heiths/
Updated for Maya 2015 SP5 and ubuntu 14.04
#Heith Seewald 2012
#Garoe Dorta 2015
# Also based on
#Feel free to extend/modify to meet your needs.
#Maya on Ubuntu v.1
#This is the base installer... I’ll add more features in later versions.
#if you have any issues, feel free email me at
#### Lets run a few checks to make sure things work as expected.
Garoe / tensorflow_cc_windows
Last active Jan 8, 2018
Configuration for a Visual Studio project that depends on tensorflow.dll in C++
View tensorflow_cc_windows
Follow instructions in the following link to compile tensorflow.
Build as a shared library -Dtensorflow_BUILD_SHARED_LIB=ON
Create new empty project in visual studio.
A good example to test as main.cpp would be
The following assumes that Tensorflow was downloaded in C:\tensorflow-r1.2
Garoe /
Created Jan 8, 2016
Matlab 2015 custom compiler
# Shell script for configuring MEX-file creation script,
# mex. These options were tested with the specified compiler.
# usage: Do not call this file directly; it is sourced by the
# mex shell script. Modify only if you don't like the
# defaults after running mex. No spaces are allowed
# around the '=' in the variable assignment.
# Note: For the version of system compiler supported with this release,