[맥북] brew 설치하기
·
Tools
(1) 홈페이지 접속후 설치 https://brew.sh/ko//bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" (2)환경변수 설정 → 이제 안해도됨, 새터미널 켜고 brew --version 확인1단계: Homebrew 설치 위치 확인 bash# Homebrew가 실제로 설치되어 있는지 확인ls -la /opt/homebrew/bin/brew엔지니어 독백: "Apple Silicon Mac에서는 Homebrew가 /opt/homebrew에 설치돼. 설치는 됐는데 PATH에 추가되지 않아서 터미널이 못 찾고 있는 거야."2단계: 환경변수 설정왜 하는가: 터미널이 brew 명령어를 찾..
[git] git stash - 커밋하기엔 아직 좀 더 수정이 필요할 때, 임시 저장만해두기
·
Tools/깃(Git)
git stash는 작업 도중에 잠깐 저장하고, 다른 작업 하러 갈 때 쓰는 임시 보관함 git stash → 현재 변경사항을 stash(임시저장)하고 워킹 디렉토리 깔끔하게 만들어줘git stash list → stash로 저장한 내용이 있는지 확인git stash pop → 최근 stash 적용하고 그 stash는 삭제해보통 위의 두개만 사용한다.git stash show → 가장 최근 stash 안에 뭐가 들어있는지 요약 보여줘git stash show -p → 변경 내용 자세히 보여줌git stash pop → 숨긴 거 꺼내오기git stash drop stash@{0} → 특정 stash 삭제$ git stash liststash@{0}: WIP on main: 123abc4 커밋 메시지..
파이썬 시간측정 방법, 코드 , 주피터노트북 %%time
·
Tools/주피터노트북
https://bio-info.tistory.com/143 [Python] Python 코드 실행시간 측정 4가지 방법 (feat. Jupyter Notebook) Contents 1. 배경 파이썬으로 코드를 짜다보면, 코드가 엄청 오래 걸린다고 느낄 때가 있습니다. 그럴 때 함수 별로, 혹은 코드별로 걸리는 시간을 측정해 병목현상을 해결할 수 있습니다. python 라 bio-info.tistory.com
nohup으로 jupyter notebook 터미널 창 닫혀도 접속하기( 세션 끊김,백그라운드 실행)
·
Tools/주피터노트북
STEP 01. nohup설치하기 nohup은 Linux 기본으로 제공되므로, 별도로 설치할 필요가 없습니다. 설치확인 명령어 : nohup --version STEP 02 nohup으로 Jupyter notebook 켜놓기 실행하는 명령어는 간단하다 nohup [주피터 실행 명령어] Tip: 회사 컴퓨터로 실행하고 집에서 접속해서 사용하고 싶다. → 외부로 접속할 수 있도록 IP와 외부 포트를 설정해야함.(여기선 생략, 가능하다는 것만 알아두자) 아는사람은 아래와 같이 실행하면 된다. nohup jupyter notebook --ip=0.0.0.0 --port=[외부포트] --no-browser --NotebookApp.token=[토큰값] ip=0.0.0.0 : 외부 IP 넣는거 아님. 누구라도 0...
plt.imshow 함수 실행시 the kernel appears to have died. it will restart automatically. 뜨는 경우
·
Tools/주피터노트북
plt.imshow 함수 실행시 아래와 같은 에러가 뜬다  에러 로그를 확인하면  OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into ..
파이참 설치 옵션 설정의 의미
·
Tools/파이참
https://dora-guide.com/pycharm-install/ 파이참(PyCharm) 다운로드 및 설치 후 설정 방법 - 도라가이드 파이참(PyCharm) 다운로드 및 설치 후 설정 방법과 프로젝트 생성에 대한 과정까지 상세하게 설명드립니다. 설치 환경은 Windows 10 입니다. 설치할 버전은 무료 버전인 Community Edition 버전입니다. dora-guide.com
원격 주피터에 가상환경 설치하는방법 ipykernel
·
Tools/주피터노트북
https://blueriver97.tistory.com/29 Jupyter Notebook에 가상환경 Kernel 추가 1. 가상환경 활성화 $ source /bin/activate 2. 가상환경 내에서 ipykernel 설치 (가상환경)$ pip install ipykernel 3. 가상환경 내에서 커널 등록 (가상환경)$ python -m ipykernel install --user --.. blueriver97.tistory.com
git 설명
·
Tools/깃(Git)
www.slideshare.net/ibare/dvcs-git 버전관리를 들어본적 없는 사람들을 위한 DVCS - Git git Learn DVCS For beginner Distributed Version Control System www.slideshare.net