본문 바로가기

Programming311

[C#] WebBrowser Control 로 인쇄 시에 Footer ,Header 제거 테스트 출처 : Need advice on removing header/footer during HTML printing | Visual Studio.Net Help Community (dotnet.community) Need advice on removing header/footer during HTML printing I have the IE web control in my app - and Im using the EXECWB command to print the current page. However, Im trying to remove the header / footer that is automatically placed on the page. The only real way Ive found to do.. 2022. 4. 13.
[CentOS 7.8] iptables 명령어를 이용한 DNAT 테스트 진행 [CentOS 7.8] iptables 명령어를 이용한 DNAT 테스트 진행 출처1 : 노력이 나를 만든다. :: [Centos] Routing 서버(NAT 서버) 만들기 (경유지 서버 만들기) (tistory.com) [Centos] Routing 서버(NAT 서버) 만들기 (경유지 서버 만들기) 1. 조사 목적 - 망분리가 되어 있고 - 특정 서버를 통해서만 내부로 들어올 수 있음 2. 아이디어 - 특정서버에서 IP 포워딩을 통해 내부로 들어오게 한다. 3. 생성 방법 1) /etc/sysctl.conf를 편집하여 net effortmakesme.tistory.com 출처2 : IPTABLES 옵션 정리 - Honey Blog (blessu1201.github.io) IPTABLES 옵션 정리 - H.. 2022. 4. 7.
[JavaScript] async , await 키워드를 이용한 비동기 , 동기 메서드 호출 예제 image를 동기화 , 비동기화로 로드하는 것을 테스트 해보았습니다. async function drawImage() { let imgobj = document.createElement("img"); // promise 선언 let imgPromise = new Promise( (resolve , reject) => { resolve(); }); // resolve가 호출 될때 에는 , then() 메서드가 실행 // , reject 일시에는 catch() imgPromise.then(() => { imgobj.onload = () => { let cur_img_width = this.naturalWidth; let cur_img_height = this.naturalHeight; }; }); conso.. 2022. 3. 29.
[Ubuntu 18.04] Docker 및 potainer 설치 테스트 진행 [Ubuntu 18.04] Docker 및 potainer 설치 테스트 진행 출처 : Ubuntu 20.04 Docker 설치하기. - 달소씨의 하루 (dalso.org) Ubuntu 20.04 Docker 설치하기. - 달소씨의 하루 이번에는 Ubuntu 20.04 LTS Server 버전에서 Docker 설치를 한번 진행해보겠습니다. 설치방법은 매번 하던대로라서.. 크게 달라지지않지만 기록용으로 남겨봅니다. 설치하기전에 기본적으로 apt update & ap blog.dalso.org (1) 패키지 업데이트 $ sudo apt update & sudo apt upgrade (2) Docker 필수 패키지 설치 $ sudo apt-get install apt-transport-https ca-certi.. 2022. 3. 15.