
전체 글
codility의 PrettyTiling 문제를 보며 느낀점
https://app.codility.com/programmers/challenges/carol_of_the_code2022/ Carol of the Code challenge Take part in our Carol of the Code challenge. app.codility.com # you can write to stdout for debugging purposes, e.g. # print("this is a debug message") import sys sys.setrecursionlimit(10 ** 9) answer = 987654321 def solution(A): # Implement your solution here answer = 987654321 N = len(A) for i i..
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..
windows 11 wsl2 tensorflow gpu conda install
conda install nb_conda conda create -n tf28 python=3.9 ipykernel https://www.tensorflow.org/install/pip pip로 TensorFlow 설치 Check out sessions from the WiML Symposium covering diffusion models with KerasCV, on-device ML, and more. Watch on demand 이 페이지는 Cloud Translation API를 통해 번역되었습니다. Switch to English pip로 TensorFlow 설치 컬렉션을 사 www.tensorflow.org numpy 오류는 pip uninstall -y numpy pip uninstall ..
오라클 클라우드 설정들
https://blogger.pe.kr/915 [클라우드]오라클 클라우드(OCI)에 서버 구축하기 - 1. VCN 생성하기 이제 인터넷 서비스를 제공하는 스타트업을 창업할 때 클라우드에 서버를 구축하는 것이 당연한 세상이 되었다. 게다가 기존의 IT 서비스업체는 물론 Non-IT 기업들도 당연한 듯 온프레미스 환경 blogger.pe.kr https://vmleon.medium.com/how-to-run-nginx-on-ubuntu-in-the-cloud-for-free-1b34d7269418 How to run NGINX on Ubuntu in the Cloud for free We are going to run the popular web server NGINX on Ubuntu Linux in Or..
생활코딩 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..