This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.IO.Ports; | |
using System.Threading; | |
using System; | |
namespace AppKit | |
{ | |
/// <summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: UTF-8 | |
''' | |
Setup apc mini colors without Ablton Live | |
---------- | |
> brew install portmidi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: UTF-8 | |
''' | |
Setup apc mini colors without Ablton Live | |
---------- | |
> brew install portmidi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: UTF-8 | |
import cv2 | |
import numpy as np | |
def make_lut256x16(exportPath): | |
''' 256 x 16 LUT ''' | |
colors = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MeshCode - Japan local geo code | |
# https://ja.wikipedia.org/wiki/%E5%9C%B0%E5%9F%9F%E3%83%A1%E3%83%83%E3%82%B7%E3%83%A5 | |
# http://www.stat.go.jp/data/mesh/pdf/gaiyo1.pdf | |
# https://github.com/letitride/python_util/blob/master/MeshCodeUtility.py | |
_GRID = { | |
FIRST : 0 | |
SECOND : 1 | |
THIRD : 2 | |
HALF : 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Simple Check sum | |
* @param {Array} arguments - 1D Array ex [A0:A6] | |
* @return {Number} checksum | |
*/ | |
function CHECK_SUM() { | |
var arr = arguments[0].map(function(v){return v[0]}); | |
var sum = arr.reduce(function(a, b){ return a + b}); | |
return sum & 0xff; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import argparse | |
import json | |
from pyOSC import OSC | |
from SimpleWebSocketServer import WebSocket, SimpleWebSocketServer | |
# arguments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Dropbox api from GAS | |
*/ | |
var Dropbox = (function() { | |
var DROPBOX_URL = "https://content.dropboxapi.com/2-beta-2/"; | |
/** | |
* Constructor | |
* @param {string} token - the dropbox api token |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ofxMackerel.cpp | |
// | |
// Copyright 2015 asus4 | |
// | |
// | |
#include <Poco/Net/HTTPClientSession.h> | |
#include <Poco/Net/HTTPSClientSession.h> | |
#include <Poco/Net/HTTPRequest.h> |