aws ec2 에서 docker 를 사용해 스프링 프로젝트를 올려놨었다. 그런데 어느날 git pull 로 깃헙에서 프로젝트를 땡겨왔는데 디스크가 꽉차서 불가능하다는 에러가 떴다. ec2 인스턴스에는 스프링 프로젝트 하나만 있었기 때문에 디스크가 꽉 찰일이 없었다. 그런데 실제로 디스크 사용량이 100퍼센트로 떴다. 원인 추적해보니 docker 디렉토리가 많은 용량을 차지하고 있었고, 원인은 다음과 같았다. https://stackoverflow.com/questions/63190170/docker-folder-takes-too-much-space docker folder takes too much space I have an aws ec2 instance running docker. The proble..
https://developers.portone.io/docs/ko/readme/get-started?v=v1 GET STARTED developers.portone.io 프로젝트에 포트원 결제 시스템을 구현해 놓았었다. 아래 포트원의 공식 레퍼런스에 결제정보 사후 검증하기 항목이 있다. https://developers.portone.io/docs/ko/auth/guide/5/post?v=v1 결제정보 사후 검증하기 결제정보 사후 검증하기 결제 정보를 사후 검증하는 과정은 크게 세 단계로 이루어집니다. 응답받은 내용을 바탕으로 실 결제 금액과 결제요청금액(가맹점 자체 데이터베이스)을 비교 결제 상 developers.portone.io 클라이언트는 얼마든지 위변조가 가능하기 때문에 실제로 클라이언트에서..
서버에서 클라이언트에 전달할 정보들을 DTO 에 담아서 보내는 경우가 많다. 그런데 만약 DTO 의 리스트를 전달하고 싶다면 어떻게 할까? DTO를 리스트에 담아서 모델에 담을수는 있다. 그런데 이렇게 될 경우 thymeleaf 로 꺼내서 쓰기가 불가능한것 같다. 하지만 우회하는 방법이 있다. 아래 DTO 는 하나의 옷의 정보를 담고있다. 한 페이지에 여러개의 옷의 정보들을 디스플레이 하고 싶기 때문에 여러개의 ClothingDto 를 보내야 한다. ClothingDto.java @Data public class ClothingDto { // 상품 ID private UUID productId; // 상품명 private String name; // 금액 private int price; // 썸네일 앞..

https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/web/authentication/AuthenticationSuccessHandler.html AuthenticationSuccessHandler (spring-security-docs 6.2.1 API) Strategy used to handle a successful user authentication. Implementations can do whatever they want but typical behaviour would be to control the navigation to the subsequent destination (using..
- Total
- Today
- Yesterday
- 이분탐색
- graph
- two pointer
- Brute Force
- Dijkstra
- Unity
- DP
- dfs
- binary search
- Tree
- BFS
- C++
- Python
- 자료구조
- CSS
- C
- Stack
- Spring
- 재귀
- floyd warshall
- Kruskal
- recursion
- greedy
- Implementation
- db
- MVC
- permutation
- back tracking
- 조합
- priority queue
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |