엄청 길다. 그대로 사용하는게 맘 편함. function isValidEmailAddress(emailAddress) { var pattern = new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\u..
jquery 구버전(1.9 하위)에서는 아래와 같이 잘 사용중이였다. function jsCheckAll() { if ($("#check_all").attr("checked") == true) { $("input[name=ccc]").attr("checked", true); } else { $("input[name=ccc]").attr("checked", false); } } 하지만 뜬금없이 에러 발생 1.9.1에서는 다음과 같이 하자attr->prop로 변경 function jsCheckAll() { if ($("#check_all").prop("checked") == true) { $("input[name=prod_cd_seq]").prop("checked", true); } else { $("inp..
#!/bin/bash INSTANCE='cmsSvr11' echo 'Tomcat Stop' sh ~/was/tomcat/bin/stop$INSTANCE.sh while [ : ]; do sleep 1 CNT=`ps -ef | grep tomcat | grep java | grep -v grep | grep D$INSTANCE | wc -l` echo 'Tomcat process count -> '$CNT if [ $CNT -lt 1 ] then echo "Tomcat starting... >> catalina tail start"; sh ~/tomcat/bin/startup.sh cdate=$(date +'%Y-%m-%d') tail -f ~/tomcat/logs/catalina.$cdate.log ex..
테이블 길이 구하기(컬럼 사이즈 합) SELECT SUM (REALLENGTH) FROM (SELECT DATALENGTH, COLUMNNAME, REALLENGTH FROM (SELECT A.COLUMN_NAME AS COLUMNNAME, A.DATA_TYPE AS DATATYPE, A.DATA_LENGTH AS DATALENGTH, B.COMMENTS AS COMMENTS, A.NULLABLE AS NULLABLE, CASE WHEN DATA_TYPE = 'NUMBER' THEN DATA_PRECISION ELSE DATA_LENGTH END AS REALLENGTH FROM DBA_TAB_COLUMNS A, ALL_COL_COMMENTS B WHERE A.OWNER = B.OWNER AND A.TA..
크론탭에 등록 후 사용할 것을 추천서버가 살아있는지 죽어있는지 단순 텔넷을 이용해 로그를 남긴다. #!/usr/bin/ksh tpipe() { sleep 2;echo 'exit' sleep 2 } aliveCheck() { LOG_YEAR=`/bin/date +%Y` LOG_MONTH=`/bin/date +%m` LOG_DATE=`/bin/date +%Y%m%d` LOG_TIME=`/bin/date +%H:%M:%S` TARGET_SERVER='127.0.0.1 80' aliveDir=/home/test/log/$LOG_YEAR/$LOG_MONTH/ aliveFileName=alive.$LOG_YEAR$LOG_MONTH$LOG_DATE alivePath=$aliveDir$aliveFileName if [..
du -Sh 끝
-- Ver. 1 -- SELECT MIN(DECODE(TO_CHAR(ym+LEVEL-1,'D'),'1',LEVEL)) SUN, MIN(DECODE(TO_CHAR(ym+LEVEL-1,'D'),'2',LEVEL)) MON, MIN(DECODE(TO_CHAR(ym+LEVEL-1,'D'),'3',LEVEL)) TUE, MIN(DECODE(TO_CHAR(ym+LEVEL-1,'D'),'4',LEVEL)) WED, MIN(DECODE(TO_CHAR(ym+LEVEL-1,'D'),'5',LEVEL)) THU, MIN(DECODE(TO_CHAR(ym+LEVEL-1,'D'),'6',LEVEL)) FRI, MIN(DECODE(TO_CHAR(ym+LEVEL-1,'D'),'7',LEVEL)) SAT FROM (SELECT TO..
- Total
- Today
- Yesterday
- Database
- boot
- jQuery
- grant
- oracle
- Tomcat
- resttemplate
- mybatis
- docker
- Build
- IntelliJ
- Kotlin
- maven
- 합정
- Linux
- Access
- vi
- 맛집
- vrapper
- 코틀린
- java
- vim
- Profile
- properties
- ls
- Eclipse
- Spring
- 톰캣
- Shell
- 도커
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |