aws 관련

  bastion host vs session manager https://www.lgcns.com/blog/cns-tech/aws-ambassador/40899/ https://teri0411.github.io/aws/2022/12/16/bastion-host%EC%99%80-Session-manager-%EA%B7%B8%EB%A6%AC%EA%B3%A0-bastion-Service.html https://musma.github.io/2019/11/29/about-aws-ssm.html

tmux 사용법

 `tmux`는 터미널 멀티플렉서(terminal multiplexer)로, 하나의 터미널에서 여러 개의 세션을 만들고, 창을 나누고, 백그라운드에서도 세션을 유지할 수 있게 해주는 도구야. SSH로 서버에 접속할 때 특히 유용하지. 기본적인 사용법을 아래에 정리해볼게: * * * * * ### ✅ 기본 명령어 | 동작 | 명령어 | | --- | --- | | 새 세션 생성 | `tmux` 또는 `tmux new -s 세션이름` | | 세션 목록 보기 | `tmux ls` | | 세션에 다시 접속 | `tmux attach -t 세션이름` | | 세션 종료 | `exit` 또는 `Ctrl-b` → `:` → `kill-session` | | 세션 분리(detach) | `Ctrl-b` 누른 후 `d` | * * * * * ### ✅ 창/패널 관련 | 동작 | 키 조합 | | --- | --- | | 새 창 생성 | `Ctrl-b` → `c` | | 창 간 이동 | `Ctrl-b` → 숫자 (예: `0`, `1`) | | 창 이름 변경 | `Ctrl-b` → `,` | | 수평 분할 | `Ctrl-b` → `"` | | 수직 분할 | `Ctrl-b` → `%` | | 패널 간 이동 | `Ctrl-b` → 화살표 키 | | 패널 종료 | 해당 패널에서 `exit` | | 패널 크기 조절 | `Ctrl-b` 누른 상태로 `Ctrl` + 화살표 | * * * * * ### ✅ 자주 쓰는 팁 -   세션이 끊기더라도(예: SSH 접속 종료) 세션은 유지돼서 다시 `tmux attach -t 세션이름` 하면 이어서 작업할 수 있어. -   `.tmux.conf` 파일을 이용해 키 바인딩이나 색상 등을 커스터마이징할 수 있어.

ci cd 관련 정리 블로그글 찾은거

GitLab CI/CD 구축 https://soonmin.tistory.com/87 깃랩 ci cd jenkins 차이 https://insight.infograb.net/blog/2023/08/10/gitlab-jenkins-comparision/ 배포 전략 관련 https://velog.io/@gehwan96/CICD-%EB%B0%B0%ED%8F%AC-%EC%A0%84%EB%9E%B5-%EC%A0%95%EB%A6%AC https://dev.classmethod.jp/articles/ci-cd-deployment-strategies-kr/ https://dev.classmethod.jp/author/jung-haeun/

zxing 관련 글 블로그

  https://velog.io/@yys7517/Android-Android%EC%97%90%EC%84%9C-QR-%EC%BD%94%EB%93%9C-%EB%8B%A4%EB%A4%84%EB%B3%B4%EA%B8%B0-2-Zxing https://dev-huhu.tistory.com/9 https://velog.io/@leeyjwinter/ViewModel-LiveData-%EC%9E%90%EC%B2%B4%EB%A5%BC-Data-Binding%ED%95%98%EA%B8%B0 https://heegs.tistory.com/101 https://blog.naver.com/mhh2028/221894615541 https://soft-warm-up-cookie-lab.tistory.com/234

adb

  안드로이드 스튜디오에서 실물 기기를 ADB를 통해 동일한 네트워크 IP로 연결하려면, ADB 무선 디버깅을 사용해야 합니다. 아래 방법을 따라 하면 됩니다. 1. ADB 무선 디버깅 활성화하기 (USB 연결 필요) 1. USB로 기기 연결 • 먼저 USB 케이블로 실물 기기를 PC에 연결하세요. 2. 개발자 옵션 활성화 • [설정] → [휴대전화 정보] → [빌드 번호]를 여러 번 눌러 개발자 옵션을 활성화합니다. • [설정] → [개발자 옵션]에서 USB 디버깅을 활성화하세요. 3. 기기의 로컬 IP 확인 • 기기의 현재 네트워크 IP 주소를 확인하세요. • 설정 → Wi-Fi → 현재 연결된 네트워크에서 IP 주소를 확인할 수 있습니다. (예: 192.168.0.100) 4. ADB를 통해 무선 디버깅 활성화 • PC의 터미널(CMD/Powershell or macOS/Linux의 터미널)에서 다음 명령 실행: adb tcpip 5555 • 이 명령은 기기의 ADB 포트를 5555번으로 변경하는 역할을 합니다. 2. ADB 무선 연결 이제 USB를 뽑고, 무선으로 연결하세요. 1. ADB를 통해 기기 연결 • 아래 명령을 실행: adb connect 192.168.0.100:5555 (192.168.0.100 대신 본인의 기기 IP 입력) 2. 연결 확인 • 연결된 기기 목록 확인: adb devices • 무선 연결된 기기가 device 상태로 나오면 성공! 3. 안드로이드 스튜디오에서 연결 확인 • 안드로이드 스튜디오에서 [Device Manager] 또는 [실행 → 실행 설정 (Run/Debug Configurations)]에서 연결된 기기가 정상적으로 표시되는지 확인하세요. 4. 연결 해제 • 무선 디버깅을 중지하려면: adb disconnect 192.168.0.100:5555 주의 사항 • PC와 스마트폰이 같은 Wi-Fi 네트워크에 있어야 ...

externally-managed-environment 리눅스 pip 안되는 문제

리눅스는 전역으로 pip으로 깔면 안되고 가상환경을 만들거나 해야 하는듯 externally-managed-environment https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3 The proper way to install Python libraries and applications is to install them in a Python virtual environment whenever possible  (the exceptions to this rule are quite rare). The error message describes two common ways to accomplish this: either by creating a virtual environment yourself, or for applications, by using  pipx —a tool which will create a virtual environment for you and install the application in that virtual environment. pipx  is strongly recommended for installing  applications , i.e., when you will primarily use the installed code from the command line. On Debian systems and Debian-based systems such as Ubuntu, you can install  pipx  using  apt , and then use  pipx  to install the application: apt install pipx pipx install some-python-ap...