728x90 반응형 개발환경44 [CE] Process versus Thread Process versus Thread (OS관점)1. Process (프로세스)Process는 자신을 위한 독립된 메모리 공간 등의 리소스를 차지한 상태에서 실행 중인 프로그램의 instance라고 볼 수 있음. 독립된 execution unit (실행 단위)이며, self-contained(자체포함) unit임.하나의 프로세스는 자신을 위한 독립되고 격리된address space(=memory space)와User Space에 고유의 data, heap, stack 영역으로 구성된 address space를 가짐.: https://dsaint31.tistory.com/421Kernel Space에 고유의 PCB (Process Control Block)을 가짐: OS가 Process Table로 관리.. 2023. 12. 27. [vscode] How to completely uninstall vscode on Mac 다음과 같이, brew uninstall을 이용하거나, brew uninstall visual-studio-codebrew list 로 vscode의 설치명을 확인하는 것을 권함. 다음과 같이, Finder 의 Applicaitons 을 열어서 거기에 있는 VSCode를 trash bin으로 이동시킴. 이후 VSCode 의 extensions 와 설정들을 지운다 (이 단계는 완전제거시에만 해도 된다.)rm -fr ~/.vscode*rm -fr ~/Library/Application\ Support/Code/rm -fr ~/Library/Saved\ Application\ State/com.microsoft.VSCode.savedState/rm -fr ~/Library/Preferences/com.micr.. 2023. 12. 15. [vscode] How to install vscode: macOS, Linux, Windows How to install vscodemacOS, Linux, 그리고 Windows에서의 vscode 설치에 대한 방법을 다룸.MacOShomebrew를 이용하여 설치하는 것이 가장 편한 방법임.brew install --cask visual-studio-codeReferencehttps://formulae.brew.sh/cask/visual-studio-code visual-studio-codeHomebrew’s package indexformulae.brew.sh2023.12.15 - [Mac] - [Homebrew] 사용법 요약본 [Homebrew] 사용법 요약본brew --version brew의 버전을 출력함. brew update brew를 최신버전으로 업데이트. brew upgrade bre.. 2023. 12. 15. [vscode] external terminal 사용하기 Mac OS에서 기본 terminal 대신 주로 사용되는 iterm2를 사용하기 위해서는Settings (ctrl+,)에서 설정이 필요함. Settings 를 열고 난 후 상단의 다음 그림과 같이 Osx Exec 항목에서 iTerm.app로 변경을 해줌.Explorer에서 Terminal을 열 때에도 iterm2를 사용하기 위해서는역시 Settings (ctrl+,) 에서Explorer Kind 를 입력하고, 선택을 external로 지정한다.이 경우, Explorer 에서 우클릭한 경우 다음과 같이 Open in External Terminal 이 보임.같이보면 좋은 자료들2025.01.17 - [utils] - [summary] vscode [summary] vscodevscode 소개 (visual.. 2023. 12. 15. [CE] shortcuts (or hot-keys, 단축키) : Basic Function Windows mac desc 한자키 한자키 option + enter 특수문자 (기호, 이모티콘) (여러자음키)+한자키 or (여러자음키)+ctrl+space ctrl + cmd + space 윈도우에서 특수문자 입력 위한 자음별 정리 copy ctrl+c cmd + c paste ctrl+v cmd + v cut ctrl+x cmd + x undo ctrl+z cmd + z redo ctrl+y cmd + shift + z select all ctrl+a cmd + a 첫 줄로 이동 ctrl+home cmd + ⬆️ 마지막 줄로 이동 ctrl+end cmd + ⬇️ 현재 행에서 맨 앞으로 이동 home cmd + ⬅️ 현재 행에서 맨 뒤로 이동 end cmd + ➡️ 검색 win + .. 2023. 12. 15. [conda] shell에서 conda 명령어가 제대로 동작하지 않을 때 : conda init 아주 가끔 conda를 설치를 했지만 PATH 등에 conda의 실행파일들의 경로가 안 잡혀서 conda activate 등이 전혀 동작하지 않는 경우가 있음. 주로 shell 을 바꾼 경우나 설치 중 초기화 부분에 문제가 있을 때 발생하는 문제로 conda init 을 통해 .bashrc 나 .zshrc 등의 설정을 수정하면된다. bash 기준 conda init bash source .bashrc 수행. zsh 기준 conda init zsh source .zshrc 확인하기 각 shell의 설정파일에 다음의 블럭이 마지막에 추가되었다면 이후 제대로 수행될 것임. # >>> conda initialize >>> # !! Contents within this block are managed by 'co.. 2023. 10. 24. 이전 1 2 3 4 5 6 7 8 다음 728x90 반응형