JarScan j = new JarScan("C:/tmp"); j.search("umaUtils"); } ------------------------------ import java.io.File; import java.util.Enumeration; import java.util.jar.JarEntry; import java.util.jar.JarFile; public class JarScan { private String path = ""; private String ptn = ""; private int cnt = 0; public JarScan(String path) { this.path = path; } public void search(String findString) { this.ptn = ..
"Completely Automated Public Turing test to tell Computers and Humans Apart" Code1 근데 말이지… 좀더 줄이고 다양하게 할 수 있을꺼 같은데… -------------------------------------------------------------------------------- public static String getCode(int len) { byte[] wd = new byte[]{0x41,0x61,0x30,0x30}; int[] lwd = new int[]{26,26,10,10}; Random r = new Random(); String str = ""; for(int i = len; i-- > 0;) str += (cha..
package com.umaking; import java.security.Key; import java.security.NoSuchAlgorithmException; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; /** * 3DES 암호화로 암호화 복호화를 한다. * @author ChangYeol.Kim * */ public class CryptoUtil { private static Key key = null; static { if(key == null) { // Key 초기화 KeyGenerator keyGenerator; try { keyGenerator = KeyGenerator.getInstance("TripleDES"); ke..
1. setDomainEnv.cmd 파일 상단에 추가 set JAVA_OPTIONS=%JAVA_OPTIONS% -agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf CGProf : Execution time analysis HeapProf : Memory analysis ThreadProf : Thread analysis 2. TPTP Controller Agent를 다운 받아 임의의 디렉토리에 풀어놓기. (예: C:\DevTools\tptp\tptpdc\win_ia32) 3. 환경 변수에 추가하기 TPTP_AC_HOME=C:\DevTools\tptp\tptpdc\win_ia32 JAVA_PROFILER_HOME=C:\DevTools\tptp\tptpdc\wi..
구성 파일은 아래와 같다. - java.com.umaking.MyTag.java - /WEB-INF/tld/mytags.tld - web.xml설정 - jsp페이지 설정 tag의 변수는 var, message로 정하였으며 tag내에 내용과 message를 같은 데이터로 취급하였다 a. tag내의 내용이 존재하면 message내용은 무시하도록 하였다. 몇 년 만에 찾아보니 참 그러하네... 오래된 기억을 다시 더듬어 보는 느낌 이랄까... ------------------------------------------------------------------------------------------ [com.umaking.MyTag.java] package com.umaking; import java.io..
package com; import java.io.IOException; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.ServletRequest; impo..
- Total
- Today
- Yesterday
- GNUStep
- Copilot
- FindWindows
- IViewObject
- TensorFlow
- CUDA
- Bada
- ollama
- javascript
- 프로젝트
- hosts
- CI
- IHTMLElement
- 한영전환
- Swift Package Manager
- Atom
- SCM
- CppWebBrowser
- Xcode
- Eclipse
- capture
- BCB
- regexp
- java
- Python
- jupyter
- TShellWindows
- VCL
- Profiler
- cudnn
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |