---------------------------------------------------------------------- -- 각종 주석 찾기 -- HTML / XML 주석 \ -- Source Code 주석 -- 멀티라인 주석 /* .... */ /\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/ -- 멀티라인 + 싱글라인 /* .... */ + // ... (/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/)|(//.*) -- Oracle Comment /\*(?>(?:(?!\*/|/\*).)*)(?>(?:/\*(?>(?:(?!\*/|/\*).)*)\*/(?>(?:(?!\*/|/\*).)*))*).*?\*/|--.*?\r?[\n] (/\*([^*]..
inpect.exe 는 windows 에 기본 탑재된 툴로써 사용자가 지정한 UI element 와 element의 accessibility data 를 보여준다 자세한 내용은 다음의 URL에서 확인 - https://docs.microsoft.com/ko-kr/windows/desktop/WinAuto/inspect-objects - https://developer.microsoft.com/ko-kr/windows/downloads/sdk-archive 본인의 OS가 Win10 이고 Windows SDK가 설치되어 있다면 보통 C:\Program Files (x86)\Windows Kits\10\bin\[가장높은버전]\x64 경로에서 inspect.exe를 찾을 수 있다 - https://stackov..
Visual C++은 "멀티바이트"와 "유니코드"의 문자 처리가 있다. 멀티바이트 (MBCS = Multi Byte Character Set) : 영어 1바이트, 그 외의 문자 2바이트로 처리 유니코드 (WBCS = Wide Byte Character Set) : 모든 문자를 2바이트로 처리. (GCC는 4바이트로 처리) VS에서는 외부 라이브러리와의 호환성 등과 같은 이유로 멀티바이트와 유니코드를 서로 변경해야 할 때 "" L"" 는 심각한 노가다이므로 TEXT("")와 _T("")를 #define 한다. TEXT("")는 WinNT.h에서 #define, _T("")는 tchar.h에 #define 결론 : "", L"" => TEXT(""), _T("")로 입력하자 출처 : http://x108ze..
전형적인 윈도우 스타일. string과 wstring 사이에서 혼란을 겪지 않아도 되므로 편리함 사용법 - 아래 선언을 stdafx.h에 포함해서 사용 1) #ifdef _UNICODE typedef std::wstring tstring; #else typedef std::string tstring; #endif 2) typedef std::basic_string tstring; std::string은 std::basic_string의 인스턴스, std::wstring은 std::basic_string의 인스턴스이다. 따라서 std::basic_string로 가능함. 출처 : https://m.blog.naver.com/PostView.nhn?blogId=nine01223&logNo=22044310658..

signal과 event 1-1. kill은 용도에 맞지 않게 이름이 지어짐. 1-2. kill이 실행되면 signal을 프로세스에게 보냄. 1-3. signal은 software interrupt의 일종으로 어떤 event가 발생했음을 프로세스에게 알려주는 매커니즘. 1-4. 리눅스의 목록은 /usr/include/singal.h에 정의 되어있고, kill -l로도 전체 시그널 목록 확인 가능. signal handler 2-1. signal 발생은 비동기 작업이며, 개발자는 프로그램을 특정 시그널을 수신했을 때 실행되기를 바라는 함수를 등록가능. 2-2. signal handler를 지정하지 않았을 경우 커널에 기본 정의된 액션을 실행하고, 기본 액션은 시그널의 종류에 따라 다름. action 기본동..
Mac OS X Add Use command: sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/new-root-certificate.crt Remove Use command: sudo security delete-certificate -c “” Windows Add Use command: certutil -addstore -f “ROOT” new-root-certificate.crt Remove Use command: certutil -delstore “ROOT” serial-number-hex Linux (Ubuntu, Debian) Add Copy your CA to dir /usr/local/..
다운로드 # ./configure 만약 에러 발생하면 configure: error: Package requirements (libsodium) were not met: No package 'libsodium' found =============================== curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz tar xzf autoconf-2.69.tar.gz cd autoconf-2.69 ./configure --prefix=/usr/local make sudo make install sudo ldconfig cd ../libsodium-master ./autogen.sh ./configure make sudo make ..
1. IUS Community Project의 리포지토리를 yum의 리포지토리에 추가$ yum install -y https://centos7.iuscommunity.org/ius-release.rpm 2. Python 3.6을 확인$ yum search python36 $ yum search python35 ← Python 3.5를 확인 3. Python 3.6을 설치$ yum install -y python36u python36u-libs python36u-devel python36u-pip $ python3.6 -V ← 설치 확인Python 3.6.0 $ which python3.6 ← 설치 장소 확인/usr/bin/python3.6 4. Alias 설정현재 python 커맨드는 2.7로 설정 되어..
quesadilla - 간단...
# 인증서 정보 확인 openssl x509 -noout -text -in TEST.CRT # 인증서 key 파일 패스워드 확인 openssl rsa -in TEST.KEY -out TEST.KEY -passin pass:'PASSWD' # 인증서 DER -> PEM 방식으로 변경 openssl x509 -in INPUT.CRT -inform DER -out OUTPUT.CRT -outform PEM # 인증서 pfx 파일로 변경(윈도우 용) openssl pkcs12 -export -in TEST.CRT -inkey TEST.KEY -out OUTPUT.PFX -passin pass:'PASSWD' -passout pass:'PASSWD'