개발51 [java] 빌드패턴 public class PersonInfo{ private String name; //필수적으로 받야할 정보 private int age; //선택적으로 받아도 되는 정보 private int phonNumber; //선택적으로 받아도 되는 정보 private PersonInfo(){ } public static class Builder{ private String name; private int age; private int phonNumber; public Builder(String name){ this.name = name; } public Builder setAge(int age){ this.age = age; return this; } public Builder setPhonNumber(int .. 2023. 2. 8. NestJS 설치 1. node.js 설치 https://nodejs.org/ko/download/ 다운로드 | Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. nodejs.org 2. nestJS 프로젝트 생성 - npm 패키치 관리자 설치 https://www.npmjs.com/ npm i -g @nestjs/cli - 프로젝트 초기화 nest new project-name - 패키지 설치 및 실행 npm install // 필요한 패키지를 설치합니다. npm run start https://wikidocs.net/148194 2023. 2. 7. [IntelliJ] 콘솔 한글 깨짐 1. 쉬프트 빠르게 2번 클릭 2.VM Options 검색 - 사용자 지정 VM 옵션 편집 클릭 3. 하단 코드 추가 및 재시작 -Dfile.encoding=UTF-8 2023. 2. 2. tmp ci_session 삭제 1. 셀 작성 # vi /tmp/del_ci_session.sh #! /bin/sh find /tmp/ -name 'ci_*' -mtime +1 -delete -mtime +1 -delete : 1 일이상 지난 내용 2. 권한 설정 # chmod 755 del_ci_session.sh 3. 크론탭 설정 # crontab -e #/tmp ci_session 삭제 0 0 * * * /tmp/del.sh 2022. 7. 29. 이전 1 2 3 4 5 6 ··· 13 다음