Coding(5)
-
[vscode] 변수명 일괄 변경법, 자동정렬 단축키
변수명 일괄 변경변수 선택 후 F2 or Ctrl + F2 or Ctrl + Shift + L자동정렬Windows : Ctrl + a → Ctrl + K + FMac : Command + K + F
2024.06.19 -
[Flutter, Dart] How to Use Android Studio, Flutter, Dart in VSCode, Print "Hello, World!", and Fix Errors
Large category colors : This color 1.윈도우 키 > windows powershell > 우클릭 > 관리자 권한으로 실행 Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) 복사 후 붙여넣기(설치 완료되면 choco 입력하면 버전 출력됨)참고 사이트 (..
2024.04.05 -
[Python] The answers to Python questions(How to use swap / How to use 2차원 배열(리스트) 초기화 및 값 변경 List Comprehension 를 사용한)
How to use Swapa = 1b = 2print(a,b)a,b = b,aprint(a,b)'''OutPut 1 22 1''' How to use 2차원 배열(리스트) 초기화 및 값 변경, List Comprehension 사용N = 4x_arr = [[0] * 2 for i in range(N)]y_arr = [[0 for j in range(4)] for i in range(4)]x_arr[0][1] = 33y_arr[0][1] = 33print(x_arr)print(y_arr)'''OutPut[[0, 33], [0, 0], [0, 0], [0, 0]][[0, 33, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]Improper usage(값 하나 변경 ..
2021.11.06 -
[Android] 안드로이드 스튜디오 AVD 에뮬레이터 lock 오류 해결법
Error while waiting for device: AVD Pixel_2_API_28_2 is already running. If that is not the case, delete the files at C:\Users\UserName\.android\avd/Pixel_2_API_28_2.avd/*.lock and try again. "UserName"은 컴퓨터 마다 다릅니다. 안드로이드 에뮬레이터로 디버깅하려고 앱을 실행하면 위와 같은 오류가 뜨더군요. ( 제가 해보기로는 .lock 파일들을 다 삭제해봐도 해결이 안됐습니다. ) 에러 원인에뮬레이터를 비정상 종료하면 저런 오류가 뜹니다. 해결법1. 해당 Virtual Device를 삭제하고 새로 만듭니다. ( Delete and Create De..
2020.12.20 -
[Linux] 리눅스 다운로드 방법 (가상머신 VMware + 우분투)
1. 가상머신 (VMware) 설치1) https://www.vmware.com/kr > Menu > 다운로드 > 무료 제품 다운로드Workstation Player 링크 접속 https://www.vmware.com/kr/products/workstation-player/workstation-player-evaluation.html 본인 OS 다운로드2) next3) Finish -> 바탕화면에 깔린 아이콘실행 -> 위에꺼 선택 -> Continue2. 우분투 설치1) https://ubuntu.com/download/desktop -> 다운 (이건 열거나 실행하면안돼요 파일 저장만해두세요)
2020.04.01