Project(8)
-
spring-boot-devtools 사용 할 때 Response에서 stack 제외하기
https://stackoverflow.com/questions/54827407/remove-trace-field-from-responsestatusexception Remove "trace" field from ResponseStatusException In my spring controller I return a ResponseStatusException if no entity is found, like this: @GetMapping("/categories/{id}") public ResponseEntity getCategoryById(@PathVariable( stackoverflow.com 1. application.properties 또는 application.yml에 아래와 같이 속성 추가 ..
2024.01.19 -
Mac 클립 보드 명령어
cat build.gradle | pbcopy Reference Mac의 클립보드 명령어 - pbcopy & pbpaste Mac에는 기본적으로 제공하는 여러 명령어들이 있는데요. 이 중에서 pbcopy와 pbpaste는 터미널을 즐겨 사용하시는 분들께는 아주 유용한 명령어입니다. (사실 알만한 분들은 다 아시겠지지만..) Linux jojoldu.tistory.com
2023.12.08 -
hosts 파일 수정해서 특정 사이트 차단하기
주소창에 특정 사이트를 입력하면 아래와 같은 일이 일어난다. 1. 운영체제가 hosts파일을 바탕으로 IP주소를 찾는다. 여기서 hosts 파일은 호스트 이름(예 : naver.com)을 IP 주소에 매핑할 때 사용하는 파일이다. 컴퓨터 내부의 파일이다. hosts - 위키백과, 우리 모두의 백과사전 위키백과, 우리 모두의 백과사전. hosts 파일은 운영 체제가 호스트 이름을 IP 주소에 매핑할 때 사용하는 컴퓨터 파일이다. 이 hosts 파일은 플레인 텍스트 파일이며 전통적으로 hosts라는 이름을 사 ko.wikipedia.org 2. 운영체제가 DNS caching한다. DNS query로 ip 주소를 얻으면 caching을 한다. cache hit가 일어나면 DNS query를 하지 않는다. 3..
2023.06.23 -
Mac 매직키보드 백틱(`) 입력하기
README.md에서 마크다운 문법에서 코드 블럭을 만들기 위해서는 백틱 입력이 필요하다. mac 매직 키보드에서는 option + ₩ 을 입력하면 된다. (1 왼쪽의 키, esc 바로 아래) Magic Keyboard - 한국어 매끈한 디자인의 Magic Keyboard는 오래가는 충전식 배터리를 갖추고 있고, Mac과 자동으로 페어링됩니다. www.apple.com
2023.05.12 -
Traditional "N-Layer" architecture applications
https://learn.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/common-web-application-architectures#traditional-n-layer-architecture-applications 전통적인 application layers UI - BLL - DAL로 대표된다. UI layer은 직접적으로 DAL에 접근할 수 없다. 즉 둘의 의존성이 없다. 반드시 BL을 통해서 접근해야 한다. 이런 방식으로 각 layer은 own well-known responsibility를 가질 수 있다. 전통적인 layered architecture의 단점 컴파일 타임에서 의존성이 위에서 아래로(고수준에서 저수준)으로 적용된다...
2023.05.10 -
What are layers?
As applications grow in complexity, one way to manage that complexity is to break up the application according to its responsibilities or concerns. This approach follows the separation of concerns principle and can help keep a growing codebase organized so that developers can easily find where certain functionality is implemented. Layered architecture offers a number of advantages beyond just co..
2023.05.10