협업을 위해서나, 개인적인 성향으로 인해 커밋 메시지를 예쁘게 관리하고 싶으나, 아래와 같이 불필요한 커밋을 여러 번 남기는 경우가 있을 수 있다.# git log --onelineb719582 (HEAD -> master) feat: 아 validation 안 넣었다...74c5dfb feat: app.service.ts에 delete API 추가14d219a feat: app.service.ts에 post API 추가1bfe513 init: 프로젝트 스캐폴딩이 경우 커밋 b719582은 불필요하므로, 아래의 74c5dfb 커밋에 합쳐주고 싶다.(하술할 모든 내용은 로컬 저장소의 작업 내용을 기준으로 하며, 아직 원격 저장소에 푸시하지 않은 상황을 가정한다!)git rebase 명령어 활용하기git r..
브라우저 상에서 uploadPart 호출에 대한 응답 헤더에 ETag가 넘어오지 않아 completeMultipartUpload를 호출할 수 없는 현상이 있었다. completeMultipartUpload에는 각 UploadPart 별 ETag를 필수로 전달해야하기 때문!나와 같은 문제를 겪는 사람이 이미 aws-sdk 깃허브에 문의를 올려두었었고, 답은 버킷의 CORS 설정에 있었다. s3.uploadPart not returning eTag (or any other data) · Issue #384 · aws/aws-sdk-jsWhen using the s3.uploadPart() function, the return data is empty. There is no error response, but..
새로운 깃 리포지토리를 만들고, 로컬에서 세팅한 프로젝트를 push하려는데 아래와 같은 에러가 발생했다.[toy-project] git remote add origin git@[깃_저장소].git[toy-project] git ps -u origin mainerror: src refspec main does not match anyerror: 레퍼런스를 '[깃_저장소].git'에 푸시하는데 실패했습니다[toy-project] # 왜 안돼지답은 멍청하게도 아무 커밋이 없었기 때문...! init 커밋 하나 남겨준 후에 푸시하자.
분명히 며칠 전까진 잘 돌던 jest 테스트 케이스가 아래와 같은 메시지를 뱉으며 실패했다. ● Test suite failed to run Jest encountered an unexpected token This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript. By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules". Here's what you can do: • If you are trying ..
[~] docker pull mysql:5.7 5.7: Pulling from library/mysql no matching manifest for linux/arm64/v8 in the manifest list entries [~] 또 M1 Mac 이슈인 듯 하다. 아키텍쳐가 안맞아 상술한 오류가 뜬다면, --platform 을 아래와 같이 명시하여 이미지를 땡겨가자. [~] docker pull --platform linux/amd64 mysql:5.7 5.7: Pulling from library/mysql 20e4dcae4c69: Pull complete 1c56c3d4ce74: Pull complete e9f03a1c24ce: Pull complete 68c3898c2015: Pull compl..
MySQL :: MySQL 8.0 Reference Manual :: 13.3.2 The CHAR and VARCHAR Types 13.3.2 The CHAR and VARCHAR Types The CHAR and VARCHAR types are similar, but differ in the way they are stored and retrieved. They also differ in maximum length and in whether trailing spaces are retained. The CHAR and VARCHAR types are declared with a l dev.mysql.com Values in VARCHAR columns are variable-length strings. ..
내 경우, docker-compose.yml 파일과 Dockerfile의 경로가 같아 context를 현재 경로(온점, .)로 입력하였다. version: '3.9' services: my-backend-app: image: "[이미지_태그명]:[버전]" build: context: . # Dockerfile이 있는 경로를 여기에 명시하자 요렇게 작성하면 image 속성에 명시된 이미지를 우선 pull 해보고, 없으면 build 섹션에 명시된 것을 빌드한 후에 태깅한다. 이 과정에서 원격 저장소에 없는 image를 pull 하기에(= 지금 내가 만드는 컨테이너가 원격 저장소에 있을리 없으므로) 에러가 노출되지만, 이후에 build 섹션의 내용대로 이미지를 빌드한다. 에러가 좀 꼴뵈기 싫은데, 아직까진 별..
간단한 스터디 프로젝트를 진행하던 도중 요런 엔티티를 정의했다. @Entity data class User( @Id @GeneratedValue(strategy = GenerationType.IDENTITY) val id: Int?, val name: String, val password: String, val email: String, @CreationTimestamp val createdAt: Timestamp?, val role: String = Constants.ROLE_USER, ) { companion object { fun from(user: User): User = user.copy( password = PasswordEncoder.encode(user.password), ) } } 처음에..
- Total
- Today
- Yesterday
- Vault
- mysql
- terraform
- Linux
- Spring Cloud Config
- JEST
- spring boot
- Node.js
- JPA
- kotlin
- shell
- Git
- Database
- RancherDesktop
- pgloader
- 코딩테스트
- IntelliJ
- javascript
- AWS IoT
- hashicorp
- Puppeteer
- postgresql
- Gradle
- Docker
- Java
- etc
- AWS
- jQuery
- react
- eureka
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |