Skip to content

Instantly share code, notes, and snippets.

ruze00 /
Created Sep 9, 2018 — forked from chad-green/
Update for NCSDK 2.0 based on code from Adrian Rosebrock's tutorial on (see link in comments)
# Updated for NCSDK 2.0. Original code by Adrian Rosebrock
# python --graph graphs/mobilenetgraph --display 1
# python --graph graphs/mobilenetgraph --confidence 0.5 --display 1
# import the necessary packages
from mvnc import mvncapi as mvnc
from import VideoStream
from import FPS
ruze00 /
Created Jan 7, 2018 — forked from jarutis/
Theano and Keras setup on ubuntu with OpenCL on AMD card
## install Catalyst proprietary
sudo ntfsfix /dev/sda2
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.BAK
sudo apt-get remove --purge fglrx*
sudo apt-get install linux-headers-generic
sudo apt-get install fglrx xvba-va-driver libva-glx1 libva-egl1 vainfo
sudo amdconfig --initial
## install build essentials
sudo apt-get install cmake
ruze00 / TestJWTS.cs
Created Sep 29, 2016
JWTS Token encoding using .NET for Jersey
View TestJWTS.cs
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace TestAuth
You can’t perform that action at this time.