git - GitSheet

출처 Git의 브랜치 조작 git branch 모든 로컬 브랜치를 나열한다. git branch -a 원격 및 로컬 브랜치를 나열한다. git checkout -b branch_name 로컬 브랜치를 생성하고 전환한다. git checkout branch_name 기존의 브랜치로 전환한다. git push origin branch_name 브랜치를 원격으로 푸쉬한다. git...
더 읽기

git - 자주 사용하는 git 명령어

출처 자신의 commit을 pull request 할 때까지 git pull #로컬 저장소를 최신으로 git checkout -b <branchName> #브랜치 작성과 이동 #파일 편진 git status #편집한 파일을 확인 git diff #차분을 확인 git add . #"."은 현재 디렉토리 이하의 파일을 모두 add...
더 읽기

C 언어로 Simple HTTP 서버 만들기

출처 기능은 아주 단순하다. 그만큼 분석하기 쉽다. 웹서버의 대략적인 동작을 엿볼 수 있다. 간단하게 아래의 기능만 구현했다. HTTP 서버 HTML 출력 라우팅 환경 아래 환경에서 개발, 테스트 했다. OS : Windows 10 IDE : Visual Studio 2015 HTML을 표시하기 가장...
더 읽기

C++ 오픈소스 서버 라이브러리

sniper00/moon 저장소: https://github.com/sniper00/moon A cross-platform,lightweight,scalable game server framework written in C++, and support Lua Script Boost.Asio와 Lua를 기반으로 만든 게임 서버 프레임워크 libuv_cpp11 저장소: https://github.com/wlgq2/libuv_cpp11 libuv를 Modern C++로 랩핑한 라이브러리 uvw 저장소: https://github.com/skypjack/uvw libuv를 Modern C++로 랩핑한 라이브러리 TODO VC...
더 읽기

C++ - Boehm 알고리즘 GC라이브러리 사용하기

출처 C++에서 GC(가베지컬렉션)를 사용할 수 있게 해주는 라이브러리 이다. 1. 소스 코드 다운로드 다운로드 페이지에서 다운로드. 특별한 이유가 없으면 ‘recent stable release” 버전을 다운로드. 압축을 푼다. 2. 솔루션 파일 만들기 솔루션을 만들기 위해 CMake를 사용한다. 설치한 후 명령 프롬프트를 열고...
더 읽기

C++11 - std::atomic::compare_exchange_strong

출처 bool compare_exchange_strong(T& expected, T desired, memory_order success, memory_order failure ) volatile noexcept; // (1) bool compare_exchange_strong(T& expected, T desired, memory_order success, memory_order failure ) noexcept; // (2) bool compare_exchange_strong(T& expected, T desired, memory_order order = memory_order_seq_cst ) volatile noexcept;...
더 읽기