node ws.js
python -m SimpleHTTPServer
| port ์ฑํ ํฌํธ | |
| host ๊ณ ๊ฐ ์์ดํผ | |
| sudo tcpdump dst host 175.123.88.191 -X -w /tmp/pktdump.pcap | |
| sudo yum install devtoolset-9-gcc devtoolset-9-libgccjit-devel libcurses-devel -y | |
| git clone https://git.savannah.gnu.org/git/emacs.git | |
| cd emacs | |
| git fetch --all | |
| git checkout -b native-comp origin/feature/native-comp | |
| source scl_source enable devtoolset-9 | |
| ./autogen.sh | |
| ./configure --with-nativecom --without-makeinfo | |
| make -j8 | |
| sudo make install |
| #include "request_url.h" | |
| extern "C" { | |
| #include<curl/curl.h> | |
| } | |
| // - - - - - - - - - - - - - - - - - - - - | |
| #include<iostream> | |
| static s |
| source scl_source enable devtoolset-7 | |
| set -o vi | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
| } | |
| export PS1='\[\e[0;36m\]\u\[\e[0m\]@\[\e[0;33m\]\h\[\e[0m\]$(parse_git_branch)\[\e[0;35m\] |
| {"lastUpload":"2019-12-09T16:25:02.052Z","extensionVersion":"v3.4.3"} |
node ws.js
python -m SimpleHTTPServer
| // ChildView.cpp : CChildView ํด๋์ค์ ๊ตฌํ | |
| // | |
| #include "stdafx.h" | |
| #include "SearchM.h" | |
| #include "ChildView.h" | |
| #include "OpenDlg.h" | |
| #include "FindDlg.h" | |
| #include "ValueDlg.h" |
| #pragma once | |
| #include "stdafx.h" | |
| class Packer | |
| { | |
| public: | |
| Packer() {fileBuf = NULL;} | |
| DWORD RVA2RAW(DWORD rva) | |
| { |
์ฌ๊ธฐ์๋ ์ค์ turn, stun ๋ฑ์ ์๊ทธ๋๋ง๊ณผ ์ค์ ํ์ํต์ ์ ๋ํ ๊ฒ์ ์ ๋ฆฌํ๋ ๋ด์ฉ์ ๋ค๋ฃฌ๋ค.
WEBRTC ๋ p2p ํต์ ์ ํ๊ธฐ ์ํด ์ฌ์ ์ ๋ฏธ๋ฆฌ sdp ๋ turn ์๋ฒ๋ฅผ ์๋ก ์๊ณ ์์ด์ผ ํ๋ค.
์ด๋ ํ ํ ์คํธ ์ ๋ณด๋ฅผ ์ ๋ฌํ ์ ์๋ ํต์ ์๋จ(์: ์์ผ, ์น์์ผ ๋ฑ)์ ์ข ๋ฅ๋ ์ด๋ค๊ฒ์ด๋ผ๋ ์๊ด์๋ค.
์ฌ๊ธฐ์๋ websocket ์ ์ฌ์ฉํ๋ค.
| ublic void onValueChanged(int angle, int power, int direction) { | |
| // TODO Auto-generated method stub | |
| JSONObject json1 = new JSONObject(); | |
| float left = 10000, right = 10000; | |
| try { | |
| if(power == 0) { | |
| json1.put("left", 0); | |
| json1.put("right", 0); | |
| } |