본문 바로가기

분류 전체보기222

군포 카페 속달로 방문 후기 군포 카페 속달로 방문 후기 고추장 불고기집인 "수리산 두꺼비집"에서 나와서 커피를 한잔 해야되겠다고 생각했다. 나오자마자 왼쪽에 무슨 카페가 있는데, 한옥으로 되어있는 카페라 눈길을 확 끌었다. 카페의 오픈, 마감시간은 아래와 같다. - 오픈 : 10 시 - 마감 : 오후 8시 내부에 들어서면 빵도 전시 되어있고, 바닥은 작은 돌로 되어있다. 인테리어에 꽤나 신경쓴것으로 생각된다. 아이스 아메리카노와 생레몬 ade를 시켰다. 아메리카노 : 5000원, 생레몬 ade : 6500 원 음료 이외에도 이렇게 타르트와 스콘이 있다. 밥을 먹고 바로 들어왔던지라 배가 고프지 않아 먹어보지 않았음.!! 내부 공간들이 상당히 깔끔하다는 생각이 들었다. 내부에 엄청나게 큰 샹그릴라 조명같은게 있는데, 옆에서 찰칵!!.. 2022. 7. 28.
군포 수리산두꺼비집 후기 군포 수리산두꺼비집 후기 직접 가보면 간판은 이렇게 생겼다 영업시간도 참고!! 식사류 매뉴는 아래와 같다. 메인 매뉴는 고추장 숯불구이 밥상이다. 사진찍어 놓은거 말고도, 우측 매뉴를 자세히 보면 콩탕, 얼큰순두부, 해물파전, 콩국수,청국장도 판다. 매뉴는 이렇다. 고추장 숯불구이밥상이랑 보리굴비 밥상인데, 거의 대부분의 손님들이 고추장 숯불구이 밥상을 드시는듯 했다. 우리도 고추장 숯불구이 밥상 2개를 시켰다. (가격 : 3만원) 고추장 숯불구이 밥상은 1개당 15,000원으로 2인이상 시킬수 있다고 한다. 굴비는 23,000원 인데 1인도 시킬수 있다고 한다. 파채와 함께 이렇게 나온다. 반찬들은 중간에 셀프바가 있어서 모두 리필이 가능하다. 고기 맛은 달달한 맛이 강하고, 숯불향이 배어있어 맛있었다.. 2022. 7. 27.
자바스크립트 초간단 엔터값 처리하기 자바스크립트 초간단 엔터값 처리하기 준비물 onkeydown 이벤트 event.keycode == 13 엔터값 방법 키보드 마지막에 있을것이라고 생각되는곳에 onkeydown 이벤트를 넣어준다. 보통 일반적으로 password 입력 하는곳에 넣어준다. 끝! 2022. 7. 26.
nginx client ip 얻기 ( X-Forwarded-For ) nginx client ip 얻기 ( X-Forwarded-For ) 클라이언트 -> nginx (proxy_pass) -> spring boot 서버 Spring boot 서버 에서는 java 코드로 아래와 같이 클라이언트 아이피를 구했다. private String getClientAddr(HttpServletRequest request) { String clientAddr = request.getHeader("X-Forwarded-for"); if (clientAddr != null && clientAddr.length() > 0 ){ return clientAddr; } return request.getRemoteAddr(); } 위와 같은 호출 순서에서 applicaton서버에서 아이피를 체크하.. 2022. 7. 25.
sonarQube - Public constants and fields initialized at declaration should be "static final" rather than merely "final" sonarQube - Public constants and fields initialized at declaration should be "static final" rather than merely "final" Making a public constant just final as opposed to static final leads to duplicating its value for every instance of the class, uselessly increasing the amount of memory required to execute the application. Further, when a non-public, final field isn’t also static, it implies tha.. 2022. 7. 22.
sonarQube - Field names should comply with a naming convention. code smell - Field names should comply with a naming convention. Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that field names match a provided regular expression. Noncompliant Code Example With the default regular expression ^[a-z][a-zA-Z0-9]*$: sonarQube 정적분석에 code smell가 떠서 수정중에 있다. 문제 class MyClass { priva.. 2022. 7. 22.