본문 바로가기
반응형

전체 글79

[github] 깃허브 Issue Templates, Pull Request (PR) Templates 이용하기 깃허브 ISSUE TEMPLATE 만들기 1. repository 에서 Settings 들어가기 repository 에서 settings > General > Features > Set up templates 에서 Features 부분에 Issues를 보면 Set up templates 버튼이 있다. 2. Add templates 에서 원하는 템플릿을 선택하기 나는 아래와 같이 구성했다. Feature 의 Template Content는 아래와 같이 채웠다. ## ✏️ Summary ## 📝 ToDo - [ ] Todo1 - [ ] Todo2 - [ ] Todo3 ## 📚 Other information Bug 의 Template Content는 아래와 같이 채웠다. ## ✏️ Describe the b.. 2023. 12. 19.
[라즈베리파이] 라즈베리파이 연결 및 초기세팅하기 [라즈베리파이] Image 사용해서 라즈베리파이 OS 다운받아 사용하기 1. Raspberry Pi Imager 다운로드 https://www.raspberrypi.org/downloads/ 위 홈페이지에 들어가서, 아래의 'Download for macOS' 버튼을 누른다. 이 파일을 다운 받은 후에 설치해준다. 2. Raspberry Pi OS 설치 SD카드 리더기에 SD카드를 꼽고, 노트북 USB 부분에 꼽아준다. (1) Raspberry PI Imager를 설치한 후에, 설치할 OS를 선택해준다. (2) USB가 잘 연결되었다면, Storage를 클릭했을 때 해당 USB가 보일 것이다. 그렇다면 그것을 Storage로 지정해준다. (3) 'WRITE' 버튼을 클릭하여 SD카드에 라즈베리파이 이.. 2023. 11. 17.
[SPRINGBOOT] spring.mvc.pathmatch.matching-strategy [SPRINGBOOT 오류] 스프링부트 스웨거 오류org.springframework.context.ApplicationContextException: Failed to start be [오류] org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 원인 - 이 오류 메시지는 스프링 애플리케이션 시작 중에 docume sum-mit45.tistory.com 위의 이 오류를 해결하면서, spring.mvc.pathmatch.matching-strategy가 무엇인지에 대.. 2023. 11. 15.
[SPRINGBOOT 오류] 스프링부트 스웨거 오류org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 해결 방법 [오류] org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 원인 - 이 오류 메시지는 스프링 애플리케이션 시작 중에 documentationPluginsBootstrapper 을 시작할 때 NullPointerException이 발생했다는 것이다. - Spring Boot 2.6 버전이후에는 spring.mvc.pathmatch.matching-strategy 값이 ant_path_matcher에서 path_pattern_parser로 변경되면서 몇몇 라이브러리에.. 2023. 11. 14.
[SPRINGBOOT, SWAGGER] SpringBoot 2.7* 버전에 Swagger 3.* 버전 연결하기 [SPRINGBOOT] SpringBoot 2.7* 버전에 Swagger 3.* 버전 연결하기 - 사용한 SpringBoot 버전은 '2.7.18-SNAPSHOT' 1. build.gradle implementation 'io.springfox:springfox-boot-starter:3.0.0' - 스웨거 버전을 설정하여 설치해준다. - 2.X 버전과는 다르게, 하나의 종속성만 추가해 주어도 된다. 2. Swagger Config 파일 추가 @Configuration public class SwaggerConfig { private final String TITLE = "title"; private final String DESCRIPTION = "description"; private final St.. 2023. 11. 13.
[cpp 알고리즘] 백준 1744 수 묶기 [백준] 1744 수 묶기 풀이 그리디 알고리즘, 정렬, 많은 조건 분기 문제 출처: https://www.acmicpc.net/problem/1744 문제 요약 - 길이가 N인 수열이 주어졌을 때, 두 수를 곱하거나 그대로 둘 수 있다. 이 수들을 모두 더한 값들 중 최댓값을 구하면 된다. 풀이 정리 1. 일단 오름차순으로 정렬한다. 2. 숫자 1을 기준으로 3가지 경우로 나뉘어진다. (1) 1보다 작은, 0이거나 음수인 경우 -> 앞쪽(작은 수)부터 두 수를 곱해서 최종 결과 값에 더하면 된다. (2) 1인 경우 -> 곱하는 데 사용하지 않고, 더하면 된다. (3) 1보다 큰 양수인 경우 -> 뒤쪽(큰 수)부터 두 수를 곱해서 최종 결과 값에 더하면 된다. 3. (1)의 경우 혹은 (3)의 경우가 홀.. 2023. 11. 11.
반응형