본문 바로가기

전체 글279

HttpListener를 이용한 Simple한 Web서버 구현 예제 출처 : https://gist.github.com/define-private-public/d05bc52dd0bed1c4699d49e2737e80e7 A Simple HTTP server in C# A Simple HTTP server in C#. GitHub Gist: instantly share code, notes, and snippets. gist.github.com public class HttpListenerWebServer { private HttpListener listner; private string url = string.Empty; private int requestCount = 0; private FormTray myTrayForm = null; public HttpListener.. 2022. 8. 18.
[C#] HttpWebRequest/HttpWebResponse Memory leak 현상 발생 관련 사항 출처 : c# - WebRequest/WebResponse Memory leak - Stack Overflow WebRequest/WebResponse Memory leak I have an .Net Framework #4.0 application that makes a large number of web requests using the WebRequest/WebResponse classes , as i see it has memory leak (or maybe i am doing something wrong) I W... stackoverflow.com .NET Framework의 HttpWebReqeust , HttpWebResponse Memory가 누수된다는 현상이 보고되고 있습니다. 4.5 이.. 2022. 8. 12.
Ubuntu ntp 를 이용한 시간 동기화 Ubuntu ntp 를 이용한 시간 동기화 테스트를 진행 하여 보았습니다. # ufw status 가 inactive ( 비활성화 ) 상태여도 , ufw 서비스가 활성화 시에 동기화가 안되는 현상이 있습니다. # ntp 서비스를 추가 해주도록 합니다. $ sudo ufw allow ntp $ sudo systemctl restart ufw # ntp 설정 config를 변경 합니다. $ sudo vi /etc/ntp.conf *** pool 이나 server 로 된 부분 모두 주석처리 합니다. # 으로 오로지 server 203.248.240.140 iburst 만 명시합니다. [iburst 는 간격 설정 없이 즉시 동기 옵션 이라고 합니다. ] 203.248.240.140 은 time.bora.net .. 2022. 8. 11.
[JQuery File Upload] API를 이용한 파일 업로드 테스트 출처 : GitHub - blueimp/jQuery-File-Upload: File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads. GitHub - blue.. 2022. 7. 31.
[HTML5 FILE API] 첨부 파일 URL 경로 획득 하기 출처 : How to get full path of selected file on change of using javascript, jquery-ajax? - Stack Overflow 2022. 7. 28.
[JSTL] UserAgent 확인하여 JavaScript 분기 처리 진행 출처 : IE로 접속 시 알림창(alert) 띄우기 (tistory.com) IE로 접속 시 알림창(alert) 띄우기 IE에 대해 좋은 감정을 가진 개발자가 몇이나 될까? 나도 조금이나마 직접 경험을 해보니 왜 IE 사라져라 IE를 골칫덩이로 생각하는지 알게되었다. 다행히 나는 IE가 사라지고 있는 시대에 살고 있 onlydev.tistory.com 출처 : [JSTL] fn:contains 포함되는 문자열 찾기 (tistory.com) [JSTL] fn:contains 포함되는 문자열 찾기 fn:contains를 사용하여 포함되는 단어를 찾을 수 있다 boolean contains(java.lang.String, java.lang.String) fn:contains - 포함되는 문자열이 있으면 tru.. 2022. 7. 5.
TextArea 입력 줄 수 Count 및 , 한 줄당 입력 byte 체크 테스트 진행 출처1 : textarea 글자수 제한 / 바이트(Byte) 제한 (tistory.com) textarea 글자수 제한 / 바이트(Byte) 제한 textarea 글자수 제한 / 바이트(Byte) 제한 클라이언트로부터 입력받고자 하는 텍스트가 긴 문자열의 경우, textarea태그를 설정하여 받게됩니다. 이 때, 입력받을 수 있는 최대 바이트수를 정해두고 hellcoding.tistory.com 출처 2: Edit fiddle - JSFiddle - Code Playground Edit fiddle - JSFiddle - Code Playground jsfiddle.net TextArea 입력 줄 수 Count 및 , 한 줄당 입력 byte 체크 해보기 위하여 테스트를 진행 해보았습니다... /39줄 /.. 2022. 6. 23.
[webview2] window.print 호출 시에 사용자의 Default Printer 선택 하게 옵션 설정 출처 : Set the system default printer as the default printer (admx.help) Set the system default printer as the default printer Set the system default printer as the default printer Tells Microsoft Edge to use the system default printer as the default choice in Print Preview instead of the most recently used printer. If you disable this policy or don't configure it, Print Preview u admx.help HKEY_C.. 2022. 6. 13.
WebView2 Fixed 버젼 이용 시에 참조 부분 // msedgewebview2.exe 가 포함 되어 있는 디렉터리를 이용하여 참조 시에 // 아래와 같이 지정 하여 사용 하였습니다. this.webView2.CreationProperties = new Microsoft.Web.WebView2.WinForms.CoreWebView2CreationProperties { BrowserExecutableFolder = string.Format(@"{0}\webView2", Path.GetDirectoryName(Assembly.GetEntryAssembly().Location)), // Webview2 관련 Fixed 구성 요소 디렉터리 위치 Language="en-US" }; await webView2.EnsureCoreWebView2Async(); 2022. 5. 29.