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
<video id='world' width="256" height="256" autoplay></video> | |
<canvas id="canvas"></canvas> | |
<button onClick="start()">start</button> | |
<button onClick="stop()">stop</button> | |
<button id="draw">set canvas</button> |
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
You have not agreed to the Xcode license. | |
Before running the installer again please agree to the license by opening | |
Xcode.app or running: | |
sudo xcodebuild -license |
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
#include<stdio.h> | |
#include<math.h> | |
#include<stdlib.h> | |
#include<iostream> | |
#define N 15 | |
/* | |
struct point{ | |
int x; | |
int y; | |
}; |
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
#include<iostream> | |
//#include<windows.h> | |
#include<math.h> | |
#include"glut.h" | |
#define SCALE 360.0 | |
GLdouble ex = 4.0, ey = 5.0, ez = 6.0; /* 視点の位置 */ | |
GLdouble tx = 0.5, ty = 0.5, tz = 0.5; /* 目標点の位置 */ | |
GLdouble ax = 0.0, ay = 1.0; /* 対象の回転軸 */ | |
GLdouble angle = 0.0; /* 回転角 */ |
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
#ローパス関数 | |
def low_path(xx): | |
sample_rate = 100.0 | |
nsamples = 400 | |
t = arange(nsamples) / sample_rate | |
#t = framerate | |
x = xx | |
nyq_rate = sample_rate / 2.0 #ナイキスト周波数 | |
width = 5.0/nyq_rate #正規化 |
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
# oh-my-zeshの自作テーマ「yoshiki」 | |
# テーマ"ys.zsh-theme"をもとに拡張した | |
# Jan 2016 | |
# Machine name. | |
function box_name { | |
[ -f ~/.box-name ] && cat ~/.box-name || echo $HOST | |
} | |
# Directory info. |
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
#include "stdafx.h" | |
#include <pgrflycapture.h> | |
#include <cv.h> | |
#include <cxcore.h> | |
#include <highgui.h> | |
int _tmain(int argc, _TCHAR* argv[]) | |
{ |
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
+++++++++[>++++++++++++<-]>+.< | |
>++++++++.< | |
>-------.< | |
>+.< | |
>++++++.< | |
+++++++[>---------------<-]>--.< | |
+++++++++[>+++++++++++<-]>.< | |
>++++++++.< | |
>-------.< | |
>+.< |
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
"use strict"; | |
var AWS = require("aws-sdk"); | |
var DOC = require("dynamodb-doc"); | |
var s3 = new AWS.S3(); | |
exports.handler = (event, context, callback) => { | |
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
# coding:utf-8 | |
import os | |
images_path = "./src/" | |
def getHtmlHeader(): | |
return """ | |
<!DOCTYPE html> | |
<html> | |
<header> |
OlderNewer