hello jiniworld

hello jiniworld

  • hello jiniworld (218)
    • Spring (58)
      • Basic (15)
      • Spring Docs (6)
      • Spring Data JPA Tutorial (14)
      • Spring Boot Tutorial (17)
      • Jersey (6)
    • Go (17)
    • Dev (10)
      • Clean Architecture (3)
      • System Design (2)
      • Documents (2)
      • Client (2)
    • Infrastructure (5)
      • Docker (1)
      • Kubernetes (4)
    • DB (19)
      • MySQL (8)
      • MariaDB (9)
      • Oracle (1)
    • Java (52)
      • Basic (14)
      • coding test (27)
      • Effective Java (11)
    • Python (7)
      • Flask (1)
      • Basic (3)
      • Effective Python (1)
      • coding test (2)
    • Front-end (3)
      • Vanilla JS (2)
      • Basic (1)
    • Linux (11)
      • Basic (2)
      • Command-line (9)
    • Web Server (6)
      • CentOS 7 (5)
      • Oracle Linux 8 (1)
    • WAS (3)
    • CentOS 7 (17)
      • Basic (9)
      • Jenkins (8)
    • Etc (10)
      • Windows 10 (3)
      • trash bin (3)
05-14 00:11
  • 전체보기
  • 방명록
  • jini's GitHub
  • demo api
  • chaeking api
RSS 피드
로그인
로그아웃 글쓰기 관리

hello jiniworld

컨텐츠 검색

태그

hackerrank SpringBoot2 go effectivejava week1 https Spring codility Spring Boot Tutorial Command-Line springboot Spring Boot MariaDB centos7 Java MySQL Jersey JAX-RS spring docs jenkins

최근글

댓글

공지사항

  • SSL 인증서 설정하기

아카이브

hello jiniworld(218)

  • [Python3 - PyMySQL] 1. with 구문을 이용한 PyMySQL 접속 테스트

    2021.02.02
  • [Command-line] sort 명령어를 이용한 텍스트 정렬

    2021.01.12
  • [Command-line] tr 명령어를 이용한 character set 변환 및 삭제

    2021.01.05
  • [MariaDB] 5. DDL - table schema 변경

    2020.12.30
  • [MariaDB] 4. DDL - table schema 조회, 생성, 삭제

    2020.12.30
  • [Command-line] tail을 이용한 실시간 로그 모니터링 (+ head)

    2020.12.29
[Python3 - PyMySQL] 1. with 구문을 이용한 PyMySQL 접속 테스트

PyMySQL? 테스트용 DB 레코드 추가 DB 연결 테스트 3.1. try ... finally 구문 3.2. with 구문 이용 결과 1. PyMySQL? MySQL 서버와 MariaDB 서버 연결을 지원하는 MySQL client 라이브러리입니다. 대부분의 public API는 mysqlclient와 MySQLdb에 호환됩니다. CPython 3.6 이상 버전과 PyPy 3.x 버전에서 지원되며, 데이터베이스 서버는 MySQL 5.6 이상 버전과 MariaDB 10.x 버전을 지원합니다. python 스크립트 파일에서 pymysql을 사용하기 위해서는 먼저, PyMySQL 패키지를 설치해야합니다. 사용하고 있는 가상환경 또는 전역환경에 PyMySQL을 설치합니다. pip install PyMySQL..

2021. 2. 2. 17:39
[Command-line] sort 명령어를 이용한 텍스트 정렬

sort sort 사용 예제 character 정렬 기본 중복 필드 제거 numeric 정렬 general-numeric sort numeric sort human-numeric sort Month 정렬 key 옵션 심화 end field number 생략 C(character position) 1. sort 파일이나 stream으로 읽어들인 line을 정렬하는 명령어 입니다. sort [OPTION] file_name 정렬 옵션 -b ignore leading blank(필드 앞 공백 무시) -d dictionary sort(사전순) -r 정렬 결과 reverse -f ignore case(대소문자 구분 안함) -n numeric sort -g general-numeric sort 지수표기법(eee),..

2021. 1. 12. 17:49
[Command-line] tr 명령어를 이용한 character set 변환 및 삭제

tr translate characters 문자세트를 변환하는 command line 명령어입니다. tr [-c] set1 set2 tr [-c] -d set1 tr [-c] -s set1 tr [-c] -s set1 set2 1.1. 옵션 -d --delete set1에 해당되는 문자세트를 지운다. -c --complement set1을 제외한 모든 문자세트를 set2로 변환한다. set1의 여집합(set1cset1^cset1c) -s --squeeze-repeats 변환한 문자세트의 반복되는 문자를 1문자로 압축합니다. 변환할 문자세트가 단일문자 세트일 경우에만 적용할 수 있습니다. 1.2. 문자 set set1, set2에 설정할 수 있는 문자 set c1-c2 c1 문자부터 c2 문자까지 ex) ..

2021. 1. 5. 22:28
[MariaDB] 5. DDL - table schema 변경

DDL - table schema 변경 테이블명 변경 테이블 옵션 변경 컬럼 설정 변경 컬럼 추가 (ADD COLUMN) 컬럼 제거 (DROP COLUMN) 컬럼 변경 ALTER : 기본값만 변경 MODIFY : 컬럼정의 & 기본값 변경 CHANGE : 컬럼명 & 컬럼정의 & 기본값 변경 RENAME COLUMN : 컬럼명 변경 인덱스 설정 변경 1. PK PK 설정 (ADD PRIMARY KEY) PK 제거 (DROP PRIMARY KEY) 인덱스 설정 변경 2. FK FK 추가 (ADD FOREIGN KEY) ON DELETE reference_option ON UPDATE reference_option FK 제거 (DROP FOREIGN KEY) 인덱스 설정 변경 3. INDEX INDEX 추가(+..

2020. 12. 30. 17:31
[MariaDB] 4. DDL - table schema 조회, 생성, 삭제

DDL - table schema Data Definition Language table은 RDBMS에서 사용하는 데이터 모델로, 엑셀과 같은 2차원 형태의 Object입니다. table은 실질적으로 데이터가 저장된 객체로, RDBMS에서 CRUD를 행하는 대상입니다. 이번 포스팅에서는 table schema를 조회/생성/삭제하는 방법을 알아볼 것입니다. table schema 조회 table schema 생성 table_option create_definition 컬럼 정의 컬럼 데이터 타입 컬럼 옵션 컬럼 정의 예시 인덱스 정의 PLAIN 인덱스 정의 PK 정의 UNIQUE 인덱스 정의 FK 정의 FK 정의 - ON DELETE reference_option FK 정의 - ON UPDATE refer..

2020. 12. 30. 16:36
[Command-line] tail을 이용한 실시간 로그 모니터링 (+ head)

head tail 1. head 문서 앞부분을 출력합니다. -n [-]N N line만큼 출력합니다. - 기호를 붙일 경우 맨 처음 ~ 맨끝 - N line 만큼 출력합니다. -c [-]N N byte만큼 출력합니다. K, M, G, T 단위 입력 가능합니다. (ex. head -c 10M test.txt) 옵션 설정을 하지 않을 경우 default로 10 line(-n 10)이 출력됩니다. 사용 예시 head apple.txt head -n 3 apple.txt head -n -2 apple.txt head -c 10M demo.log find . -name "*.log" | head -n 1 2. tail 문서 뒷부분을 출력합니다. -n [+]N 끝에서부터 N line만큼 출력합니다. + 기호를 붙일..

2020. 12. 29. 23:32
1 ··· 19 20 21 22 23 24 25 ··· 37
JINIWORLD
© jiniworld. All rights reserved.

티스토리툴바