본문 바로가기

분류 전체보기339

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.
자체 메일서버에서 보내는 메일이 스팸으로 갈 때.. https://mxtoolbox.com/domain/ 일단 위 사이트에서 확인해보면 웬만한건 해결방법을 알 수 있다. 나는 몇군데 blacklist가 걸려서 그랬었는데... https://rabbitchris.tistory.com/819 참고하여 해결하였다. 정리하면... SPF, DKIM 설정해야 하고 rDNS (PTR레코드)또한 필수이다. SPF : https://support.google.com/a/answer/33786 DKIM : https://support.google.com/a/answer/174124 PTR레코드 관련.. Kakao https://mail-notice.kakao.com/mboard/notice/7 Daum http://hanmail-notice.daum.net/notice/.. 2019. 8. 29.
반응형