본문 바로가기

분류 전체보기52

[Raspberry Pi] 라즈베리파이 SD카드로 WiFi 연결하기, SSH 원격 접속하기 오늘은 오직 SD 카드 만으로 라즈베리파이 WiFi 연결하는 방법을 알아보겠다! 먼저 필요한 파일은 2개. 두 파일을 sd 카드를 꽂았을 때 나타나는 폴더에 만들어주면 된다. 1. ssh 파일 ssh라는 이름의 빈 파일을 만들어준다. *** 확장자가 없어야 한다. 2. wpa_supplicant.conf 파일 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="이름" psk="암호" key_mgmt=WPA-PSK } 위 내용을 wpa_supplicant.conf 라는 파일에 넣어준다. 이름과 암호는 아래 경로에서 확인할 수 있다. 설정 -> 네트워크 및 인터넷 -> 모바일 핫스팟 모바일 핫스팟을 켜준.. 2023. 4. 11.
[VScode] Visual Studio Code에서 C/C++ 사용하기 1. Extensions에서 C/C++과 C/C++ Extention Pack, Code Runner를 받아준다. 2. MinGW를 받아준다. 미니멀리스트 버전을 받아주면 된다. MinGW - Minimalist GNU for Windows download | SourceForge.net MinGW - Minimalist GNU for Windows Download MinGW - Minimalist GNU for Windows for free. A native Windows port of the GNU Compiler Collection (GCC) This project is in the process of moving to osdn.net/projects/mingw, you can continue to.. 2023. 4. 4.
[Programmers] 대충 만든 자판 - Python 내가 작성한 코드 def solution(keymap, targets): answer = [] dic = {} for x in keymap: for i,y in enumerate(x): if y not in dic: dic[y] = i+1 else: if dic[y] > i+1: dic[y] = i+1 for tar in targets: an = 0 for t in tar: if t not in dic: an = -1 break else: an += dic[t] answer.append(an) return answer 다른 사람이 작성한 코드에서 가져온 부분인데, keymap의 딕셔너리를 만드는 부분이 너무 깔끔해보여서 가져왔다. dic[y] = min(i + 1, hs[y]) if y in dic el.. 2023. 3. 8.
[Scalabel] Scalabel 설치 및 Video Tracking 프로젝트 생성하기 open-source web annotation tool Improve speed by using semi-automated annotations scalabel은 이미지에 주석을 달 수 있는 프로그램이다. https://www.scalabel.ai/ Scalabel Website A scalable open-source web annotation tooln www.scalabel.ai scalabel/scalabel: Scalabel: A versatile web-based visual data annotation tool (github.com) GitHub - scalabel/scalabel: Scalabel: A versatile web-based visual data annotation tool .. 2022. 11. 9.