Open in app

Sign In

Write

Sign In

JinHyeong bak
JinHyeong bak

9 Followers

Home

Lists

About

Feb 23, 2022

Kotlin Cookbook 2

코틀린 기초 1. 널 허용 타입 사용하기 2. 3. @JvmOverLoads — 자바에서 코틀린의 기본 파라미터를 가진 함수나 생성자를 호출하고 싶다

Kotlin

1 min read

Kotlin

1 min read


Feb 22, 2022

Kotlin Cookbook 1

예제 코드: https://github.com/kousen/kotlin-cookbook 1. https://play.kotlinlang.org/ Kotlin Playground: Edit, Run, Share Kotlin Code Online Edit descriptionplay.kotlinlang.org Kotlin Playground: Edit, Run, Share Kotlin Code Online Edit descriptionplay.kotlinlang.org 2. https://kotlinlang.org/docs/command-line.html#homebrew Homebrew Alternatively, on OS X you can install the compiler via Homebrew. $ brew update $ brew install kotlin

Kotlin

3 min read

Kotlin

3 min read


Feb 3, 2022

[h2 version: 2.1.210] Database “/Users/test” not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149–210] 90149/90149 (도움말)

문제: // h2 version: 2.1.210 $ brew install h2 $ brew services start h2 http://127.0.0.1:8082/ 로 접근한 경우 안됨 해법: $ brew services stop h2 $ h2 자동으로 브라우저에 열리는 주소를 localhost로 변경하여 접근 JDBC URL: jdbc:h2:~/test 연결 클릭

H2

3 min read

Database “/Users/test” not found, either pre-create it or allow remote database creation (not
Database “/Users/test” not found, either pre-create it or allow remote database creation (not
H2

3 min read


Jan 11, 2022

HandlerInterceptor preHandle 에는 어떤 객체가 파라미터로 넘어오는가?

Default debug: org.apache.catalina.connector.RequestFacade request = {RequestFacade@13088} request = {Request@13094} coyoteRequest = {Request@13095} "R( /interactivity)" cookie …

8 min read

8 min read


Jan 11, 2022

Kafka

Kafka 교환기(exchanger) 고장감내성(Fault-torelance)과 정확한 메시지의 순서를 제공 이건 무슨 뜻? 따로 공부해보자 느슨한 결합? 가장 큰 특징 loosely coupled Plan-Act 부분이 궁금하다면 ‘클라우드 API를 활용한 빅데이터 분석' 읽어보세요.

1 min read

1 min read


Jan 7, 2022

SnakeCase(snake_case) @RequestBody 에 맵핑 시키기

문제: request body 값이: article_id : 1 처럼 snake_case 경우 어떻게 하는게 좋을까? @PostMapping("/interactivity") public Payload interactivity(@RequestBody Payload payload) { // public String interactivity(@RequestBody String payload) { log.info(payload.toString()); return payload; } 해법: 1. @RequestBody String payload 받아서 커스텀 Deserializer 구현하기 2. @JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class) 명시하기

1 min read

1 min read


Jan 6, 2022

Spring Boot — h2 inmemory console

문제: console 로 inmemory h2 접근 하는 방법 해법: 어플리케이션 실행 시 H2 console available at ‘/h2’. Database available at ‘jdbc:h2:mem:3863ced4–4350–4618-bb46–5b9ba7f6782b’ 로그 확인하여 url 값으로 입력 202 …

4 min read

Spring Boot — h2 inmemory console
Spring Boot — h2 inmemory console

4 min read


Jan 3, 2022

Gradle — Upgrading from 6.5

Upgrading the Wrapper version ./gradlew wrapper — gradle-version 7.3.3 Upgrading Java11 from java1.8 build.gradle sourceCompatibility = '11' targetCompatibility = '11' 문제: 9:38:50 PM: Executing 'build'... > Task :common:compileJava UP-TO-DATE > Task :common …

19 min read

Gradle — Upgrading from 6.5
Gradle — Upgrading from 6.5

19 min read


Dec 21, 2021

박은종의 객체지향 설계를 위한 디자인 패턴 with 자바

총 강의 시간: 8:35:29 Chapter 01, 2021–12–21 (화요일) 무엇보다 경험이 중요 고객의 요구사항에 따라 유지보수가 용이하게 만들어야 한다. 캡상추다 추상화: 상속성: 코드의 재사용으로 접근하지마라? 잘 이해가 안된다. 잘 못 된 사용 방법등을 공부해보자. 상속의 올바른 사용방법을 찾아보자. SOLID 원칙 단일 책임의 법칙 역할, 책임, 협력 그 클래스의 역할의 책임(기능) 개방 폐쇄의 법칙 예 JDBC …

2 min read

2 min read


Jun 11, 2021

[IntelliJ] Cannot resolve symbol

문제: 4년전 과거 commit으로 Checkout Revision 후 develop 돌아오니 맛탱이 감. 원인: 4년전 코드로 checkout 후 쓰레기 module 설정 때문에 classpath 에 문제가 있었던듯.

Intellij

2 min read

[IntelliJ] Cannot resolve symbol
[IntelliJ] Cannot resolve symbol
Intellij

2 min read

JinHyeong bak

JinHyeong bak

9 Followers
Following
  • MUSINSA tech

    MUSINSA tech

  • Pinterest Engineering

    Pinterest Engineering

  • Maximiliano Contieri

    Maximiliano Contieri

  • Coupang Engineering

    Coupang Engineering

  • Lucas

    Lucas

See all (46)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams