웹프로그래밍
Issue1 :-L옵션으로 필요한 라이브러리의 경로를 지정해 주는것 만으로는 부족하다.-l 옵션으로 라이브러리 파일의 이름까지 지정해 주어야 한다. Issue2:pkg-config를 사용하기 전에 *.pc파일을 열어서 올바른 경로를 지정하고 있는지 확인할 필요가 있다. 이번 건의 경우 헤더 파일의 경로가 엉뚱한 곳을 가리키고 있었다. 그래서 결국 pkg-config를 사용하지 않고 -L옵션으로 올바른 경로를 지정해 주었다.만약 pkg-config경로가 올바르게되어 있었다면 Issue1도 발생하지 않았을 것이다.
iptables를 커널의 일부로 빌드하면 사용할 때 에러가 발생하고, 궂이 모듈로 빌드해야 한다. ip_tables.ko만 인서트 하면 아래 에러가 발생한다.getsockopt for multiport failed strangely: No such file or directory getsockopt for multiport failed strangely: No such file or directory그래서 iptable_filter.ko, xt_multiport.ko를 추가로 인서트 해야 한다. 1. Linux Kernel의 menuconfig에서 netfilter하위 메뉴의 iptables관련 옵션을 추가한후 커널 빌드. -> iptables명령을 실행하면 iptables관련 모듈을 insert해야 한..
위 그림과 같은 날짜선택기/date picker 플러그인을 소개합니다. 부트스트랩/Bootstrap과 jQuery를 사용한 플러그인으로, http://www.daterangepicker.com 에서 배포하는 것을 제가 한글화 및 한국식 날자표기법으로 수정하엿습니다. 그리고 사용하기 보다 편리하도록 아주 약간의 조치를 하였는데 daterangepicker.js파일의 시작하는 부분에 수정한 내용과 이유에 대하여 설명을 적어 놓았습니다. 수정하기 전에는 다음과 같이 표시되었습니다. 제가 보여드린 예 말고도, 옵션을 어덯게 주느냐에 따라 다양한 형식(시간선택가능, 시작/끝 날짜 없이 하나의 날짜만 선택 등)으로 활용할 수 있는 플러그인 입니다. 사용 방법은 cdn과 다운로드하여 본인 소스코드에 추가하는 방법 두..