본문 바로가기

전체 글340

SCA6000 (Sun Crypto Accelerator 6000) 사용하기 sca6000 드라이버입니다. kernel-3.10 이상에서 동작하도록 수정하였습니다. https://github.com/jc-lab/sun-sca6000-drv/ 기존 sca6000 패키지들은 Redhat 5 등의 오래된 OS에서 동작합니다. centos 5.3 기반 이미지에 OpenSSL/ca-bundle/curl 등을 새로 올린 centos-new-5.3이미지에 sca6000 및 openCryptoki, opensc(pkcs11-tool) 등을 추가한 도커파일입니다. https://github.com/jc-lab/sun-sca6000-docker/ 여기에 https://github.com/mtrojnar/osslsigncode 이나 jar signtool 설치 후 openjdk-1.8.0 & Jen.. 2019. 9. 16.
crash 커널디버깅시 vmlinuz not a supported file format 오류해결 sudo dd if=/boot/vmlinuz-3.10.0-957.27.2.el7.x86_64.debug skip=`grep -a -b -o -m 1 -e $'\x1f\x8b\x08\x00' /boot/vmlinuz-3.10.0-957.27.2.el7.x86_64.debug | cut -d: -f 1` bs=1 | zcat > /tmp/vmlinux 원인인 vmlinuz가 압축되어있기 때문이다. 위 명령을 통해 압축을 풀면 crash에서 읽을 수 있게 된다. 2019. 9. 12.
Simple Online Bson Viewer https://jc-lab.github.io/simple-bson-viewer/ Simple Online Bson Viewer jc-lab.github.io 필요해서 만들어 보았습니다. Base64로 인코딩된 bson을 입력하면 json으로 출력합니다. 2019. 9. 5.
[C++11] std::bind 로 unique_ptr 넘기기 될줄 알았죠? 안돼요...ㅠㅠ 이 글을 보면 해결책이 있을줄 알았죠? 없어요...^^ 최소한 C++ 자체 라이브러리 안에서는....ㅠㅠ 아래와 같이 따로 만들면은 됩니다! #include #include #include #include class Caller { public: virtual void run() = 0; }; template class Binder : public Caller { protected: F f_; std::size_t args_count_ = std::tuple_size::value; Tuple tuple_; public: Binder(F f, Tuple&& tuple) : f_(f), tuple_(std::move(tuple)) { std::cout 2019. 9. 4.
std::function 복사는 비싸다! 테스트코드 #include #include #include #include std::function temp_s; std::unique_ptr temp_u; void test_1() { for(int i=0; i 2019. 9. 4.
WinEverywhere: 단축키로 창 찾기 IntelliJ를 써보신분은 아마 Double-Shift로 원하는 소스나 클래스를 찾는 Everywhere기능을 애용하셨을 겁니다. Windows에서도 해당 기능이 있었으면 해서 급하게 만들어 봤습니다. (전 IntelliJ를 열몇개씩 띄어놓고 쓰는 편이라.. 이런 기능이 필요합니다..ㅋ 그리고 급하게 만들었다는건.. 완성도가 떨어진다는 뜻이니..ㅠㅠ 양해부탁드리고 혹시나 직접 기능 추가하신다면 추가 후 PR날려주세요 ^^) github 주소 : https://github.com/jc-lab/WinEverywhere github release에서 다운받으실 수 있습니다. 사용법은 그저... Double-Alt를 누르면 창이 뜨고, 원하는 창 이름을 입력한 뒤 엔터누르면 해당 창으로 이동합니다. Esc를 .. 2019. 8. 31.
반응형