Markdown은 텍스트 기반의 마크업언어로 2004년 존그루버에 의해 만들어졌으며 쉽게 쓰고 읽을 수 있으며 HTML로 변환이 가능하다. 특수기호와 문자를 이용한 매우 간단한 구조의 문법을 사용하여 웹에서도 보다 빠르게 컨텐츠를 작성하고 보다 직관적으로 인식할 수 있다. 마크다운이 최근 각광받기 시작한 이유는 깃헙(https://github.com) 덕분이다. 깃헙의 저장소Repository에 관한 정보를 기록하는 README.md는 깃헙을 사용하는 사람이라면 누구나 가장 먼저 접하게 되는 마크다운 문서였다. 마크다운을 통해서 설치방법, 소스코드 설명, 이슈 등을 간단하게 기록하고 가독성을 높일 수 있다는 강점이 부각되면서 점점 여러 곳으로 퍼져가게 된다.
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
\documentclass[11pt,a4paper,sans]{moderncv} | |
\usepackage[utf8]{inputenc} | |
\usepackage{kotex} | |
\moderncvstyle{classic} | |
\moderncvcolor{blue} | |
\usepackage{lipsum} | |
\usepackage[scale=0.75]{geometry} | |
% 이름 | |
\firstname{이} % Your first name |
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
\documentclass[11pt,a4paper,sans]{moderncv} | |
\usepackage[utf8]{inputenc} | |
\usepackage{kotex} | |
\moderncvstyle{classic} | |
\moderncvcolor{blue} | |
\usepackage{lipsum} | |
\usepackage[scale=0.75]{geometry} | |
% 이름 | |
\firstname{이} % Your first name |
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 fitbit | |
import ConfigParser | |
import json | |
from pprint import pprint | |
import matplotlib.pyplot as plt | |
#Load Settings | |
parser = ConfigParser.SafeConfigParser() | |
parser.read('config.ini') | |
consumer_key = parser.get('Login Parameters', 'C_KEY') |
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
install.packages("fitbitScraper") | |
library("fitbitScraper") | |
install.packages("ggplot2") | |
library("ggplot2") | |
cookie <- login(email="your id @ fitbit", password="your password") | |
df <- get_intraday_data(cookie, what="steps", date="2015-10-21") | |
ggplot(df, aes(x=time, y=steps)) + geom_bar(stat="identity") |
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
cd /home/yslee | |
$pid_player | |
rtmpdump -r "rtmp://ebsandroid.ebs.co.kr:1935/fmradiofamilypc/familypc1m" -o ebs-mouth.flv > /dev/null 2>&1 & | |
#rtmpdump -r "rtmp://ebsandroid.nefficient.com/fmradiofamilypc/familypc1m" -o ebs-mouth.flv > /dev/null 2>&1 & | |
pid_player=$! | |
sleep 1200 | |
kill $pid_player |
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
print("Hello World!") |
- 캡쳐 후 필터로 원하는 패킷 검색: 필터 창에 http 라고 입력하면 http 패킷만 볼 수 있음.
- 대부분의 웹 사이트들이 암호화된 HTTPS 프로토콜을 사용하고 있기때문에 http라고 하더라도 원하는 패킷을 캡쳐해서 볼 수 없음. 크롬 웹 브라우저에 http://networks.cnu.ac.kr 과 같이 입력해보면 plain text 로 전송되는 http 요청, 응답 메시지를 볼 수 있음
- http://www.tcpdump.org 에서 tcpdump 명령어 도구를 다운받아서 설치하면 GUI가 아닌 명령어로도 capture하여 패킷을 볼 수 있음
- command example
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
#!/usr/bin/env python3 | |
import socket | |
IP_ADDR = '0.0.0.0' | |
TCP_PORT = 9999 | |
BUFFER_SIZE = 1024 | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.bind((IP_ADDR, TCP_PORT)) |
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
#!/usr/bin/env python3 | |
#-*- coding:utf-8 -*- | |
import socket | |
IP = '127.0.0.1' | |
TCP_PORT = 9999 | |
BUFFER_SIZE = 1024 | |
MESSAGE = '안녕 서버' |
OlderNewer