프로그래밍 언어 및 기타

    ipynb 상위폴더 가기

    import os from pathlib import Path from glob import glob path = Path(globals()['_dh'][0]) parent_path = path.parent.absolute() %cd $parent_path

    python oauth2 openid connet token verify 하는방법

    https://developers.google.com/identity/openid-connect/openid-connect OpenID Connect | Authentication | Google Developers 이 페이지는 Cloud Translation API를 통해 번역되었습니다. Switch to English 의견 보내기 OpenID Connect 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. Google의 OAuth 2.0 AP developers.google.com https://google-auth.readthedocs.io/en/master/reference/google.oauth2.id_token.html?highlight=verify_oauth2_t..

    생활코딩 Docker Docker compose 정리

    https://www.youtube.com/watch?v=EK6iYRCIjYs 저 docker-compose.yml이 있는 파일 경로에서 docker-compose up 해주면 적어놓은 것들의 컨테이너들을 알아서 만들어 실행해준다. services 하나에 묶여있으면 알아서 하나의 네트워크임. docker-compose down 하면 끔.

    생활코딩 Docker 이미지 만드는 법 - Dockerfile & build 정리

    https://www.youtube.com/watch?v=0kQC19w0gTI Dockerfile FROM ubuntu:20.04 RUN apt update && apt install -y python3 WORKDIR /var/www/html # RUN echo "Hello, docker" > index.html COPY ["index.html", "."] CMD ["python3", "-u", "-m", "http.server"] 이 Dockerfile 이 있는 위치에서 파일도 만들고 명령어들을 실행하면 된다. index.html Hello, docker 쳐야하는 명령어들. docker build -t web-server-build . docker rm --force web-server docker r..

    codecamedy의 learn SQL 4. Multiple Tables

    https://www.codecademy.com/learn/learn-sql SQL Tutorial: Learn SQL For Free | Codecademy Learn SQL - a language used to communicate with databases using SQL and learn how to write SQL queries. www.codecademy.com 1. Combining Tables with SQL SELECT * FROM orders JOIN customers ON orders.customer_id = customers.customer_id; 내가 보고싶은 주 테이블은 orders. 여기에 customers의 추가 정보를 붙이고 싶다. join을 한다. 여기에 where를 ..

    codecamedy의 learn SQL 3. Aggregate Functions

    https://www.codecademy.com/learn/learn-sql SQL Tutorial: Learn SQL For Free | Codecademy Learn SQL - a language used to communicate with databases using SQL and learn how to write SQL queries. www.codecademy.com 1. Count SELECT COUNT(*) FROM table_name; 해당하는 조건의 row 갯수. 2. Sum SELECT SUM(downloads) FROM fake_apps; 해당하는 조건의 row 들의 합. 3. Max / Min SELECT MAX(downloads) FROM fake_apps; 해당하는 조건의 row..

    codecamedy의 learn SQL 2. Queries

    https://www.codecademy.com/learn/learn-sql 1. SELECT SELECT * FROM table_name; SELECT column1, column2 FROM table_name; table의 column의 값들 확인 2. As SELECT name AS 'Titles' FROM movies; 3. Distinct SELECT DISTINCT tools FROM inventory; 4. Where SELECT * FROM movies WHERE imdb_rating > 8; 5. Like SELECT * FROM movies WHERE name LIKE 'Se_en'; where에 등호 대신 like를 써서 정규식 비슷한게 가능하다. _ 엔 아무 글자나 가능. 한 글자...

    electron-vue 앱 만들기

    npm install -g @vue/cli vue create my-app cd my-app vue add electron-builder ============================ vue create electron-vue-app3 cd electron-vue-app3 vue add electron-builder vue add tailwind yarn add path-browserify yarn add @heroicons/vue yarn add vue-toast-notification https://medium.com/swlh/how-to-safely-set-up-an-electron-app-with-vue-and-webpack-556fb491b83

    생활코딩 Docker 입문수업 정리

    https://opentutorials.org/course/4781 생활코딩 Docker 입구 수업 - 생활코딩 수업소개 vmware, virtualbox와 같은 가상머신처럼 독립된 실행환경을 제공하면서도, 성능의 저하가 훨씬 적은 도커에 대해서 알려드립니다. 수업대상 일하는 조직에서 도커를 쓰고 있는 분 개발환 opentutorials.org https://docs.docker.com/reference/ Reference documentation docs.docker.com Command-line reference -> Docker CLI (docker) 또 까먹을거라 정리한다. 1. 도커란 2. 도커 설치 홈페이지에서 알아서 3. 이미지 pull 허브에서 받아라. image는 iso 같은거고 허브에서..

    codecamedy의 learn SQL 1. Manipulation

    https://www.codecademy.com/learn/learn-sql SQL Tutorial: Learn SQL For Free | Codecademy Learn SQL - a language used to communicate with databases using SQL and learn how to write SQL queries. www.codecademy.com Learn how to use SQL to access, create, and update data stored in a database. 딱 봐도 까먹을 각이라 적어놓는다. 1. SELECT SELECT * FROM celebs; 2. CREATE CREATE TABLE celebs ( id INTEGER, name TEXT, a..