Skip to content

Instantly share code, notes, and snippets.

View mactkg's full-sized avatar
💭
I may be slow to respond.

mactkg mactkg

💭
I may be slow to respond.
View GitHub Profile
@mactkg
mactkg / shibuya_ni.txt
Created June 2, 2011 11:25 — forked from fullmated/shibuya_ni.txt
shibuya_ni
一歳半のちびっ子が認識しない件
Kinect本はKinect-Hackにぴったりです
OpenNI
Generator
MetaData
NITE
Session
Detector
idea
@mactkg
mactkg / shibuya_ni.txt
Created June 2, 2011 12:04 — forked from fullmated/shibuya_ni.txt
shibuya_ni
一歳半のちびっ子が認識しない件
Kinect本はKinect-Hackにぴったりです
OpenNI
Generator
MetaData
NITE
Session
Detector
idea
@mactkg
mactkg / test.c
Created July 21, 2011 02:26
これはてすとです
#include<stdio.h>
main(){
prinrf("this is test.");
}
import re
hoge = "1,2, 3,4 ,5"
str = re.sub(" ","",hoge).split(",",)
char hoge[4] = "hoge";
SecoundB {
public:
string name[40] = {"hoge fuga",
"foo bar",...};
private:
room skypeRoomChat;
history blackHistory;
}
@mactkg
mactkg / cal.c
Created September 17, 2011 13:24
#include<math.h>
#include<stdio.h>
void main(){
int i,times,vo,vi;
printf("please input Vi\n");
scanf("%d", &vi);
times = 1;
for(i = 0; i < 4; i++) {
times = times*10;
@mactkg
mactkg / cal.c
Created September 17, 2011 14:29
#include<math.h>
#include<stdio.h>
void main(){
int i,times;
float vo,vi;
printf("please input Vi\n");
scanf("%f", &vi);
times = 1;
for(i = 0; i < 4; i++) {
@mactkg
mactkg / line2.asm
Created November 1, 2011 03:17
line2.asm
; PIC test program
;
list p=16f84
;
; define config fuses
;
include "p16f84.inc"
__CONFIG _HS_OSC & _PWRTE_ON & _WDT_OFF
DELAYT EQU 0DH
irb(main):003:0> if nil
irb(main):004:1> print hoge
irb(main):005:1> end
=> nil
irb(main):006:0> if !nil
irb(main):007:1> print hoge
irb(main):008:1> end
100=> nil
irb(main):009:0> if 1
irb(main):010:1> print hoge