MapleStory Finger Point

์ตœ์‹  ๊ธ€ Public

more

[JAVA] ์ปดํŒŒ์ผ / ๋Ÿฐํƒ€์ž„ / JVM ๊ตฌ์กฐ

์ปดํŒŒ์ผ (Compile)์†Œ์Šค์ฝ”๋“œ๊ฐ€ ๊ธฐ๊ณ„์–ด๋กœ ๋ณ€ํ™˜๋˜๋Š” ๊ณผ์ • (์ปดํŒŒ์ผ๋Ÿฌ javac๊ฐ€ ์ž๋ฐ” ๋ฐ”์ดํŠธ ์ฝ”๋“œ๋กœ ๋ณ€ํ™˜)`.java` -> `.class`ย ย ๋Ÿฐํƒ€์ž„ (Runtime)ํ”„๋กœ๊ทธ๋žจ์ด ์‹ค์ œ๋กœ ์‹คํ–‰๋˜๋Š” ์‹œ๊ฐ„ย ์ปดํŒŒ์ผ๋œ ๋ฐ”์ดํŠธ ์ฝ”๋“œ๊ฐ€ JVM ์— ์˜ํ•ด ์‹คํ–‰๋˜๋Š” ์‹œ์ ย ย ์ปดํŒŒ์ผ๊ณผ ๋Ÿฐํƒ€์ž„์˜ ์ฐจ์ด์ ์‹œ์ ํ”„๋กœ๊ทธ๋žจ ์‹คํ–‰ ์ „์—, ์ฝ”๋“œ ์ž‘์„ฑ ํ›„ ์ปดํŒŒ์ผ ์‹œ์ ์— ๋ฐœ์ƒํ”„๋กœ๊ทธ๋žจ ์‹คํ–‰ ์ค‘์— ๋ฐœ์ƒ๋ชฉ์ ์†Œ์Šค ์ฝ”๋“œ์˜ ์˜ค๋ฅ˜๋ฅผ ๋ฏธ๋ฆฌ ํ™•์ธํ•˜๊ณ , ๋ฐ”์ดํŠธ์ฝ”๋“œ๋กœ ๋ณ€ํ™˜์‹ค์ œ๋กœ ํ”„๋กœ๊ทธ๋žจ์„ ์‹คํ–‰ํ•˜๊ณ  ๋™์  ์˜ค๋ฅ˜๋ฅผ ์ฒ˜๋ฆฌ์˜ค๋ฅ˜ ์ฒ˜๋ฆฌ๋ฌธ๋ฒ• ์˜ค๋ฅ˜, ํƒ€์ž… ์˜ค๋ฅ˜, ์ฒดํฌ ์˜ˆ์™ธ ๋ฏธ์ฒ˜๋ฆฌ ๋“ฑ (์ปดํŒŒ์ผ ์‹œ ๋ฐœ์ƒ)๋Ÿฐํƒ€์ž„ ์˜ˆ์™ธ(๋ฐฐ์—ด ์ธ๋ฑ์Šค ์ดˆ๊ณผ, null ์ฐธ์กฐ ๋“ฑ) (์‹คํ–‰ ์‹œ ๋ฐœ์ƒ)์˜ˆ์‹œ ์˜ค๋ฅ˜๊ตฌ๋ฌธ ์˜ค๋ฅ˜, ํƒ€์ž… ์˜ค๋ฅ˜, ์ฒดํฌ ์˜ˆ์™ธ ๋ฏธ์ฒ˜๋ฆฌNullPointerException, ArrayIndexOutO..

[JAVA] Exception ์˜ˆ์™ธ ์ฒ˜๋ฆฌ

๋ชฉ์ฐจย ย ย ย ์˜ˆ์™ธ ๋ž€?ํ”„๋กœ๊ทธ๋žจ์˜ ์ •์ƒ์ ์ธ ํ๋ฆ„์„ ๋ฐฉํ•ดํ•˜๋Š” ๋ฌธ์ œ ์ƒํ™ฉ (ํ”„๋กœ๊ทธ๋žจ ์ฝ”๋“œ์—์„œ ์ฒ˜๋ฆฌ ๊ฐ€๋Šฅ , ๋…ผ๋ฆฌ์  ์˜ค๋ฅ˜)ย ์—๋Ÿฌ๋Š” ๊ทธ๋ณด๋‹ค ๋” ์‹ฌ๊ฐํ•œ ๋ฌธ์ œ (ํ”„๋กœ๊ทธ๋žจ ์ค‘๋‹จ ๋“ฑ์˜ ์‹ฌ๊ฐํ•œ ๋ฌธ์ œ , JVM / ๋ฉ”๋ชจ๋ฆฌ ๋ถ€์กฑ)ย ย ์˜ˆ์™ธ ์ข…๋ฅ˜์ฒดํฌ ์˜ˆ์™ธ : ์ปดํŒŒ์ผ ์‹œ์ ์—์„œ ์˜ˆ์™ธ ๊ฐ•์ œ ์ฒ˜๋ฆฌ์–ธ์ฒดํฌ ์˜ˆ์™ธ : ๋Ÿฐํƒ€์ž„ ์‹œ์ ์—์„œ ๋ฐœ์ƒ (์ปดํŒŒ์ผ ์‹œ ์˜ˆ์™ธ์ฒ˜๋ฆฌ ๊ฐ•์ œ ๋˜์ง€ ์•Š์Œ)ย ย ย ย ์˜ˆ์™ธ ๊ณ„์ธต ๊ตฌ์กฐย ย `Throwable` ํด๋ž˜์Šค๋Š” ๋ชจ๋“  ์˜ˆ์™ธ์™€ ์˜ค๋ฅ˜์˜ ๋ถ€๋ชจ ํด๋ž˜์Šคย ย `getMessage()`: ์˜ˆ์™ธ ๋ฉ”์‹œ์ง€๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.`printStackTrace()`: ์˜ˆ์™ธ ๋ฐœ์ƒ ์‹œ ์Šคํƒ ํŠธ๋ ˆ์ด์Šค๋ฅผ ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค.`getCause()`: ์˜ˆ์™ธ์˜ ์›์ธ(๋‹ค๋ฅธ ์˜ˆ์™ธ)์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.ย ย ย ๊ธฐ๋ณธ ์˜ˆ์™ธ์ฒ˜๋ฆฌย  (try-catch)ย `try`ย  ์˜ˆ์™ธ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ์ฝ”๋“œ`cat..

[JAVA 8+] java.time ํŒจํ‚ค์ง€

https://docs.oracle.com/javase/8/docs/api/java/time/package-summary.htmlย java.time (Java Platform SE 8 )Class Summaryย  Class Description Clock A clock providing access to the current instant, date and time using a time-zone. Duration A time-based amount of time, such as '34.5 seconds'. Instant An instantaneous point on the time-line. LocalDate A date withoudocs.oracle.comย ย java.timeย ํŒจํ‚ค์ง€ย ๊ธฐ์กด `java..

[AWS] RDS ๋ž€ ? (RDS ์—ฐ๊ฒฐ ๋ฐฉ๋ฒ•)

๋ชฉ์ฐจย ย ย ย AWSย ๋ž€?ย  AWS๋Š”ย "Amazonย Webย Services"์˜ย ์•ฝ์ž๋กœ,ย Amazon์—์„œย ์ œ๊ณตํ•˜๋Š”ย ํด๋ผ์šฐ๋“œย ์ปดํ“จํŒ…ย ์„œ๋น„์Šค์ž…๋‹ˆ๋‹ค.ย  AWS๋Š”ย ์ „ย ์„ธ๊ณ„์ ์œผ๋กœย ๊ฐ€์žฅย ๋„๋ฆฌย ์‚ฌ์šฉ๋˜๋Š”ย ํด๋ผ์šฐ๋“œย ํ”Œ๋žซํผย ์ค‘ย ํ•˜๋‚˜๋กœ,ย ๋‹ค์–‘ํ•œย ITย ์ธํ”„๋ผย ์„œ๋น„์Šค๋ฅผย ์ œ๊ณตํ•œ๋‹ค. ย  ํด๋ผ์šฐ๋“œย ์ปดํ“จํŒ…์ด๋ž€? ์„œ๋ฒ„ย ํ™˜๊ฒฝ์„ย ์ง์ ‘ย ๊ตฌ์ถ•ํ•˜๋ ค๋ฉดย ์ปดํ“จํ„ฐ์žฅ๋น„,ย ์šด์˜์ฒด์ œ,ย ๋„คํŠธ์›Œํฌ,ย ๋ณด์•ˆ,ย ์†Œํ”„ํŠธ์›จ์–ดย ๋“ฑ์˜ย ๋‹ค๋ฐฉ๋ฉด์˜ย ์ง€์‹์„ย ํ•„์š”๋กœย ํ•ฉ๋‹ˆ๋‹ค.ย ๋˜ย ์„œ๋ฒ„๋ฅผย ์ง€์†์ ์„ย ์šด์˜ํ•˜๊ณ ย ๊ด€๋ฆฌํ•˜๋Š”๋ฐ,ย ์ƒ๋‹นํ•œย ๋…ธ๋ ฅ๊ณผย ๋น„์šฉ์ดย ๋“ค์–ด๊ฐ‘๋‹ˆ๋‹ค. ํด๋ผ์šฐ๋“œ ์ปดํ“จํŒ…์ด๋ž€ ์„œ๋ฒ„(์ปดํ“จํ„ฐ)๋ฅผ ๊ฐ€์ƒ์œผ๋กœ ๊ตฌ์ถ•ํ•˜๊ณ  ์‚ฌ์šฉ์ž์—๊ฒŒ ํ™˜๊ฒฝ์„ ์ œ๊ณตํ•ด์ฃผ๋Š” ๊ฒƒ์„ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค.์•„๋ฌดํŠผย AWS๋Š”ย ๋‹ค์–‘ํ•œย ์„œ๋น„์Šค๋ฅผย ์ œ๊ณตํ•ด์ฃผ๊ณ ย  ์ด ์ค‘์—์„œ ์ €ํฌ๋Š” RDS ๋ผ๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.AWS RDS (Amazon Rela..

โšซ AWS 2024.12.07 1

[JAVA 8+] Optional ๊ฐ์ฒด

https://docs.oracle.com/javase/8/docs/api/java/util/Optional.htmlย Optional (Java Platform SE 8 )A container object which may or may not contain a non-null value. If a value is present, isPresent() will return true and get() will return the value. Additional methods that depend on the presence or absence of a contained value are provided, such as orEldocs.oracle.comย ย ย Optional ๊ฐ์ฒด๋ž€?ย Java 8 ์—์„œ ๋„์ž…๋œ..

Spring Public

more

[Spring Security] ๋น„๋ฐ€๋ฒˆํ˜ธ ์•”ํ˜ธํ™” ๊ตฌํ˜„

( ์ œ๊ฐ€ ์ž‘์—…ํ–ˆ๋˜ย ย ํ”„๋กœ์ ํŠธ ์ฝ”๋“œ ๊ธฐ๋ฐ˜์œผ๋กœ ์„ค๋ช…ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.)ย ย ย ์Šคํ”„๋ง ์‹œํ๋ฆฌํ‹ฐ ๋น„๋ฐ€๋ฒˆํ˜ธ ์•”ํ˜ธํ™”์— ๊ด€ํ•œ ์ด๋ก ์€ ์ด์ชฝ ๊ฒŒ์‹œ๋ฌผ ์ฐธ๊ณ  !ย https://hyejux.tistory.com/801ย [Spring Security] BCrypt ํ•ด์‹œ ํ•จ์ˆ˜ ์•Œ๊ณ ๋ฆฌ์ฆ˜Spring Security ์—์„œ๋Š” BCryptPasswordEncoder ๋ผ๋Š” ํด๋ž˜์Šค๋ฅผ ์ œ๊ณตํ•˜๋Š”๋ฐ์ด ํด๋ž˜์Šค๋Š” ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์•”ํ˜ธํ™”ํ•  ๋•Œ ์‚ฌ์šฉํ•œ๋‹ค.ย ์ด๋•Œ ์•”ํ˜ธํ™” ๋ฐฉ์‹์„ BCrypt ํ•ด์‹œ ํ•จ์ˆ˜ ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ์‚ฌ์šฉํ•˜๋Š”๋ฐBCrypt ํ•ด์‹œ ํ•จ์ˆ˜ ์•Œ๊ณ hyejux.tistory.comย https://hyejux.tistory.com/802ย [Spring Security] BCryptPasswordEncoder ํด๋ž˜์Šค[ ์Šคํ”„๋ง ์‹œํ๋ฆฌํ‹ฐ ๋น„๋ฐ€๋ฒˆํ˜ธ ์•”ํ˜ธํ™” ]ย BCryptPass..

๐ŸŸค Spring 2024.12.04 0

[Spring Security] ๊ถŒํ•œ ์ฒ˜๋ฆฌ

๋ชฉ์ฐจย ย ย ( ์ œ๊ฐ€ ์ž‘์—…ํ–ˆ๋˜ย ย ํ”„๋กœ์ ํŠธย ์ฝ”๋“œ ๊ธฐ๋ฐ˜์œผ๋กœ ์„ค๋ช…ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.)ย 1. ๊ถŒํ•œ ์ž‘์—… (EmployeeDetails.java)ย  // ๊ถŒํ•œ ๊ด€๋ จ ์ž‘์—…์„ ์œ„ํ•œ ๋ฉ”์„œ๋“œ @Override public Collection getAuthorities() { Collection authorities = new ArrayList(); try { // Employee์˜ authorityGrade๋ฅผ UserRole Enum์œผ๋กœ ๋ณ€ํ™˜ UserRole role = UserRole.valueOf(employee.getAuthorityGrade()); // ๊ถŒํ•œ์— ROLE_ ์ ‘๋‘์‚ฌ ๋ถ™์—ฌ ์ถ”๊ฐ€ authorities.add(new SimpleGrantedAuthority("R..

๐ŸŸค Spring 2024.12.04 0

[Spring Security] ๋กœ๊ทธ์ธ ๊ตฌํ˜„

๋ชฉ์ฐจย ย ย ( ์ œ๊ฐ€ ์ž‘์—…ํ–ˆ๋˜ย  ํ”„๋กœ์ ํŠธ ์ฝ”๋“œ ๊ธฐ๋ฐ˜์œผ๋กœ ์„ค๋ช…ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.)ย ย ย 1. build gradle ์— ์˜์กด์„ฑ ์ถ”๊ฐ€ //์‹œํ๋ฆฌํ‹ฐ ๋ฒ„์ „์€ ์Šคํ”„๋ง๋ฒ„์ „์— ๋”ฐ๋ผ ์‚ฌ์šฉ๋ฐฉ๋ฒ•์ด ์™„์ „ํžˆ ๋‹ค๋ฆ…๋‹ˆ๋‹ค. //์‹œํ๋ฆฌํ‹ฐ 5๋ฒ„์ „ => ์Šคํ”„๋ง ๋ถ€ํŠธ 2๋ฒ„์ „ (์ˆ˜์—…) //์‹œํ๋ฆฌํ‹ฐ 6๋ฒ„์ „ => ์Šคํ”„๋ง ๋ถ€ํŠธ 3๋ฒ„์ „ (๋ฌธ๋ฒ•์ด ์™„์ „ ๋ณ€๊ฒฝ๋˜๋‹ˆ ์ฃผ์˜) implementation 'org.springframework.boot:spring-boot-starter-security' //์‹œํ๋ฆฌํ‹ฐ ํƒ€์ž„๋ฆฌํ”„์—์„œ ์‚ฌ์šฉ implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5' //์‹œํ๋ฆฌํ‹ฐ ํ…Œ์ŠคํŠธ testImplementation 'org.springframework.security:sp..

๐ŸŸค Spring 2024.12.04 1

React Public

more

[React] Ajax (์™ธ๋ถ€ ๋ฐ์ดํ„ฐ ํ†ต์‹ )

Ajax ?AJAX ( Asynchronous Javascript and XML) ์€ ์›น ํŽ˜์ด์ง€์˜ ์ด๋™์—†์ด ํ•„์š”ํ•œ ๋ฐ์ดํ„ฐ๋งŒ ์ „์†กํ•˜๋Š” ๊ธฐ์ˆ ์ž…๋‹ˆ๋‹ค.ย ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ฌ ๋•Œ ์„œ๋ฒ„์ชฝ ๋ฐ์ดํ„ฐ๊ฐ€ ํ•„์š”ํ•  ๋•Œ ajax๊ธฐ๋ฒ•์„ ์‚ฌ์šฉํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.์ด ์ž‘์—…์€ ์‹œ๊ฐ„์ด ์˜ค๋ž˜ ๊ฑธ๋ฆด ์ˆ˜๋„ ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ๋น„๋™๊ธฐ์ ์œผ๋กœ ์ฒ˜๋ฆฌํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.๋น„๋™๊ธฐ(asynchronous)๋Š” ์š”์ฒญ์ด ๋๋‚  ๋•Œ ๊นŒ์ง€ ๊ธฐ๋‹ค๋ฆฌ๋Š” ๊ฒƒ์ด ์•„๋‹ˆ๋ผ, ๋™์‹œ์— ์—ฌ๋Ÿฌ ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.๋‚˜์ค‘์— react์—์„œ๋Š” ๋‹ค๋ฅธ ์„œ๋ฒ„์˜ REST API์™€ ํ†ต์‹ ์„ ์ด์šฉํ•˜์—ฌย ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šคย ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.ย ย ES6 fetch ๋ฅผ ์ด์šฉํ•ด ๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌ (๋ฆฌ์•กํŠธ)Promise = fetch(์š”์ฒญ์ฃผ์†Œ)ย ๐Ÿ“ ์ด๋ฒคํŠธ ํด๋ฆญ์‹œ ์ฒ˜๋ฆฌํ•˜๊ธฐ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์™€์„œ useState()์— ์ €์žฅํ•˜๋Š” ์ž‘..

๐Ÿ”ต React 2024.08.31 1

[React] ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ

โ—ˆ ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐpackage.json >> build.gradle / pom.xml ๊ณผ ๋™์ผ (๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ , ๋ฒ„์ „ ๋ช…์‹œ)๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์™€ ๊ทธ ๋ฒ„์ „์„ ๋ช…์‹œํ•˜์—ฌ ํ”„๋กœ์ ํŠธ์˜ ์˜์กด์„ฑ์„ ๊ด€๋ฆฌํ•˜๋Š” ํ•ญ๋ชฉย dependencyย  : ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์™€ ๊ทธ ๋ฒ„์ „์„ ๋ช…์‹œํ•˜์—ฌ ํ”„๋กœ์ ํŠธ์˜ ์˜์กด์„ฑ์„ ๊ด€๋ฆฌํ•˜๋Š” ํ•ญ๋ชฉย ย scripts ๋ช…๋ น๋ฌธ :ย ์ž์ฃผ ์‚ฌ์šฉ๋˜๋Š” ๋ช…๋ น์–ด๋ฅผ ์Šคํฌ๋ฆฝํŠธ๋กœ ์ •์˜ํ•˜์—ฌ ์‰ฝ๊ฒŒ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•˜๋Š” ํ•ญ๋ชฉeslintConfig :ย ๊ธฐ๋ณธ ํ”„๋กœ๊ทธ๋žจ ๋„์›€ (์ฝ”๋“œ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜๊ธฐ ์œ„ํ•ด JavaScript ์ฝ”๋“œ ์Šคํƒ€์ผ์„ ๊ฒ€์‚ฌํ•˜๋Š” ๋„๊ตฌ์ธ ESLint์˜ ๊ธฐ๋ณธ ์„ค์ •์„ ์ •์˜ํ•˜๋Š” ํ•ญ๋ชฉ)browserlist :ย ํ”„๋กœ์ ํŠธ๊ฐ€ ์ง€์›ํ•ด์•ผ ํ•˜๋Š” ๋ธŒ๋ผ์šฐ์ €์˜ ๋ฒ”์œ„๋ฅผ ๋ช…์‹œ ( ๋ธŒ๋ผ์šฐ์ € ํ˜ธํ™˜์„ฑ์„ ์œ ์ง€ํ•˜๊ธฐ ์œ„ํ•ด ํ•„์ˆ˜ )โ—ˆย ย web pack loader์ž๋™ ๋ฆฌ๋กœ๋“œ๋จ (..

๐Ÿ”ต React 2024.08.29 0

[React] React๋ผ์šฐํ„ฐ

๐Ÿ˜บ React ๋ผ์šฐํ„ฐ์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๊ธฐ ์ „์— SPA ์˜ ๊ฐœ๋…์— ๋Œ€ํ•ด ์•Œ์•„๋ณด์ž.ย ๐Ÿ“ SPA๋ž€? (single page application)ํ•˜๋‚˜์˜ ํŽ˜์ด์ง€๋กœ ๋งŒ๋“ค์–ด์ง„ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์˜๋ฏธํ•œ๋‹ค.์ „ํ†ต์ ์ธ ๋ฐฉ์‹์€ Server๊ฐ€ html ํŒŒ์ผ ๋งŒ๋“ค๊ณ  data ์‹ค์–ด์„œ ์‘๋‹ตํ•˜์ง€๋งŒ,spa ๋ฐฉ์‹์€ ํด๋ผ์ด์–ธํŠธ์— html ์„ธ์›Œ๋‘๊ณ  ๋ฐ์ดํ„ฐ๋งŒ ์š”์ฒญ์‘๋‹ต์„ ํ†ตํ•ด ๋ฐ”๊พผ๋‹ค.ย ย SPA๋Š” htmlํŒŒ์ผ์„ ๋ธŒ๋ผ์šฐ์ € ์ธก์—์„œ ๋กœ๋“œํ•˜๊ณ , ํ•„์š”ํ•œ ๋ฐ์ดํ„ฐ๋Š” API์™€ ajaxํ†ต์‹ ์„ ์ด์šฉํ•ด์„œ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค.๋ธŒ๋ผ์šฐ์ €์—์„œ ์‚ฌ์šฉ์ž๊ฐ€ ์ƒํ˜ธ์ž‘์šฉ ํ•˜๋ฉด ํ•„์š”ํ•œ ๋ถ€๋ถ„๋งŒ ์—…๋ฐ์ดํŠธ ํ•ด์„œ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค.๋ฉ€ํ‹ฐํ”Œ๋žซํผ Android, IOS์— ๋Œ€์‘ํ•˜์—ฌ ์›น๋ทฐ๋กœ ์ฒ˜๋ฆฌํ•˜๋Š” ๋ชฉ์ ์œผ๋กœ๋„ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.ย ๐Ÿ“ SPA์˜ ๋‹จ์  (CSR๋ฐฉ์‹)์•ฑ์˜ ๊ทœ๋ชจ๊ฐ€ ์ปค์ง€๋ฉด, JSํŒŒ์ผ๋„ ๋„ˆ๋ฌด ์ปค์ ธ์„œ ๋กœ๋”ฉ์ด ์˜ค๋ž˜๊ฑธ๋ฆฌ๊ฒŒ ๋ฉ..

๐Ÿ”ต React 2024.08.28 0

Git Public

more

[Git] eclipse ๊นƒํ—ˆ๋ธŒ ํ˜‘์—… ๋ฐฉ๋ฒ• & ๋ธŒ๋ Œ์น˜

[ eclipseย  ๊นƒํ—ˆ๋ธŒ ํ˜‘์—… ๋ฐฉ๋ฒ• ]ย 1. ํ”„๋กœ์ ํŠธ๋ฅผ ์ง„ํ–‰ํ•  ๋ ˆํŒŒ์ง€ํ† ๋ฆฌ ์ƒ์„ฑgithub ์—์„œ repositories ๋ฅผ ํ•˜๋‚˜ ์ƒ์„ฑํ•œ๋‹ค.ย ย 2. ์ฝœ๋ผ๋ณด๋ ˆ์ดํ„ฐ ์ดˆ๋Œ€ํ•˜๊ธฐ๊ฐ™์ด ํ˜‘์—…ํ•  ์‚ฌ๋žŒ์„ ์ดˆ๋Œ€ํ•œ๋‹ค. Collaborators์ด๋•Œ ์ดˆ๋Œ€๋ฅผ ์ˆ˜๋ฝํ•ด์•ผํ•œ๋‹ค.ย 3. ์ดํด๋ฆฝ์Šค์™€ ๊นƒํ—ˆ๋ธŒ ์—ฐ๊ฒฐํ•˜๊ธฐ์ดํด๋ฆฝ์Šค์—์„œ Import -> git -> cloneย ์ด๋•Œ ๊นƒํ—ˆ๋ธŒ Settings > Developer-Settings > Token ์„ ์ƒ์„ฑํ•œ๋‹ค.ย 4. ์ž˜ ์—ฐ๊ฒฐ ๋˜์—ˆ๋Š”์ง€ ์„œ๋ฒ„ ์ผœ์„œ ํ™•์ธํ•ด์ฃผ๋ฉด ๋ย ย [ ํ˜‘์—… ์‹œ ๊นƒ ํ—ˆ๋ธŒ ์‚ฌ์šฉ๋ฒ• ? ]ย ย (ํŒ€์žฅ)ย ๋‚ด github ๊ณ„์ •์—ฐ๊ฒฐ$git config --global user.email "๋ณธ์ธ์ด๋ฉ”์ผ์ฃผ์†Œ"$git config --global user.name "๋ณธ์ธ์ด๋ฆ„"ย ย ์ดˆ๊ธฐ ์ฝ”๋“œ ์—…๋กœ๋“œํ•˜๊ธฐ$g..

๐ŸŸ  Git 2024.07.15 0

[Git] ์ž๋™ push.exe

git init ๊ณผ ์›๊ฒฉ ๋ ˆํฌ์ง€ํ† ๋ฆฌ๊ฐ€ ์—ฐ๊ฒฐ ๋˜์–ด์—ˆ๋Š” ์ƒํƒœ์—์„œ ์•ˆ์— ๋ฐฐ์น˜ํŒŒ์ผ ๋ˆ„๋ฅด์‹œ๋ฉด ์ž๋™์œผ๋กœ ํ‘ธ์‰ฌ๋œ๋‹ค.!ย ย ย *** ์ˆ˜๋™ ์—…๋กœ๋“œํ•˜๊ธฐ Open Git Bash hereย ย ๊นƒ ์‹œ์ž‘ํ•˜๊ธฐ$ git initย ย ๊นƒ ์ดˆ๊ธฐ ์„ธํŒ…ย $ git config --global user.name "๋ณธ์ธ์ด๋ฆ„์˜์–ด"$ git config --global user.name ๋ณธ์ธ์ด๋ฉ”์ผ$ git config --list๊นƒํ—ˆ๋ธŒ ํšŒ์›" data-og-host="hyejux.tistory.com" data-og-source-url="https://hyejux.tistory.com/633" data-og-url="https://hyejux.tistory.com/633" data-og-image="https://scrap.kakaocdn.net/d..

๐ŸŸ  Git 2024.06.18 0

[Git] comflict ์ถฉ๋Œ

comflict ๋ž€?ย comflict ๋Š” ๊ฐ™์€ ํŒŒ์ผ, ๊ฐ™์€ ์œ„์น˜๋ฅผ ์—ฌ๋Ÿฌ ์‚ฌ์šฉ์ž๊ฐ€ ๋™์‹œ์— ์ˆ˜์ •ํ•  ๋•Œ ๋ฐœ์ƒํ•˜๋Š” ์˜ค๋ฅ˜์ด๋‹ค. merge / rebase ์ž‘์—… ์ค‘ ์ž๋™์œผ๋กœ ํ•ด๊ฒฐํ•  ์ˆ˜ ์—†๋Š” ๋ณ€๊ฒฝ ์‚ฌํ•ญ์ด ์žˆ์„ ๋•Œ ๋ฐœ์ƒํ•œ๋‹ค.ย ex)ย 1) A ๋ธŒ๋žœ์น˜์™€ B ๋ธŒ๋žœ์น˜๊ฐ€ ์žˆ๋‹ค.2) ๋‘ ๋ธŒ๋žœ์น˜๋ฅผ ๋™์ผํŒŒ์ผ, ๋™์ผ ๋ผ์ธ์„ ์ˆ˜์ •ํ•จย 3) A ๋กœ ์ฒดํฌ์•„์›ƒํ•˜์—ฌ B ๋ฅผ ๋ณ‘ํ•ฉํ•œ๋‹ค (merge) .ย  ---> Automatic merge failed; fix conflicts and then commit the result.ย >>>>>> B-branchย ย comflict ๋ฐœ์ƒ ์‹œ ํ•ด๊ฒฐ๋ฐฉ๋ฒ•comflict ๋ฐœ์ƒํ•œ ํŒŒ์ผ์„ ์ˆ˜๋™์œผ๋กœ ์ˆ˜์ •ํ•ด์ฃผ๋ฉด ๋œ๋‹ค.๋”๋ณด๊ธฐpull ๋‹น๊ฒจ์˜ค๋ฉด comflict ๋ฐœ์ƒ >์“ฐ๋˜ ์ฝ”๋“œ๋ฅผ add / commit >pull (comf..

๐ŸŸ  Git 2024.06.12 0