본문 바로가기
반응형

2020/04/273

[VueJs] CKEditor 연동하기 // 설치 npm i --save @ckeditor/ckeditor5-vue @ckeditor/ckeditor5-build-classic // package.json 확인 "dependencies": { "@ckeditor/ckeditor5-build-classic": "^16.0.0", "@ckeditor/ckeditor5-vue": "^1.0.1" } // template 파일 샘플 팁 언어를 한국어(ko) 로 지정을 해도 메뉴들이 여전히 영어로 나올 경우, 한국어를 직접 참조할 수 있도록 추가 import '@ckeditor/ckeditor5-build-classic/build/translations/ko'; 참조 URL : https://ckeditor.com/docs/ckeditor5/lates.. 2020. 4. 27.
[GIT] 윈도우 PowerShell 에서 git clone 후 github desktop에서 보기 git desktop 설치 : https://desktop.github.com/ git clone으로 소스 가져오기 // 빈 디렉토리 만들고 powershell 호출 // repository clone git clone ssh://[gituser]@[gitlab server]/[gitlab reopsitory] // github desktop 실행 File > Add local repository 클릭 repository 디렉토리 선택 2020. 4. 27.
[Python] 이름으로 특정 프로세스 종료 시키기 보통 콘솔에서 동작을 시킬때 동일한 프로그램이 좀비형태로 안죽고 있거나, 일정 시간 오버해서 동작하는 경우 강제로 종료시켜야할 필요성이 있을때 사용하면 유용합니다. import psutil # python filename.py로 실행된 프로세스를 찾음 for proc in psutil.process_iter(): try: # 프로세스 이름, PID값 가져오기 processName = proc.name() processID = proc.pid if processName[:6] == "python": // 윈도우는 python.exe로 올라옴 commandLine = proc.cmdline() # 동일한 프로세스 확인. code 확인 if 'filename.py' in commandLine: parent_p.. 2020. 4. 27.
반응형