전체
-
S3, CloudFront, SSL 인증서 설정dev/aws 2022. 7. 31. 00:59
Amazon S3를 사용하여 정적 웹 사이트 호스팅하기 https://docs.aws.amazon.com/ko_kr/AmazonS3/latest/userguide/WebsiteHosting.html Amazon S3를 사용하여 정적 웹 사이트 호스팅 - Amazon Simple Storage Service 이 페이지에 작업이 필요하다는 점을 알려 주셔서 감사합니다. 실망시켜 드려 죄송합니다. 잠깐 시간을 내어 설명서를 향상시킬 수 있는 방법에 대해 말씀해 주십시오. docs.aws.amazon.com CloudFront 에서 원본을 Amazon S3 버킷 사용하기 https://docs.aws.amazon.com/ko_kr/AmazonCloudFront/latest/DeveloperGuide/Downlo..
-
node c++ addon runtime error in windows(A heap has been corrupted)카테고리 없음 2022. 3. 16. 18:53
node c++ addon 으로 개발중 발생한 예외. Exception has occurred: W32/0xC0000374 Unhandled exception at 0x00007FFF9784F249 (ntdll.dll) in node.exe: 0xC0000374: A heap has been corrupted (parameters: 0x00007FFF978B77F0). https://github.com/nodejs/node-addon-api/issues/682 Heap corruption when using ifstream / stringstring (ios_base) · Issue #682 · nodejs/node-addon-api I encountered a strange problem while u..
-
node c++ addondev/C,C++ 2022. 3. 14. 10:49
node 에서 사용가능한 모듈을 c/c++ 로 개발. https://nodejs.org/dist/latest-v16.x/docs/api/n-api.html Node-API | Node.js v16.14.0 Documentation nodejs.org 관련 대부분의 문서에 윈도우 기준 windows-build-tool 을 설치하는 단계가 있는데 windows-build-tools 공식 페이지에는 deprecated 라고 표시되고 현재는 nodejs 설치 패키지에 포함되어 있다고 설명이 되어있으므로 따로 설치할 필요가 없음. 참고로 windows-build-tools 는 node-gyp, python, vs compiler 를 설치, 설정 해주는 도구임. 문제시 각각을 수동으로 설치도 가능함. 만약 win..
-
kafka trouble shootingdev/kafka 2021. 9. 16. 10:32
Zookeeper: java.io.IOException: No snapshot found, but there are log entries. Something is broken https://stackoverflow.com/questions/59694099/zookeeper-java-io-ioexception-no-snapshot-found-but-there-are-log-entries-so Zookeeper: java.io.IOException: No snapshot found, but there are log entries. Something is broken I have been working with Kafka 2.4.0 (2.11) and yesterday I had to forcefully te..
-
CMAK(kafka manager)dev/kafka 2021. 9. 2. 11:32
yahoo 의 kafka 관리 도구 https://github.com/yahoo/CMAK GitHub - yahoo/CMAK: CMAK is a tool for managing Apache Kafka clusters CMAK is a tool for managing Apache Kafka clusters. Contribute to yahoo/CMAK development by creating an account on GitHub. github.com Windows 10 에서 실행하니 아래와 같은 오류 발생. The input line is too long. The syntax of the command is incorrect. 아래 링크를 참조해서, https://github.com/yahoo/CMAK/..
-
kafka run on ec2 micro.t2dev/kafka 2021. 9. 2. 11:20
간단히 kafka 를 설치해 동작 확인만을 위하여 ec2 micro.t2 에 설치하기 위함. 기본 순서는 kafka ec2 에 설치 참고. https://seulcode.tistory.com/539 aws ec2에 카프카 세팅해보기 (공부용 kafka) kafka setup for ec2 server 회사에서 kafka를 사용해볼 일이 생겼다. 그동안 카프카에 대해 전혀 아는게 없었기 때문에 AWS의 managed kafka (MSK)로 셋업 해 보기 전에 그냥 개인 ec2 인스턴스에 카프카를 띄워. seulcode.tistory.com 중간에 export KAFKA_HEAP_OPTS="-Xmx400m -Xms400m" 로 힙사이즈 수정 부분을 별도 명령어로 입력해도 되지만, bin/kafka-serve..
-
set version using git describe + cmakedev/etc 2021. 3. 29. 20:51
v2.5-0-gdeadbee ^ ^ ^^ | | | | | | | '-- SHA of HEAD (first seven chars) | | '-- "g" is for git | '---- number of commits since last tag | '--------- last tag stackoverflow.com/a/12368262/3543411 How can I get my C code to automatically print out its Git version hash? Is there an easy way to write C code that can access its Git version hash? I wrote software in C to collect scientific data in a ..