This file contains 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
CC=g++ | |
CFLAGS=-Wall | |
.SUFFIXES = .cpp | |
objs:=$(wildcard *.cpp) | |
targets:=$(objs:.cpp= ) | |
.PHONY:all | |
all: $(targets) | |
.cpp: | |
$(CC) $(CFLAGS) -std=c++11 -o $@ $< |
This file contains 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
# Calling Emotion APIs is | |
# restricted to 20 transactions per minute | |
# and 30,000 transactions per month. | |
# 20 transactions per 60 seconds | |
# 1 transaction per 3 seconds | |
# python ms_emotion.py tani.jpg | |
import httplib | |
import urllib |
This file contains 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
var sphere_r = 200; | |
var phi=0,theta=0; | |
function setup() { | |
var canvas = createCanvas(windowWidth, windowHeight,WEBGL); | |
canvas.parent("p5Canvas"); | |
resizeCanvas(windowWidth, windowHeight); | |
basicMaterial(0,0,0); | |
setupSphereShell(); | |
} |
This file contains 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
screen /dev/tty.usbserial 115200 |
This file contains 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
|---buttonA--2nd view | |
1st view---- | |
|---buttonB--3rd view | |
This file contains 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
R = \frac{(V_{cc}-V_f)}{I_f} |
This file contains 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
import cv2 | |
import numpy as numpy | |
import sys | |
h = 512 | |
w = 512 | |
def nothing(x): | |
pass | |
cv2.namedWindow('lena') |
NewerOlder