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 / ๋ฏผ์ฃผ๋™๋•์—_๋ด„์€์˜ค๋Š”๊ฐ€.md
Last active August 11, 2025 05:20
๋™๋•์—ฌ๋Œ€ ๋‚จ๋…€๊ณตํ•™ ์ „ํ™˜ ๋ถ„์Ÿ ์ฐธ๊ณ ์ž๋ฃŒ ์ •๋ฆฌ

ํ•™์ƒ๋™์ง€๋“ค์˜ ํ™œ๋™๊ณผ ๋ฐฐ๊ฒฝ, ํ•™๊ต์ธก์˜ ์ฃผ์žฅ ๋“ฑ์— ๋Œ€ํ•ด ๋น ๋ฅด๊ฒŒ ์ฐพ์„ ์ˆ˜ ์žˆ๊ณ , ํ›„์† ๋ณด๋„๋“ค์˜ ๋งฅ๋ฝ์„ ๊ฒ€์ƒ‰ํ•  ์ˆ˜ ์žˆ๋„๋ก ์ž‘์€ ์ž๋ฃŒ์ง‘์„ ์ž‘์„ฑํ•˜๊ณ ์ž ํ•จ.

์Ÿ์  ํŒŒ์•…

์ดํ•˜๋Š” ๊ฐœ์ธ์  ์˜๊ฒฌ์„ ๊ธฐ์ˆ ํ•ฉ๋‹ˆ๋‹ค.

  • ๋™๋•์—ฌ์ž๋Œ€ํ•™๊ต์˜ ๋ถˆํˆฌ๋ช…, ๋น„๋ฏผ์ฃผ์  ์šด์˜: ํ•™๊ต์˜ ํ•™์ƒ ํ˜‘์˜ ์—†๋Š” ์ผ๋ฐฉ์  ์ถ”์ง„ #๋ฏผ์ฃผ๋™๋•์—_๋ด„์€์˜ค๋Š”๊ฐ€ #๋ฏผ์ฃผ๋™๋•์—_๋ด„์€_์˜ค๋Š”๊ฐ€
    • ์‚ฌํ•™๋น„๋ฆฌ์— ๋Œ€ํ•œ ์˜ํ˜น, ์ด์‚ฌ์ง„์˜ ๋ถˆํˆฌ๋ช… ํ–‰๋ณด
  • ์•ˆ์ „์‚ฌ๊ณ , ์‹œ์„ค ๋ฐฉ์น˜ ๋“ฑ
@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++ ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ € ์‚ด์ง ๋ง›๋ณด๊ธฐ

Conan C++ ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ € ์‚ด์ง ๋ง›๋ณด๊ธฐ

2.0+ ๋ฒ„์ „ ๊ธฐ์ค€์ž…๋‹ˆ๋‹ค. ๋งค๋‰ด์–ผ์„ ์ž์„ธํžˆ ์ฝ์–ด์•ผํ•  ๊ฒƒ ๊ฐ™์€ ๊ธฐ๋ถ„์ด ๋“œ๋Š”(?) ์ •๋„๋กœ๋งŒ ๋‹ค๋ฃน๋‹ˆ๋‹ค.

@luncliff
luncliff / test_libdispatch.cpp
Last active August 11, 2025 06:27
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 July 30, 2025 12:48
CMake ํ• ๋•Œ ์ชผ์˜ค์˜ค๊ธˆ ๋„์›€์ด ๋˜๋Š” ๋ฌธ์„œ

CMake๋ฅผ ์™œ ์“ฐ๋Š”๊ฑฐ์ฃ ?
์ข‹์€ ํˆด์€ Visual Studio ๋ฟ์ž…๋‹ˆ๋‹ค. ๊ทธ ์ด์™ธ์—๋Š” ์ „๋ถ€ ์‚ฌ๋„(้‚ช้“)์ž…๋‹ˆ๋‹ค ์‚ฌ๋„! - ์ž‘์„ฑ์ž

์ฃผ์˜

  • ์ด ๋ฌธ์„œ๋Š” CMake๋ฅผ ์ฃผ๊ด€์ ์œผ๋กœ ์„œ์ˆ ํ•ฉ๋‹ˆ๋‹ค
  • ์ด ๋ฌธ์„œ๋ฅผ ํ†ตํ•ด CMake๋ฅผ ์‹œ์ž‘ํ•˜๊ธฐ์—” ์ ํ•ฉํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค
    https://cgold.readthedocs.io/en/latest/ 3.1 ์ฑ•ํ„ฐ๊นŒ์ง€ ๋”ฐ๋ผํ•ด๋ณธ ์ดํ›„ ๊ธฐ๋ณธ์‚ฌํ•ญ๋“ค์„ ์†์„ฑ์œผ๋กœ ์ตํžˆ๋Š” ๊ฒƒ์„ ๋•๊ธฐ์œ„ํ•œ ๋ณด์กฐ์ž๋ฃŒ๋กœ์จ ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค