| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- msa
- 자바 ORM 표준 JPA 프로그래밍
- spring security
- UUID
- 출처 모던 자바스크립트 Deep Dive
- 모던 자바스크립트 Deep Dive
- ORM
- java
- 자바
- auto-offset-reset
- Kafka
- 게시판 작성자를 아이디로
- 스프링 시큐리티
- 중복되지 않는 값 만들기
- 공백검사
- 관계형 데이터베이스
- 자바스크립트
- 유효성검사
- Thymeleaf
- JPA
- springboot
- Today
- Total
목록분류 전체보기 (80)
인지용
https://www.acmicpc.net/problem/27497 import sysfrom collections import dequedef input(): return sys.stdin.readline().strip()n = int(input())dq = deque([])orders = []for i in range(n): arr = input().split() command = int(arr[0]) if command == 1: dq.append(arr[1]) orders.append(1) elif command == 2: dq.appendleft(arr[1]) orders.append(0) else: ..
https://www.acmicpc.net/problem/11899 import sysdef input(): return sys.stdin.readline().strip()text = input()stack = []for i in text: if i == '(': stack.append(i) else: if stack and stack[-1] == '(': stack.pop() else: stack.append(i)print(len(stack)) 이번 문제는 매우 쉬웠다. 입력에서 완전한 문자열을 없앤 후 남아있는 문자열의 개수를 출력해 주면 된다.
https://www.acmicpc.net/problem/4889 import sysdef input(): return sys.stdin.readline().strip()idx = 1while True: text = input() if text.startswith("-"): break arr = list(text) stack = [] for i in arr: if i == '{': stack.append(i) continue else: if stack and stack[-1] == '{': stack.pop() else: ..
https://www.acmicpc.net/problem/2841 import sysdef input(): return sys.stdin.readline().strip()arr = list(map(int, input().split()))stack = [[] for _ in range(7)]count = 0for i in range(arr[0]): temp = list(map(int, input().split())) K = temp[0] P = temp[1] if not stack[K] or stack[K][-1] 같은 플랫이어도 이동해야 한다면 손가락을 떼고 이동하는 식으로 구현하면 된다. 같은 위치라면 그대로 유지, 이동해야하는 음이 현재 플랫의 맨 마지막보다 작다면 하..
https://www.acmicpc.net/problem/1935 import sysimport operatordef input(): return sys.stdin.readline().strip()n = int(input())text = list(input())stack = []nums = []ops = { '+': operator.add, '-': operator.sub, '*': operator.mul, '/': operator.truediv}for i in range(n): nums.append(int(input()))for i in text: if i.isalpha(): index = ord(i) - ord('A') stack.appe..
와이어샤크로 에러 원인 추적을 위한 패킷 감지 연습과, Keep-alive 확인해보자 다운로드!https://www.wireshark.org/download.html 와이어샤크가 있는 폴더로 이동하자. cd C:\Program Files\Wireshark 그리고 dumpcap.exe -D 윈도우 명령어로 목록 조회 (나는 로컬 통신을 보고싶기 때문에 Loopback을 감지!) 9번째에 있네. dumpcap.exe -i 9 -w test.pcap 명령어로 덤프를 떠보자. (기록을 남긴다는 의미) 이제 자유롭게 로컬 통신을 해주면 된다. 적당히 끊고 싶을 때 끊고나서 test.pcap을 확인해보자 (control + C 단축키로 종료) 원하는 로그 우클릭 > 따라가기 > TCP 스트림을 눌러..
https://www.acmicpc.net/problem/12789 import sysdef input(): return sys.stdin.readline().strip()n = int(input())arr = list(map(int, input().split()))stack = []result = []target = 1for i in range(n): if arr[i] == target: result.append(arr[i]) target += 1 while stack and stack[-1] == target: result.append(stack.pop()) target += 1 else: st..
kafka 사용중 에러가 발생했다.io.debezium.DebeziumException: The db history topic is missing 전체 에러 메시지더보기{ "name": "mysql-coin-connector", "connector": { "state": "RUNNING", "worker_id": "127.0.0.1:8083" }, "tasks": [ { "id": 0, "state": "FAILED", "worker_id": "127.0.0.1:8083", "trace": "io.debezium.DebeziumException: The db history topic is missing. You may attempt to rec..
