본문 바로가기

전체 글343

Golang 원격 배포 및 디버깅 https://github.com/jclab-joseph/fully-go-remote GitHub - jclab-joseph/fully-go-remote: Fully go remote debug Fully go remote debug. Contribute to jclab-joseph/fully-go-remote development by creating an account on GitHub. github.com Go로 빌드 된 파일을 원격에 업로드하고 디버깅 모드로 실행하여 바로 디버깅 할 수 있게 해주는 유틸이다. Visual Studio Remote Debugger 와 유사한 기능으로써 사용 가능하다. 2023. 8. 18.
kubernetes sysctl bridge 설정 외에 추가적으로 해줄 것 net.ipv4.ip_forward = 1 net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 fs.file-max = 131072 fs.file-max 가 나는 기본이 65536 이었는데 동작 중 "Too many open files" 이 발생할 때가 있었다. 때문에 이를 높일 필요가 있었다. 2023. 5. 24.
golang form-data 버퍼링 없이 사용하기 https://github.com/jc-lab/go-form-data GitHub - jc-lab/go-form-data Contribute to jc-lab/go-form-data development by creating an account on GitHub. github.com 설치: go get github.com/jc-lab/go-form-data golang 에서 form-data 을 보내는 예제를 보면 대부분 Buffer 에 multi-part 데이터를 쓰고 전송하는 방식으로써, Memory 를 버퍼로 사용한다. 작은 데이터야 문제 없지만 수-GiB에 다르는 파일을 전송해야 한다면 사용하기 어려운 방식이다. 대체 왜 여기에 대한 명확한 해결책이 없을까... 하다가 라이브러리로 만들었다. 페이.. 2023. 4. 24.
WSL 설치 후 0xc0000225 부팅안됌 CD 등으로 부팅 후 dism /image:C:\ /Disable-Feature /FeatureName:VirtualMachinePlatform (win10 에서는 Microsoft-Hyper-V-All, HypervisorPlatform 도 제거해야 한다.) 으로 해결되었다. 문제 환경 - OS : Windows 10 21H2 (OS Build 19044.2728) - libvirtd VM 으로 설치됌 연관 있어 보이는 이슈 - https://github.com/microsoft/WSL/issues/4784 - https://github.com/microsoft/WSL/issues/8865 느낌적으로... 물리적 PC 에서는 VT-d 를 활성화하면 될 거 같다... Hypervisor 를 켜면 IOMM.. 2023. 4. 5.
짝퉁 TXS0108E 3번은 입력, 5번은 출력이다. 근데 딱 봐도... 에고... 8khz 정도인데도 저런다... 원 스펙상으로는 수 MHz 도 정상 동작 해야 한다. 2023. 3. 29.
alpine package & sign 구조 https://wiki.alpinelinux.org/wiki/Apk_spec $ binwalk acct-6.6.4-r1.apk DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 0 0x0 gzip compressed data, maximum compression, from Unix, last modified: 1970-01-01 00:00:00 (null date) 667 0x29B gzip compressed data, maximum compression, from Unix, last modified: 1970-01-01 00:00:00 (null da.. 2023. 3. 9.
반응형