Skip to content

Instantly share code, notes, and snippets.

@Wolftronics-SBC
Wolftronics-SBC / 00-install-intel-mkl-64bit
Created May 16, 2018 14:24 — forked from pachadotdev/00-install-intel-mkl-64bit
Install Intel MKL (64 bit) on Ubuntu 17.10
# Option 1: Use apt-get
# keys taken from https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-apt-repo
cd ~/GitHub/r-with-intel-mkl/
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
sudo sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list'
sudo apt-get update && sudo apt-get install intel-mkl-64bit
@Wolftronics-SBC
Wolftronics-SBC / libwebsocket_client.cpp
Created May 16, 2018 16:23 — forked from iUltimateLP/libwebsocket_client.cpp
A simple, minimalistic websocket client using LibWebSocket
// Simple LibWebSockets test client
//////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include "libwebsocket/libwebsockets.h"
@Wolftronics-SBC
Wolftronics-SBC / analog-clock.cc
Created May 16, 2018 16:24 — forked from iUltimateLP/analog-clock.cc
RGB LED Matrix + Raspberry Pi = Analog Clock
// -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
// Small example how to use the library.
// For more examples, look at demo-main.cc
//
// This code is public domain
// (but note, that the led-matrix library this depends on is GPL v2)
#include "led-matrix.h"
#include <unistd.h>
@Wolftronics-SBC
Wolftronics-SBC / example_arduino_mdb_coin_changer
Created May 18, 2018 13:40 — forked from thinkchip/example_arduino_mdb_coin_changer
Example Arduino MDB Coin changer communication Lite
/*
*/
#include <SoftwareSerial.h>
#define TERM_COIN 0x02
#define TERM_COIN_INIT 0x01
#define TERM_COIN_STOP 0x02
#define TERM_COIN_POLL 0x03
#define TERM_COIN_TUBE 0x05
#define TERM_COIN_PAYOUT 0x07