摘要: C:\Program Files (x86)\Microsoft Visual Studio 11.0 sc create 서비스명 binPath= "경로\등록할서비스.exe" DisplayName= "서비스명" sc delete 서비스명 Sc.exe를 사용하여 Windows 서비 阅读全文
posted @ 2019-03-27 11:32 jungil 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Truncate는 테이블 구조와 테이블의 열, 제약조건, 인덱스, FK 등은 남는다.만약 사용할 테이블에 ID열이 있다면 다시 초기화 된다.사용법은 아래와 같다 Truncate Table [초기화 할 테이블명]비슷한 기능으로 Delete와 Drop이 있다. Delete 阅读全文
posted @ 2019-03-27 11:31 jungil 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Declare @d datetime select @d = getdate() select @d as OriginalDate, convert(varchar,@d,100) as ConvertedDate, 100 as FormatValue, 'mon dd yyyy hh:miA 阅读全文
posted @ 2019-03-27 11:30 jungil 阅读(493) 评论(0) 推荐(0) 编辑
摘要: Linux / Unix 命令格式 command [-选项...] [参数...] cd [경로] -해당 경로로 이동한다. -"."은 현재 경로를, ".."은 상위 경로를 의미한다. -상대경로 혹은 절대경로를 이용해 이동 가능하다. pwd -현재 위치를 나타낸다. ls -현재 阅读全文
posted @ 2019-03-27 11:26 jungil 阅读(76) 评论(0) 推荐(0) 编辑
摘要: Linux 디렉토리 구조 / : 최상의 디렉토리인 root 디렉토리. /home : 사용자 홈 디렉토리, ID와 동일한 이름으로 디렉토리를 가짐 . /bin : 중요하다고 꼭 필요하 명령어가 있는 디렉토리, 일반 사용자의 명령어가 있는 디렉토리. /boot : 커널(v 阅读全文
posted @ 2019-03-27 11:26 jungil 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 1. 권한 ex) drwxrwxrwx root root java-rwxrwx root root Hello.java d : 폴더, - : 파일 r : read, w : write, x : rwx + rwx + rwx user group other chmod ug+rw, 阅读全文
posted @ 2019-03-27 11:25 jungil 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1. zip 打包 : zip -r [압축파일명.zip] [폴더명] 释放 : unzip [압축파일명.tar.gz] 2. tar 无压缩 打包 : tar -cvf [압축파일명.tar] [폴더명] 释放 : tar -xvf [압축파일명.tar] 3. tar.gz 压缩 打包 : 阅读全文
posted @ 2019-03-27 11:25 jungil 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 리눅스 os 버전 확인 # uname -a # cat /etc/issue 아파치(Apache) 버전 확인 # cd [apache 경로]/bin/httpd -v 톰캐(Tomcat) 버전 확인 # cd [tomcat 경로]/bin/catalina.sh version MyS 阅读全文
posted @ 2019-03-27 11:24 jungil 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Linux 서버 부팅시각 확인방법 1. last 로그확인 # last reboot 2. dmesg 로그 업데이트 시각확인 # ll /var/log/dmesg 크론탭(crontab) 설정방법 # crontab -l : 예약된 작업리스트 출력 # crontab -e : 예 阅读全文
posted @ 2019-03-27 11:24 jungil 阅读(81) 评论(0) 推荐(0) 编辑
摘要: - 기본 메타 문자 . 모든 문자와 일치 | 왼쪽 혹은 오른쪽과 일치 [] 문자 집합 구성원 중 하나와 일치 [^] 문자 집합 구성원을 제외하고 일치 - 범위 정의([A-Z]와 같은 형태) \ 다음에 오는 문자를 이스케이프 - 수량자 * 문자가 없는 경우나 하나 이상 阅读全文
posted @ 2019-03-27 11:23 jungil 阅读(73) 评论(0) 推荐(0) 编辑
摘要: DATEDIFF 입력받은 두 날짜 또는 시간이 얼마나 차이가 나는지 계산 OPTION : DD(일), HH(시),MI(분), SS(초), MS(밀리초) SELECT DATEDIFF(DD,'2013-11-11 11:22',GETDATE()) Print 20 SELECT  阅读全文
posted @ 2019-03-27 11:22 jungil 阅读(74) 评论(0) 推荐(0) 编辑
摘要: sys.objects (Transact-SQL) --TableSELECT 'DROP TABLE ' + SCHEMA_NAME(schema_id)+'.'+name AS TableToDrop FROM sys.objects WHERE type='U'--VIEWSELECT 'D 阅读全文
posted @ 2019-03-27 11:21 jungil 阅读(83) 评论(0) 推荐(0) 编辑
摘要: git 명령어 http://schacon.github.io/git/git.html octokit reference https://developer.github.com/v3/ NuGet Package https://www.nuget.org visual studio plu 阅读全文
posted @ 2019-03-27 11:19 jungil 阅读(167) 评论(0) 推荐(0) 编辑
摘要: Git bash, $ CMD $ssh-keygen -t rsa -C "your_registered_github_Email" id_rsa.pub - Github - Settings→SSH kyes→Add SSH key $ git config --global user.na 阅读全文
posted @ 2019-03-27 11:14 jungil 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 集成项目模板 webpack webpack-simple browserify browserify-simple 使用流程npm install vue-cli -g -- 安装vue命令环境 vue init webpack-simple <项目名称> 모듈 일괄 설치 cnpm instal 阅读全文
posted @ 2019-03-27 10:35 jungil 阅读(106) 评论(0) 推荐(0) 编辑
摘要: npm upgradenpm install npm@latest -gex:) npm install npm@1.1.0 -g change default path -globalnpm config set prefix "D:_knowledgeBase\nodejs\node_globa 阅读全文
posted @ 2019-03-27 10:34 jungil 阅读(76) 评论(0) 推荐(0) 编辑