목록분류 전체보기 (34)
끄적끄적
추가 플러그인 view-in-browser vetur HTML Snippets JS-CSS-HTML Formatters Vue 3 Snippets Vue-beautify ESLint
^((?!something).)*$ something을 포함하지 않는 문자열을 선택 (AAAsomethingBBB 에서 AAABBB를 선택한다는 의미가 아님) (추가 중)

- https 작동원리 대칭키와 공개키(비대칭키)를 적절히 써서, 성능적 이점을 취했음 (대칭키는 빠르지만 보안취약, 비대칭키는 느리지만 보안강력) 브라우저는 CA를 이미 알고있음, 참고 : https://opentutorials.org/course/228/4894 https://tiptopsecurity.com/how-does-https-work-rsa-encryption-explained/ https://www.keycdn.com/blog/https-performance-overhead
##jpa mapping name strategy spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl 전략을 명시적으로 설정하여, db가 바뀌더라도 문제가 생기지 않도록 함 참고 : https://www.baeldung.com/hibernate-field-naming-spring-boot
- 설정 (ehcache에 대한 설정이 준비되어있어야 한다. 즉, ehcache.xml 필요) pom.xml org.hibernate hibernate-ehcache 5.2.2.Final 사용중인 하이버네이트 버전과 동일한 버전을 디펜던시에 추가를 해야한다.(이 경우에는 5.2.2.Final) properties ###JPA 2차 캐시 관련 옵션##### spring.jpa.properties.hibernate.cache.use_second_level_cache=true spring.jpa.properties.hibernate.cache.use_query_cache=true spring.jpa.properties.hibernate.cache.region.factory_class=org.hibernate...
Interface Function Descriptor Abstract method Predicate (T) -> boolean boolean test(T t); Consumer (T) -> void void accept(T t); Function (T) -> R R apply(T t); Supplier () -> T T get(); UnaryOperator (T) -> T T apply(T t); 참고 : https://tourspace.tistory.com/6?category=788398

EC2 instance 역할(AmazonEC2RoleforAWSCodeDeploy)을 만들고 인스턴스에 연결한다. 인스턴스에 접속하여 CodeDeploy 에이전트 설치 aws s3 cp s3://aws-codedeploy-ap-northeast-2/latest/install .--region ap-northeast-2 chmod +x ./install sudo ./install auto sudo service codedeploy-agent status #정상적으로 실행되고 있는지 확인 #만약 설치중 /usr/bin/env:ruby:No such file or directory 에러 발생 sudo yum install ruby S3 bucket을 생성(안전한 사용을 위해 퍼블릭 엑세스를 차단) CodeDe..
@Override public long searchBoardCnt(BoardDTO.Search dto){ BooleanBuilder builder = new BooleanBuilder(); String keyword = dto.getKeyword(); if (dto.isTitle()) { builder.or(boardDetail.title.contains(keyword)); } if (dto.isContent()) { builder.or(boardDetail.content.contains(keyword)); } if (dto.isNickname()) { builder.or(boardDetail.account.nickname.contains(keyword)); } return queryFactory.sel..