분류 전체보기
-
-
-
HTTP/HTTPS에 대하여2020 웹 개발자 로드맵/공통 2020. 6. 22. 19:06
https://www.w3schools.com/whatis/whatis_http.asp What is HTTP What is HTTP? HTTP stands for Hyper Text Transfer Protocol WWW is about communication between web clients and servers Communication between client computers and web servers is done by sending HTTP Requests and receiving HTTP Responses World Wide Web Commun www.w3schools.com w3 schools의 글을 발췌하여 번역하였습니다. 오역이 존재할 수 있습니다. HTTP란 무엇인가? HTTP..
-
SSH(Secure Shell) 란 무엇인가?2020 웹 개발자 로드맵/공통 2020. 6. 20. 21:57
위키백과에는 네트워크 상의 다른 컴퓨터에 로그인하거나 원격 시스템에서 명령을 실행하고 다른 시스템으로 파일을 복사할 수 있도록 해주는 응용 프로그램 또는 그 프로토콜 이라고 서술되어 있다. 또, 아래 홈페이지에 정리된 내용이 있어 번역하여 첨부하도록 하겠습니다. 오역이 있을 수 있습니다. https://www.ssh.com/ssh/protocol/ SSH Protocol – Secure Remote Login and File Transfer Start your journey towards a just-in-time (JIT) model with zero standing privileges (ZSP). Read 'Remove Standing Privileges Through a Just-In-Time PA..
-
ESP8266 아두이노 마리아DB Insert 하기Arduino 2020. 4. 10. 17:14
아두이노 호환 보드의 MariaDB 사용 방법입니다. 마리아DB가 MySQL과 매우 유사하다보니 같은 Connector를 사용하더라도 접근 가능합니다. 초기 설정해야할 부분이 존재합니다. Arduino ide의 메뉴 > Sketch >Include Library > Manage Libraries 를 클릭해주세요. 저는 이미 설치해서 Install 버튼이 보이지 않지만, 초기 설정시에 mysql을 검색하게되면 install 버튼이 보이니 클릭해주세요. 이제 코드를 보겠습니다. /* MySQL Connector/Arduino Example : connect by wifi This example demonstrates how to connect to a MySQL server from an Arduino us..
-
아두이노 mq135 센서 연결하기Arduino 2020. 4. 3. 15:08
mq135와 아두이노 보드를 다음과 같이 연결합니다. 아두이노의 A0 (아날로그 0번) 포트로 mq135의 센서의 측정값을 받아오며, GND,VCC로 아두이노에서 센서에 전원을 공급하게 됩니다. 2. 소스코드 https://github.com/smilexth/MQ135-Arduino-Sensor smilexth/MQ135-Arduino-Sensor MQ-135 Air Quality / Gas Sensor with Arduino. Contribute to smilexth/MQ135-Arduino-Sensor development by creating an account on GitHub. github.com 위 링크의 소스코드와 아래 라이브러리 https://github.com/smilexth/MQ135 ..
-
Wemos R1 D1 Wifi 연결하기Arduino 2020. 4. 3. 13:17
해당 기판에는 ESP8266 기반의 와이파이 모듈이 장착되어 있습니다. ESP8266 관련 예제를 실행해보겠습니다. IDE의 File > Examples > ESP8266WIFI > WIFIClient 예제를 실행해주세요. 해당 소스코드의 최상단의 #define 영역을 수정하여 사용하시면 됩니다. STASSID = 와이파이 이름 STAPSK = 와이파이 비밀번호 const char* host = 접속하고자 하는 주소 값 (본 예제에서는 임의의 String 값을 받아올 수 있는 서버로 설정되었습니다) const uint16_t port = 접속하고자 하는 포트번호 (본 예제에서는 17로 지정) 시리얼 모니터를 통해 해당 소스코드를 확인해보면 위처럼 현재 자신이 연결된 공유기의 내부 IP 주소와 djxmx...
-
Spring 기초예제 1-2Java/Spring 2020. 3. 6. 04:42
1-2 예제 코드는 다음과 같습니다. FileOutputter.java import java.io.*; public class FileOutputter implements Outputter { private String filePath; public void output(String message) throws IOException { FileWriter out = new FileWriter(filePath); out.write(message); out.close(); } public void setFilePath(String filePath) { this.filePath = filePath; } } HelloApp.java import org.springframework.beans.factory.Bea..