https://github.com/http2/http2-spec/wiki/Implementations Contributing to HTTP/2Before submitting feedback, please familiarize yourself with our current issues list and review the HTTP/2 page and theworking group home page. If you're new to this, you may also want to read the Tao of the IETF.Be aware that all contributions to the specification fall under the "NOTE WELL" terms outlined below.The b..
출처: http://docs.oracle.com/javase/tutorial/java/generics/types.htmlhttp://codecat.tistory.com/183 Generics이란?generics은 class와 interface를 type화 시킬 수 있다. generics를 사용하면 다음과 같은 이점이 있다.컴파일 시에 type 체크를 할 수 있다.컴파일 시에 generic 코드를 체크 함으로써 에러를 미리 방지 할 수 있다.cast를 생략할 수 있다.List list = new ArrayList();list.add("hello");String s = (String) list.get(0);를 generics을 사용한다면, List list = new ArrayList();list.add("..
Redis data design by usecase from Kris Jeong
SOAP REST 이해 from Jake Yoon
#include //SoftwareSerial(RXD PIN, TXD PIN); SoftwareSerial BTSerial(2,3); void setup() { Serial.begin(9600); BTSerial.begin(9600); pinMode(5, OUTPUT); pinMode(6, OUTPUT); pinMode(7, OUTPUT); } void loop() { if(BTSerial.available()) { int btData = BTSerial.read(); Serial.write(btData); ledOn(btData); } if(Serial.available()) { BTSerial.write(Serial.read()); } } void ledOn(int btData) { if(btData..
#include int potVal; int angle; Servo myServo; void setup() { myServo.attach(8, 640, 2400); Serial.begin(9600); } void loop() { potVal = analogRead(A0); angle = (potVal / 1023.0) * 180.0; myServo.write(angle); Serial.print("angle : "); Serial.println(angle); delay(15); }
long duration, Cm, In; void setup() { Serial.begin(9600); pinMode(9, INPUT); pinMode(10, OUTPUT); digitalWrite(10, LOW); } void loop() { digitalWrite(10, HIGH); delayMicroseconds(10); digitalWrite(10, LOW); duration = pulseIn(9, HIGH); Cm = duration / 29.1 / 2; In = duration / 74 / 2; Serial.print("Cm = "); Serial.print(Cm); Serial.print(" , In = "); Serial.println(In); delay(100); }
#define CW HIGH #define CCW LOW void setup() { pinMode(7, OUTPUT); pinMode(8, OUTPUT); pinMode(9, OUTPUT); } void loop() { int motorSpeed = analogRead(A0) / 4; setMotor(motorSpeed, CW); delay(2000); setMotorStop(); delay(2000); setMotor(motorSpeed, CCW); delay(2000); setMotorStop(); delay(2000); } void setMotor(int motorSpeed, boolean motirDir) { analogWrite(9, motorSpeed); digitalWrite(8, motir..