Programming (80) 썸네일형 리스트형 고양이 사진 docker container에서 react-native 실행하기 (안드로이드) container에서만 살기를 진행 중에 react-native를 실행하고 싶어졌다.docker나 react-native나 둘 다 막 걸음마를 하려고 하는 나에겐 쉽지 않았다.(그냥 이미 만들어진 이미지를 찾으면 되지 않았니?) 우선 우분투 18.04 에서 docker를 설치하였다. sudo apt updatesudo apt install apt-transport-https ca-certificates curl software-properties-commoncurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -sudo add-apt-repository "deb [arch=amd64] https://download.docke.. [APS.NET] 구성된 개발 웹 서버에 연결할 수 없습니다. asp.net 을 Visual Studio 에서 브라우저 보기로 웹 서버 설치 없이 실행할 수 있다. 그런데, 실행 시, 구성된 개발 웹 서버에 연결할 수 없습니다. 라는 메시지가 나올 때가 있다. 이럴 경우, Visual Studio를 관리자 권한으로 실행하면 된다. ----------------------------------------추가(2019.11.21)----------------------------- 실제 원인은 관리자 권한이 없어서가 아니라 프로젝트를 열 때 '프로젝트/솔루션'이 아닌 '웹사이트' 로 열지 않아서 생긴 문제라고 하네요. http://blog.naver.com/PostView.nhn?blogId=rickman2&logNo=221420803561&from=search&red.. [python] 반복문 index 수정하기 C++의 for문은for(int i = 0; i [CentOS] 키보드 키 변경 (컨트롤 키, capslock 키) ctrl 키와 capslock 키를 바꾸면 더 편하다고 해서 CentOS 에서 바꾸려고 하니까 잘 안 되는 것을 한참 검색하다가 발견했다. 출처는 http://superuser.com/a/290149 고 대충 번역 및 수정을 해보면 1. 현재 키보드 layout 저장하기 # dumpkeys > backup.kmap 만약을 대비해 백업을 해놓는다. 복구하고 싶을 때는 # sudo loadkeys backup.kmap 을 하면 된다. *만약에 이 명령어도 안 먹히면 재부팅을 한다. 2. keycodes 확인 # showkey showkey 를 하고 난 뒤 자신이 바꾸고 싶은 키를 누르면 그 키값이 나온다. 내 컴퓨터에서는 caps lock = 58 오른쪽 ctrl = 29 왼쪽 ctrl (노트북이라 한자키).. [C++] iterator, auto 를 이용한 stl 벡터의 합, 평균 int calculate() { int sum = 0; int temp = 0; for (auto i = testScores.begin(); i != testScores.end(); i++) { sum += *i; temp++; } int average = sum / temp; return average; } //auto pointer 를 이용한 방법 for (vector::iterator i = testScores.begin(); i != testScores.end(); i++) { sum += *i; temp++; } //auto pointer 대신에 interator 를 이용한 방법 [C++] 무한 입력받기 #include using namespace std; int main(){ while(!cin.eof()){ string n; getline(cin,n); cout [C++] cin 하고 getstring 하는 법 // Declare second integer, double, and String variables. int i2; double d2; string s2; // Read and save an integer, double, and String to your variables. cin >> i2; cin >> d2; if (getline(cin >> ws, s2)) { // eat whitespace getline(cin, s2); } // Print the sum of both integer variables on a new line. cout 이전 1 ··· 5 6 7 8 9 10 다음