일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Mac
- Paper
- CUDA
- KAKAO
- Database
- PostgreSQL
- GitLab
- Python
- Container
- docker
- list
- AI
- format
- evaluation
- Flask
- numpy
- TORCH
- judge
- LLM
- file
- Linux
- pandas
- Converting
- enV
- Windows
- Package
- Laravel
- DB
- git
- pytorch
- Today
- Total
목록전체 글 (109)
Daily Develope
--- image : maven:latest # 변수 설정 variables: TARGET_DIR : "complete" TESTRESULT_DIR : "target" # 실행 될 스테이지 설정 stages : - build - test - deploy # 매크로 설정 .maven_configure_template : &mvn_conf stage : build artifacts: paths: - $TARGET_DIR # 매크로 로딩 및 스크립트 수행 maven_compile :
조회 브랜치 리스트 조회 git branch -v # 현재 브랜치 정보 출력 git branch -l # Local 브랜치 정보 출력 git branch -r # Remote Storage 브랜치 정보 출력 git branch -a # 전체 (Local + Remote Storage) 브랜치 정보 출력 브랜치 구조 확인 git log --graph # 그래프로 출력 (전체 정보는 --all 옵션 추가) git log --oneline --decorate # 간략히 출력 git log --all --decorate --oenline --graph # adog !!생성 브랜치 생성 git branch {branch_name} 생성 및 해당 브랜치로 변경 git checkout -b {branch_name}삭..
ㅇ 가정ID = rootPW = mypwdHost = localhost (127.0.0.1) DB 백업ㅇ 모든 db 및 procedure/function mysqldump --single-transaction –-routines --all-databases -h localhost -u root -pmypwd > mydump.sqlㅇ 특정 db만 백업 (db1, db2)mysqldump --single-transaction --databases db1 db2 -h localhost -u root -pmypwd > mydump.sqlㅇ procedure과 trigger 만 백업mysqldump --routines --no-create-info --no-data --no-create-db --skip-opt..
Database ㅇ 생성 create database mydb; Table ㅇ 테이블 생성 예) mytable 테이블 생성하고, 메인키는 id와 id_sec 사용 CREATE TABLE mytable (id CHAR(10), id_sec VARCHAR(10), content VARCHAR(30), reg TIMESTAMP, PRIMARY KEY(id, id_sec)); # CHAR = 문자길이 제한 (정적) # VARCHAR = 문자길이 제한 (동적) # TIMESTAMP = 등록된 시간 기록 ㅇ 테이블 스키마 확인 DESCRIBE mytable; ㅇ 테이블 스키마 변경 예) mytable에 정의된 content 속성을 VARCHAR(50)으로 변경 ALTER TABLE mytable MODIFY con..