vscode) 터미널 선택 색상 변경 open default setting 으로 defaultSettings.json 파일은 read-only로 수정이 불가능하다.유저세팅을 바꾸면 자동으로 오버라이드된다. { "workbench.colorCustomizations": { "terminal.selectionBackground": "#FFD700" }}추가하여 작성하고 리로드하면 터미널 선택색상이 변경되어 가시성이 좋아진다. Settings/Setting 2025.08.06
Git) 계정 2개 같은 호스트로 사용하기 https://juzdalua.tistory.com/5 Git 여러 계정 사용하기회사계정, 개인계정을 하나의 컴퓨터에서 사용하다보면 repository에 접근하기가 어려워진다.이를 위한 해결책은 bash에서 ssh key를 이용한 방법이 있다. 1. rsa 키 만들기ssh-keygen -t rsa -C "깃헙계정@emjuzdalua.tistory.com 위 글은 2달차 신입이 작성한 글이라 지금 다시 봐도 어지럽다.그래서 다시 작성한다. 먼저 깃 계정 2개가 필요하다. 회사계정 1개, 개인 계정 1개라 가정한다.계정1: a@a.a계정2: b@b.b 각각 키를 만들고, 각 계정의 Git ssh 정보를 입력한다.ssh키의 정보는 .pub 파일이 아닌 확장자가 명시되지 않은 파일의 내용을 전부 복사하면 된다... Settings/Git 2025.08.01
Mac에서 ngrok으로 로컬 서버 열기 https 웹훅이나 쿠키를 포함한 프론트엔드와의 통신에서 https가 아니면 제한사항이 발생한다.Apple auth와 같이 웹훅 url을 필수로 https를 요구하는 경우.https only 쿠키를 사용하여 credential을 활용하는 프론트엔드와 통신하는 경우.http://localhost, http://192.168.x.x 등에서 프론트엔드와 개발환경을 테스트 하고 싶을 경우 ngrok을 사용하면 유연하게 대응할 수 있다. 설치brew install ngrok 버전 확인ngrok versionls -al ~/Libarary/Application\ Support/ngrok 처음 설치했다면 ngrok.yml 파일이 없을것이다.여기에 auth key를 입력하면 된다. token 발급ngrok 웹페이지에서.. Settings/Setting 2025.08.01
Window) Gemini AI 사용하기 # Gemini 설치npm i -g @google/gemini-cli 파워쉘 관리자모드에서 세팅set-executionPolicy remotesigned # Gemini 실행gemini실행 후 구글로 로그인하면 프롬프트창이 활성화된다.mcp 서버 주입.gemini/settings.json 프로젝트 루트 파일에 위 폴더와 파일을 만든 후, settings.json 파일에 추가하면 제미나이 실행 시 mcp 서버가 추가된다.미결제 시 구글 계정으로 이용. 1일 1,000회 무료미결제 시 사용자 및 입력 정보 수집 및 활용.결제시 API 토큰으로 이용. 정보 수집 및 활용 하지 않음. Settings/Setting 2025.07.02
PM2) 컴퓨터 부팅시 PM2 자동실행 시작프로그램에 실행파일을 넣어두면, 컴퓨터 부팅 후 자동으로 실행한다.pm2를 구동하고 컴퓨터를 재부팅하면, 이전 pm2 목록들은 사라진다.pm2 list를 저장해놓고 컴퓨터가 부팅될 때마다 목록을 불러온다. 1. pm2 실행 및 저장2. 배치파일 생성pm2 resurrect3. 배치파일 시작프로그램에 등록 시작프로그램 진입shell:startup 파일 복사이제 재부팅하면 설정한 배치파일이 자동으로 실행되며, pm2 목록이 불러와져 pm2가 구동된다. Settings 2025.04.25
Window) batch파일 만들기 메모장에 내용을 작성한다.txt 확장자를 bat로 바꾼다.@echo offrem 폴더 이동cd /d "C:\Users\%USERNAME%\Desktop"rem cmd 로그 출력echo [Notice] Wait 10 seconds for program to turn on...rem 타임아웃 -> 블라킹 걸린다.timeout /t 10 /nobreak >nulrem exe파일 실행start test.exerem 새 cmd창 열어서 pm2 실행cd /d "C:\Users\%USERNAME%\Desktop\node\test-project"npm run build && start cmd /k "pm2 start C:\Users\%USERNAME%\Desktop\node\test-project\ecosystem.c.. Settings/Setting 2025.02.25
Powershell) 켜진 port 끄기 # 포트 확인netstat -ano 3000번 포트를 끄고싶다면 검색 0.0.0.0:3000, [::]:3000 두개의 PID가 존재하는데, PID는 동일하다. taskkill /F /PID 22540 PID를 죽인다특정포트를 찾고싶다면netstat -ano | findstr :3000 Settings/Setting 2025.02.13
Window Powershell Vim 에디터 사용하기 1. 다운로드https://www.vim.org/download.php download : vim onlineDownloading Vim Vim is available for many different systems and there are several versions. This page will help you decide what to download. Most popular: Details and options for: Mirrors Alternative sites to download Vim files from. Sources Build Vim yourwww.vim.org2. 설치Create .bat files 체크 설정3. 실행vim FILE_NAME Settings/Setting 2025.01.21
Window nginx loadbalancing test in localhost 1. 다운로드 및 환경변수 추가https://nginx.org/en/download.html nginx: download nginx.org C 폴더에 압축 해제 환경변수 추가2. 설정파일(nginx.conf) 설정 http 블락에 아래 설정 내용을 추가한다.클라이언트는 5000번 포트로 접근을 시도하고, nginx에서 4001번과 4002번 포트의 서버에 배분한다.# nginx.conf# 5000번 포트로 접속된 클라이언트를 4001, 4002 포트 서버로 리버스프록시...http { upstream local_test_server { # default: 라운드로빈 server localhost:4001; server localhost:4002; } server .. Settings/Setting 2025.01.17
Window Powershell -> git ssh-add 사용하기 0. 에러1. ssh-agent 서비스가 사용중인지 확인한다.# ssh-agent 서비스 작동 확인Get-Service ssh* 2. 관리자 권한으로 파워쉘을 실행하고 아래 서비스를 실행한다.Set-Service -Name ssh-agent -StartupType AutomaticStart-Service ssh-agent3. 실행 확인 4. .ssh 폴더에 config 파일을 알맞게 수정한다.# config# JuzdaluaHost github.com HostName github.com User git IdentityFile ~/.ssh/id_rsa_juzdalua Settings/Setting 2025.01.10