공부
-
-
Django vs Flask공부/flask 2022. 11. 24. 00:21
1. Django https://www.djangoproject.com/ Django The web framework for perfectionists with deadlines. www.djangoproject.com 풀스택 프레임워크 MVC 기반 패턴 개발 템플릿 형태로 기능을 제공하므로 비교적 자유도가 낮음 프로젝트 개발에 적합 2. Flask https://flask.palletsprojects.com/en/2.2.x/ Welcome to Flask — Flask Documentation (2.2.x) flask.palletsprojects.com 마이크로 프레임워크 지정한 라이브러리와 패키지만 설치되어있으므로 자유도가 높음 서비스 제공 시 적합
-
MySQL AUTO_INCREMENT공부/MySQL 2022. 11. 20. 01:31
https://www.w3schools.com/mysql/mysql_autoincrement.asp MySQL AUTO INCREMENT a Field W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. www.w3schools.com 중간에 record를 삭제하는 경우에도 AUTO_INCREMENT로 설정한 column은 재정렬/초기화 되지 않는다
-
MySQL - Node.js 연동 에러 해결공부/MySQL 2022. 11. 14. 23:24
에러 메시지: Client does not support authentication protocol requested by server; consider upgrading MySQL client code: 'ER_NOT_SUPPORTED_AUTH_MODE', errno: 1251, sqlMessage: 'Client does not support authentication protocol requested by server; consider upgrading MySQL client', sqlState: '08004', fatal: true 해결 1) MySQL 접속, 아래의 쿼리 실행 select Host,User,plugin,authentication_string FROM mysql.user; 2) p..
-
[programmers] 폰켓몬 / C++공부/PS (programmers) 2022. 7. 27. 00:54
https://school.programmers.co.kr/learn/courses/30/lessons/1845 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr #include #include #include using namespace std; set pokemon; int solution(vector nums) { int answer = 0; int N = nums.size(); // 1 - 10000 for(int i=0; i
-
[MySQL] Database/Table 생성하기공부/MySQL 2022. 7. 25. 00:12
1. cmd로 MySQL 실행 mysql -u root -p 2. Database 조회 SHOW DATABASES; 3. Database 생성 및 사용 CREATE DATABASE [database_name]; USE [database_name]; 4. Table 생성 5. TABLE에 UNIQUE Key 추가 id를 기준으로 중복되는 컬럼을 허용하고 싶지 않기 때문에 id 컬럼을 UNIQUE key로 지정해줄것이다. 즉, 하나의 id에 대해서 항상 하나의 row를 유지할 것이다. ALTER TABLE [table_name] ADD UNIQUE KEY ([column_name]); 6. Table에 column 추가 🎈 맨 앞에 추가하는 경우 ALTER TABLE [table_name] ADD [colu..
-
[programmers] 이상한 문자 만들기 / C++공부/PS (programmers) 2022. 7. 20. 23:18
https://school.programmers.co.kr/learn/courses/30/lessons/12930?language=cpp 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr #include #include #include using namespace std; string solution(string s) { string answer = ""; string tmp = ""; string space_delimiter = " "; vector vec; size_t pos = 0; while ((pos = s.find(space_delimiter)) ..