분류 전체보기
Windows 10 FTP 서버 설정
Windows 10 FTP 서버 설정
2021.07.011. 제어판 2. FTP서버와 IIS관리 콘솔 기능 켜기 3. FTP 사이트 추가 iis 라고 입력하시면 IIS(인터넷 정보 서비스) 관리자 프로그램이 검색됩니다. 클릭하여 실행합니다. 4. FTP 사용자 추가 5. FTP 권한 부여 6. 방화벽 설정 인바운드 규칙 중 FTP 서버 관련 규칙을 '규칙 사용' 으로 변경 아웃바운드 규칙 중 FTP 서버 관련 규칙을 '규칙 사용' 으로 변경 7. 서비스 시작 * 한글명 파일 업로드 시 오류가 발생하는 경우 'UTF8 허용' 을 False 로 변경 후 다시 시작
[ Git, Github ] 기본 사용법
[ Git, Github ] 기본 사용법
2021.06.181. Git Workflow working directory : 현재 작업중인 파일이 존재하는 공간 staging area : 어느정도 작업하다가 버전 히스토리에 저장 할 준비가 되어있는 파일들을 옮겨 놓는 공간 git directory : 버전의 히스토리를 가지고 있는 git repository working directory에 작업 중이던 파일 a.py, b.py 의 수정이 완료되면 add 명령어를 통해 staging area로 보내게 되고 commit 명령어를 통해 git 버전 히스토리에 저장하게 됩니다. 이렇게 git directory에 저장된 버전은 local에만 보관되기때문에 저장 공간에 문제가 생기면 모든 히스토리를 잃어버리게 됩니다. 그래서 github 와 같은 서버에 push 명령어를 수..
[ Git, Github ] 설정하기 (초보)
[ Git, Github ] 설정하기 (초보)
2021.06.18Git 이란? Git은 버전을 편리하게 관리 할 수 있게 도와주는 도구입니다. 우리가 작업하고 있는 파일들을 원하는 순간으로 다시 돌아갈 수 있게 만들어주죠. 많은 개발자가 자신이 개발한 프로그램을 Github를 통해 관리하고 있고 Git, Github를 알고 있다면 협업할 때 큰 도움이 됩니다. Git 설치 - Git은 명령어를 기본으로 한 명령어 프로그램이기 때문에 Terminal에서 Command를 통해 배워야 다양한 기능 사용이 가능하지만 GUI 프로그램도 많이 있습니다. Git 공식 홈페이지에 가시면 관련 사용 할 수 있는 GUI Application 프로그램을 확인하실 수 있습니다. (모든 Git의 기능을 담은 GUI Application은 찾기도 힘들고 각 버튼을 클릭 시 어떠한 기능이 수행..
[ Git, Github ] 개념 정리 (초보)
[ Git, Github ] 개념 정리 (초보)
2021.06.18버전관리 웹 페이지를 개발 한다고 가정하겠습니다. 소프트웨어를 만드는 과정에서나 운영하는 과정에서 새로운 기능을 추가하거나 제거하기도 하고 수정하기도 합니다. 이러한 과정에서 이전 기능을 다시 추가하거나 실수로 인해 복원해야 하는 경우도 발생합니다. 또한 개발 과정에서 어떻게 수정되었는지 히스토리를 확인해야 하는 경우도 있습니다. 그래서 프로그램 수정 전에 중간중간 백업이 필요했습니다. 개발자는 이러한 상황에 대비하여 각 버전별로 압축하고 설명을 작성하여 보관을 했어야 했죠. 이런 백업파일이 축척되다보면 번거롭기도하고 용량도 많이 차지하게 됩니다. 협업 그리고 작은 규모의 프로젝트인 경우는 혼자 개발하여 반영하면 되지만 큰 규모의 프로젝트인 경우는 다양한 개발자와 협업하여 개발해야 합니다. 이런 경우 모..
[cycleGAN] keras contrib 설치
[cycleGAN] keras contrib 설치
2021.06.01ModuleNotFoundError: No module named 'keras_contrib' 이 발생하는 경우 keras contrib 설치 필요 pip를 이용한 설치 pip install git+https://www.github.com/keras-team/keras-contrib.git
[ 오류 해결 ] (Python) can't import threshold_adaptive from skimage
[ 오류 해결 ] (Python) can't import threshold_adaptive from skimage
2021.05.26scikit-image Update 후 threshold_adaptive을 찾을 수 없다는 오류가 발생하는 경우 scikit-image 0.15.X 버전부터 'skimage.filters.threshold_adaptive' 은 삭제 되었습니다. 'skimage.filters.threshold_local' 을 대신하여 사용하면 됩니다. # from skimage.filters import threshold_adaptive from skimage.filters import threshold_local
[Python] 자료형 - 문자열 (String)
[Python] 자료형 - 문자열 (String)
2021.05.18Python에서 문자열은 작은따옴표(') 또는 큰따옴표(")로 묶인 일련의 문자입니다. 문자열은 텍스트를 저장하고 조작하는 데 사용되며 Python에서 가장 많이 사용되는 데이터 유형 중 하나입니다. >>> a = 'this is a sentence' >>> a 'this is a sentence' >>> a = '123' >>> type(a) str >>> "Hello World" # 큰 따옴표로 감싸기 >>> 'Python is fun'# 작은 따옴표로 감싸기 >>> '''this is also a string''' # 작은 따옴표 3개를 연속으로 써서 감싸기 >>> """this is a string"""# 큰 따옴표 3개를 연속을 싸서 감싸기 문자열 연산 >>> 'let\'s ' + 'add th..
[Python] 숫자형
[Python] 숫자형
2021.05.18정수 123, -345, 0 실수 123.45, -1234.5, 3.4e10 8진수 0o34, 0o25 16진수 0x2A, 0xFF 정수형(integer) >>> a = 123 >>> a 123 >>> type(a) int 실수형(floating-point) >>> a = 6.2 >>> a 6.2 >>> type(a) float # 실수형을 다음과 같이 컴퓨터식 지수 표현 방식(scientific notation)으로 표현가능 >>> a = 6.2e-23 # 6.2*10^-23를 의미 >>> a = 6.2E-23 # 위와 같음 복소수(complex) >>> a = complex(1, 3) >>> a (1+3j) >>> type(a) complex >>> a = 3-4j >>> a (3-4j) >>> ty..
파이썬 패키지 PIP로 오프라인 설치 (폐쇄망)
파이썬 패키지 PIP로 오프라인 설치 (폐쇄망)
2021.03.04인터넷을 연결할 수 없는 환경에서는 오프라인으로 파이썬 패키지 설치가 필요합니다. 1. pip를 이용하여 패키지 다운로드 pip download ## 버전을 지정 pip download six==1.13.0 -d /pipdownload download를 수행한 패키지와 관련 패키지가 다운로드 됨 더보기 참고로 패키지 다운 받은 서버와 실제 설치할 서버(폐쇄망)의 os나 Python 버전이 다른 경우에는 패키지도 다르기 때문에 version 문제가 발생할 수 있다. 가능한 실제 설치할 서버 환경에 맞춰서 패키지를 다운받아야 합니다. 2. pip를 이용하여 패키지 설치 ## 패키지 개별 설치 pip install --no-index --find-links=. pyinstaller ## 패키지 목록으로 설치 ..
EDS(Easy Data Sync) - Database Migration & Synchronization
EDS(Easy Data Sync) - Database Migration & Synchronization
2021.03.02시스템을 운영하다보면 테스트 DB에 반영하고 단위테스트와 통합테스트를 진행하고 변경한 데이타를 운영기에 반영해는 경우가 많습니다. 동일한 DBMS이거나 한 두개 정도의 테이블만 복제/동기화 해야한다면 시중에 잘 알려진 복제 툴을 사용해도 문제가 아닐 것입니다. 허나 시스템이 방대해지면서 여러 종류의 DB와 Table을 사용해야하고 특정 데이타만 동기화 하고 싶다면 단순한 복제 툴로 해결하기 어려워 집니다. 실제로 하나의 기준을 설정하기 위해 84개의 테이블에 접근하고 800Row에 가까운 Insert가 이루어집니다. 화면을 통해 기준을 넣다보면 4~6시간이 소요됩니다. EDS (Easy Data Sync) - Database Migration & Synchronization EDS 솔루션은 Databas..
ZOOM 화상회의 시간 무료로 무제한 이용 (`21.7월말 기준으로 종료)
ZOOM 화상회의 시간 무료로 무제한 이용 (`21.7월말 기준으로 종료)
2021.03.02교육기관 무료계정을 대상으로 한 무제한 미팅 지원이 2021년 7월 31일기준으로 폐지되었습니다. 최근 코로나로 인해 재택근무가 증가하면서 화상회의의 이용이 점점 늘고 있습니다. 그런데 무료계정은 40분으로 제한이 되어 있어 회의가 길어지면 회의를 다시 생성해야하는 불편함이 있습니다. 하지만 네이트 계정 이메일 또는 학교 이메일으로 가입을 하면 시간제한 없이 무제한 사용이 가능합니다. 코로나로 인해 일시적으로 적용 중인 것 같습니다. 1. 네이트 계정 생성 (네이트 계정이 이미 존재하거나 학교 이메일이 있는 경우 Skip) 2. 네이트 이메일 또는 학교 이메일을 이용하여 ZOOM 무료 가입 ( https://zoom.us/ ) 3. ZOOM에 로그인하여 문구 확인 * ZOOM 다운로드 페이지 이동 더보기..
[Python] Requests와 Fiddler 동시 사용 (Jupyter notebook)
[Python] Requests와 Fiddler 동시 사용 (Jupyter notebook)
2021.02.18Fiddler가 수행중인 상태에서 https 규약 사이트를 Requests로 Post() Get()을 수행하면 아래와 같은 오류가 발생합니다. ProxyError: HTTPSConnectionPool(host='www.tistory.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1074: The handshake operation timed out'))) Fiddler 에서 인증서를 내보낼 수 있는데 이를 활용하여 해결 할 수 있습니다. 1. Tools > Options 선택 2. [HTTPS] 탭으로 이동 > Decrypt HTTPS traff..