Skip to content

Instantly share code, notes, and snippets.

View luncliff's full-sized avatar
🥰
I love G3(Girls' Frontline)!

PARK DongHa luncliff

🥰
I love G3(Girls' Frontline)!
View GitHub Profile
@luncliff
luncliff / load_system_certificates.cpp
Created September 17, 2024 13:20
Windows Certificates to OpenSSL X509_STORE
/// @see https://stackoverflow.com/a/40046425
#include <memory>
#include <WinSock2.h>
#include <Windows.h>
#include <cryptuiapi.h>
#include <wincrypt.h>
/**
* @see https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-certopensystemstorew
@luncliff
luncliff / conan_cpp_for_kor.md
Last active December 4, 2024 05:50
C++ Korea 2023년 10월 MeetUp: Conan C++ 패키지 매니저 살짝 맛보기
@luncliff
luncliff / test_libdispatch.cpp
Last active January 18, 2024 21:56
C++ 20 Coroutines with libdispatch (Apple platform)
/**
* @author github.com/luncliff ([email protected])
* @brief Personal experiment with libdispatch in Apple platform.
*
* @note clang++ -std=c++2a -stdlib=libc++ -fcoroutines-ts
* @see https://developer.apple.com/library/archive/documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction/Introduction.html
* @see https://apple.github.io/swift-corelibs-libdispatch/tutorial/
*/
#define CATCH_CONFIG_RUNNER
#define CATCH_CONFIG_FAST_COMPILE
@luncliff
luncliff / a_windows_dll_test.go
Last active June 2, 2019 06:53
Short practice for using Windows DLL in Go Language
package main
//
// References
// - https://medium.com/jettech/breaking-all-the-rules-using-go-to-call-windows-api-2cbfd8c79724
//
import (
"math/rand"
"os"
@luncliff
luncliff / cmake-tutorial.md
Last active December 25, 2024 17:04
CMake 할때 쪼오오금 도움이 되는 문서

CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자

주의

  • 이 문서는 CMake를 주관적으로 서술합니다
  • 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
    https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다