일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Only void methods can doNothing()
- ssl프로토콜
- parse
- ssl이란?
- JUnit
- java 1.8 11
- log error
- 스프링부트테스트
- java 11
- Medium
- error
- springboot
- java 버전 변경
- springboottest
- springboottest spybean
- mockito에러
- AWS CLI
- easy
- java
- java 여러개 버전
- ssl프로토콜확인
- tls프로토콜확인
- aws
- No tests found for given includes
- OpenFeign
- mockito테스트
- Java 1.8
- LeetCode
- yum install java
- java version
- Today
- Total
목록분류 전체보기 (112)
쩨이엠 개발 블로그
Swagger에 Description을 달던 중 ResquestBody안에 LocalDateTime이 있는 경우 @Schema의 example대로 나오지 않는 오류가 발생했다 해결방법 1. JsonFormat 어노테이션 추가 @Schema(name = "CorrelationDto.ChartReq", description = "데이터 리스트") @Data class ChartReq { ... @Schema(description = "기간 시작일", example = "2021-11-30T00:00:00") @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss") private LocalDateTime shotRangeStart; @Schema(description = "기간 종료..
리눅스 명령어 중 grep을 사용했을 때 제대로 나오지 않고 위의 "Binary file {파일이름} matches" 이 뜰 때 $ grep 'api/v1/event' logs/application.log Binary file logs/application.log matches $ grep --binary-files=text 'api/v1/event' logs/application.log 2022-04-05_17:41:40.413 INFO [reactor-http-epoll-3] [com.test.ReactiveLoggingFilter:131] ::: [e75e01cb-1078737] Request: method=POST, path=/api/v1/event 2022-04-05_17:43:08.961 IN..
자동 파티셔닝을 안해놔서 파티션 추가해야할 일이 생겼다 일단 조회를 해본다 파티션 조회 select * from information_schema.partitions where table_name=TABLE_NAME; 그러면 파티션을 조회하였으니 파티션을 추가해보기로 한다 파티션 추가 ALTER TABLE `테이블` PARTITION BY RANGE(함수(`필드명`)) ( PARTITION `파티션명` VALUES LESS THAN (값), PARTITION `파티션명` VALUES LESS THAN (값) ) 여기에서 에러가 난다면 처음 파티션을 생성할 때 만든 p_future ( 혹은 p_max 등등) 때문인데 이 것이 MAXVALUE보다 아래인것으로 나머지를 포괄하고 있기 때문이다 #파티션 생성과정..
레파지토리를 소스만 복사해서 옮기는건 쉽지만 커밋을 보고싶다 한 방에 init 하기 싫다 하면 쓸 수 있는 옵션이 있었다 그래서 옮겨보기로 한다 1. 옮길 레파지토리 준비 $ sudo git clone --mirror {Repository.git} Repository.git에는 git clone 주소를 넣어준다 2. git 이름 바꿔주기 git clone을 하고 나면 xxx.git 이라는 디렉토리가 나타나는데 이름을 .git으로 바꿔준다 $ mv Repository.git .git 3. 새 레파지토리 연결 새 레파지토리의 git 주소를 연결한다 $ git remote set-url origin {NewRepository.git} 4. push 해주면 끝! $ git push --mirror
Given n non-negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of the line i is at (i, ai) and (i, 0). Find two lines, which, together with the x-axis forms a container, such that the container contains the most water. Notice that you may not slant the container. Example 1: Input: height = [1,8,6,2,5,4,8..
homebrew로 eksctl을 설치하려는데 오류가 생겼다 Error: Permission denied @ apply2files - /usr/local/lib/node_modules/nodemon/node_modules/term-size/vendor/.DS_Store Permission denied가 된다면 내가 할 수 있는것은 sudo로 강제로 권한을 주는것뿐! $ sudo brew install weaveworks/tap/eksctl Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be givin..
Implement the myAtoi(string s) function, which converts a string to a 32-bit signed integer (similar to C/C++'s atoi function). The algorithm for myAtoi(string s) is as follows: Read in and ignore any leading whitespace. Check if the next character (if not already at the end of the string) is '-' or '+'. Read this character in if it is either. This determines if the final result is negative or p..
Given an integer x, return true if x is palindrome integer. An integer is a palindrome when it reads the same backward as forward. For example, 121 is palindrome while 123 is not. Example 1: Input: x = 121 Output: true Example 2: Input: x = -121 Output: false Explanation: From left to right, it reads -121. From right to left, it becomes 121-. Therefore it is not a palindrome. Example 3: Input: x..
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line by line: "PAHNAPLSIIGYIR" Write the code that will take a string and make this conversion given a number of rows: string convert(string s, int numRows); Example 1: Input: s = "PA..
You are given two linked lists: list1 and list2 of sizes n and m respectively. Remove list1's nodes from the ath node to the bth node, and put list2 in their place. The blue edges and nodes in the following figure incidate the result: Build the result list and return its head. Example 1: Input: list1 = [0,1,2,3,4,5], a = 3, b = 4, list2 = [1000000,1000001,1000002] Output: [0,1,2,1000000,1000001,..