
www.npmjs.com/package/gh-pages gh-pages Publish to a gh-pages branch on GitHub (or any other branch on any other remote) www.npmjs.com Create-react-app 1. 설치 $ npm i gh-pages 2. package.json에 속성 추가 { // ...생략... "scripts": { "start": "react-scripts start", "build": "react-scripts build", "deploy": "gh-pages -d build", "predeploy": "npm run build" }, // ...중략... "homepage": "https://{깃헙아이디}.githu..

올해 어느샌가부터 VSCode에서 저장하면 자동으로 코드를 정렬해주는 Prettier가 작동하지 않았다. 귀찮아서 그냥 쓰고 있었지만, 원인을 알아내고 말았지.. VSCode > Preference (cmd+,) 들어가서 'Default Formatter'를 검색 아래 설정이 null로 되어있을 텐데, 이를 'enbenp.prettier-vscode'로 고쳐준다. VSCode Prettier 설정하는 방법 nuggy875.tistory.com/109 [VSCode] Prettier 설정 방법 Prettier는 VSCode에서 코드를 이쁘게 자동으로 정렬해준다. VSCode Extenstion탭에서 검색하여 설치해준 후, 설정 (Preference)에 들어가서 'editor format on save'를 ..

Prettier는 VSCode에서 코드를 이쁘게 자동으로 정렬해준다. VSCode Extenstion탭에서 검색하여 설치해준 후, 설정 (Preference)에 들어가서 'editor format on save'를 검색, 체크박스에 체크 해준다. 다시 검색창에 'json'을 검색하면 아래와 같이 Edit in setting.json 파일이 나오는데, 눌러준다. (VSCode 에디터의 전반적인 설정값을 넣는 json 파일이다) 아래와 같이 editor.formatOnSave이 true인지 확인해보자 (아니라면 true로 바꿔준다.) 완료! (수정) 2020년 이후로 Prettier 작동 안되는 문제 ↓ nuggy875.tistory.com/110 VSCode Prettier 적용 안 되는 오류 올해 어느샌..
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops. onclick 으로 함수 호출 시 매개변수를 사용할 때 잘못 불러오면 위와 같은 에러가 생긴다. onClickBtn = (var) => { // contents... } // render() BUTTON 함수 호출과 렌더링이 반복되는 구조이기 때문에 생기는 에러인데, 아래와 같이 수정해주면 해결된다. onClickBtn = (var) =..
MySQL DB 백업 $ mysqldump -u [MySQL username] -p [백업할 DB 스키마 이름] > [생성할 백업파일 명].sql $ password : [패스워드 입력] 예시 ) $ mysqldump -u root -p service_db > service_db_1.sql $ password : 123123 MySQL DB 복원 $ mysql -u [MySQL username] -p [복원할 DB 스키마 이름] < [복원할 백업파일 명].sql 예시 ) $ mysql -u root -p service_db < service_db_1.sql $ password : 123123 --all-databases 모든 데이터베이스에 대해서 --default-character-set=euckr 한글..

COCO Dataset https://cocodataset.org/ instances_minival2014.json https://dl.dropboxusercontent.com/s/o43o90bna78omob/instances_minival2014.json.zip?dl=0 instances_valminusminival.json https://dl.dropboxusercontent.com/s/s3tw5zcg7395368/instances_valminusminival2014.json.zip?dl=0 혹은 http://datasets.d2.mpi-inf.mpg.de/hosang17cvpr/coco_minival2014.tar.gz COCO API def __init__ # coco 불러오기 및 Annotati..

서비스 개발을 진행하다보면, 서비스 도중 데이터 구조를 수정한다거나 Column을 추가하거나 삭제하거나 하는 경우가 종종 있다. MySQL 에서 데이터 Migration 을 Sequelize 명령어를 통해 간단히 진행 가능하다. migrations/ 폴더에 Migration 파일 생성 $ npx sequelize migration:create --name "[마이그레이션 생성 파일 이름]" 생성된 js파일에 수정할 내용 작성 Migration 실행 // up에 있는 코드를 실행 $ npx sequelize-cli db:migrate // down에 있는 코드를 실행하여 되돌리기 $ npx sequelize-cli db:migrate:undo:all
- Total
- Today
- Yesterday
- 우분투
- MySQL
- java
- Deep Learning
- pytorch
- Android
- 3Dvision
- GPU
- CUDA
- MacOS
- numpy
- 2-stage Detector
- SSH
- Docker
- error
- Anaconda
- nginx
- git
- Object Detection
- nvidia
- Neural Radiance Field
- Macbook
- nerf
- Novel View Synthesis
- Computer Vision
- Python
- GaussianSplatting
- ubuntu
- vscode
- Machine Learning
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |