Skip to content

Instantly share code, notes, and snippets.

Avatar

Elliot Woods elliotwoods

View GitHub Profile
View axes.py
from KC31Node import app
from KC31Node import serialDevice
import sys
import time
from IPython import embed
import json
from flask import jsonify
from threading import Lock, Timer
View sun8i-h2plus-orangepi-zero.dts-4.11.12
/dts-v1/;
/ {
interrupt-parent = <0x1>;
#address-cells = <0x1>;
#size-cells = <0x1>;
model = "Xunlong Orange Pi Zero";
compatible = "xunlong,orangepi-zero", "allwinner,sun8i-h2-plus";
chosen {
@elliotwoods
elliotwoods / CMakeError.log
Created Aug 13, 2017
Trying to build mysql-connector-c-6.1.11 with ios toolchain
View CMakeError.log
Determining if the include file sys/types.h exists failed with the following output:
Change Dir: /Users/elliot/dev/mysql-connector-c-6.1.11-src/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_16c87/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_16c87.dir/build.make CMakeFiles/cmTC_16c87.dir/build
Building C object CMakeFiles/cmTC_16c87.dir/CheckIncludeFile.c.o
/usr/bin/gcc -arch armv7 -arch armv7s -arch arm64 -o CMakeFiles/cmTC_16c87.dir/CheckIncludeFile.c.o -c /Users/elliot/dev/mysql-connector-c-6.1.11-src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
In file included from /Users/elliot/dev/mysql-connector-c-6.1.11-src/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:
In file included from /usr/include/sys/types.h:75:
/usr/include/sys/cdefs.h:761:2: error: Unsupported architecture
View DynamicBufferNode.cs
#region usings
using System;
using System.ComponentModel.Composition;
using VVVV.PluginInterfaces.V1;
using VVVV.PluginInterfaces.V2;
using VVVV.Utils.VColor;
using VVVV.Utils.VMath;
using VVVV.Core.Logging;
View gist:47e2a1439061060c11441da7348ed570
1
00:01:03,240 --> 00:01:06,312
곧 다시 봄이 될 것입니다.
2
00:01:06,360 --> 00:01:08,669
잔디 돋아.
3
00:01:10,080 --> 00:01:12,435
View ouzo-pinaoz.en.srt
1
00:01:03,240 --> 00:01:06,312
Soon it will be spring again.
2
00:01:06,360 --> 00:01:08,669
Grass sprouting.
3
00:01:10,080 --> 00:01:12,435
View gist:6ea4a392cdb0cf7b9640332864449fcb
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <cv.h>
#include <highgui.h>
using namespace cv;
using namespace std;
View gist:fe6da11d3b6ddb13eb89582153288efe
CANON SOFTWARE DEVELOPMENT KIT DISTRIBUTION AGREEMENT
ATTENTION: PLEASE READ THIS DOCUMENT. THIS IS AN AGREEMENT BETWEEN YOU, THE DEVELOPER OF SOFTWARE SOLUTIONS ("DEVELOPER"), AND CANON EUROPA N.V., HAVING ITS PLACE OF BUSINESS AT, BOVENKERKERWEG 59-61, 1185 XB, AMSTELVEEN, THE NETHERLANDS, THE OWNER OF THE SOFTWARE, AS HEREINAFTER DEFINED ("CANON").
BY SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THIS AGREEMENT YOU AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT AND WILL BE ABLE TO DOWNLOAD THE SOFTWARE. IF YOU SELECT "DECLINE", THE SOFTWARE SHALL NOT BE ACCESSIBLE.
WHEREAS, Canon has developed and/or possesses the rights to license certain Software, (as described below), and Developer desires to distribute the Software as part of a software package developed or to be developed or enhanced by Developer ("Developer Software Package");
The license set forth below is given by Canon with respect to the software files and associated on-line or electronic documentation which are downloaded from Canon’s web
View Writer.cs
#region usings
using System;
using System.ComponentModel.Composition;
using System.Runtime.InteropServices;
using SlimDX;
//using SlimDX.Direct3D9;
using VVVV.Core.Logging;
using VVVV.PluginInterfaces.V1;
using VVVV.PluginInterfaces.V2;
@elliotwoods
elliotwoods / etherdream.cpp
Created Aug 9, 2016
Etherdream cross-platform (C++11)
View etherdream.cpp
/* Ether Dream interface library
*
* Copyright 2011-2012 Jacob Potter
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of either the GNU General Public License version 2
* or 3, or the GNU Lesser General Public License version 3, as published
* by the Free Software Foundation, at your option.
*
* This program is distributed in the hope that it will be useful,
You can’t perform that action at this time.