html에서 thyemeleaf로 number.formatInteger로 만들면 .0이 제거된다고 하는데 에러가 계속 나서 javascript replace로 .0을 제거하였습니다. 아래처럼 정규식을 이용해도 되고 .replace(/\.0/g, '') .replace('.0', '') 요렇게 해도 됩니다. double형 숫자에서 .0제거하는 간단한 방법 결과물 (https://www.jackpotlotto.org)
보호되어 있는 글입니다.
List covList = new ArrayList(); // 리스트 Map LowerKeyMap = new HashMap(); //소문자 맵 //리스트 포문 돌려서 키만 소문자로 변환해서 새로운 리스트에 넣어주기 for (Map map : List) { for (Map.Entry entry : map.entrySet()) { LowerKeyMap.put(entry.getKey().toLowerCase(), entry.getValue()); } covList.add(LowerKeyMap); }
mysqldump 에러 Unknown table 'COLUMN_STATISTICS' in information_schema (1109) mysql workbench 툴에서 data export 할때 Unknown table 'COLUMN_STATISTICS' in information_schema 에러가 난다면 한 번 확인해보세요. 오류 해결 사이트를 보면 툴 다른 버전을 받아서 column-statistics 항목을 수정하라고 합니다. 얼마전까지 8.0.12 버전은 나왔던거 같은데 현재는 그 항목을 제외했는 지 안나오네요. 8.0.12 버전부터 최신 버전까지 몇 개 받아봤지만 column-statistics 항목이 나오지 않는다. default 값이 1이여서 에러가 나는 부분인데 0으로 수정해야 한다...
[java] https(443) 로컬 접속 tomcat 로컬 443 인증서 추가 keytool -genkey -alias tomcat -keyalg RSA CMD(윈도우키 + R) 오픈하고 아래 명령어 입력 C:\Users\user>keytool -genkey -alias tomcat -keyalg RSA Enter keystore password: What is your first and last name? [Unknown]: shm What is the name of your organizational unit? [Unknown]: zest0804 What is the name of your organization? [Unknown]: zest0804 What is the name of your Ci..