분류 전체보기(113)
-
2021 KAKAO BLIND : 합승 택시 요금 (프로그래머스)
programmers.co.kr/learn/courses/30/lessons/72413?language=python3 코딩테스트 연습 - 합승 택시 요금 6 4 6 2 [[4, 1, 10], [3, 5, 24], [5, 6, 2], [3, 1, 41], [5, 1, 24], [4, 6, 50], [2, 4, 66], [2, 3, 22], [1, 6, 25]] 82 7 3 4 1 [[5, 7, 9], [4, 6, 4], [3, 6, 1], [3, 2, 3], [2, 1, 6]] 14 6 4 5 6 [[2,6,6], [6,3,7], [4,6,7], [6,5,11], [2,5,12], [5,3,20], [2,4 programmers.co.kr def solution(n, s, a, b, fares): answ..
2021.02.15 -
2021 KAKAO BLIND : 메뉴 리뉴얼 (프로그래머스)
programmers.co.kr/learn/courses/30/lessons/72411?language=python3 코딩테스트 연습 - 메뉴 리뉴얼 레스토랑을 운영하던 스카피는 코로나19로 인한 불경기를 극복하고자 메뉴를 새로 구성하려고 고민하고 있습니다. 기존에는 단품으로만 제공하던 메뉴를 조합해서 코스요리 형태로 재구성해서 programmers.co.kr 다른 사람들 코드는 라이브러리 사용한게 많아서 라이브러리 안쓴 코드 공유드려요 def solution(orders, course): answer = [] dictlist = {} for i in course: dictlist[i] = {} def comb(s, n, res): l = len(res) if n == len(s): if l in cou..
2021.02.05 -
pg_config executable not found
pg_config executable not found in docker flask에서 psycopg2를 사용하고 도커 이미지화 하는 과정에서 에러가 발생 stackoverflow.com/questions/11618898/pg-config-executable-not-found pg_config executable not found I am having trouble installing psycopg2. I get the following error when I try to pip install psycopg2: Error: pg_config executable not found. Please add the directory containing pg_config to the ... stackoverflow..
2021.01.30 -
프로메테우스 그라파나 대시보드 템플릿 적용해보기 (prometheus, grafana)
프로메테우스는 오픈소스 모니터링 서비스입니다. 이 프로메테우스에서 가져온 정보들을 그라파나(grafana)라는 시각화, 대시보드 서비스를 이용해서 보려고 합니다. grafana.com/grafana/dashboards Grafana Dashboards - discover and share dashboards for Grafana. Grafana.com provides a central repository where the community can come together to discover and share dashboards. grafana.com 저는 첫화면에 있는 Prometheus Node Exporter Full이라는 대시보드를 사용해보겠습니다. 클릭하면 이런 화면으로 넘어가고 Download..
2021.01.21 -
이상적인 DevOps 프로세스란?
Keep in mind that even organizations that have highly mature CI/CD environments still need to continuously improve their pipelines. 소스 - 빌드 - 스테이징 - 프로덕션 Continuous integration - source and build The first phase in the CI/CD journey is to develop maturity in continuous integration. 첫 단계, CI/CD 여정의, CI를 성숙하게 하는 것 모든 개발자가 규칙적으로 커밋하고, 모든 코드 변화를 머지하고 혼자만의 코드를 가진 개발자가 없게하고 등등 깃에 푸시하기전에 유닛테스트하고 do! un..
2021.01.19 -
DevOps의 모범사례 6가지
1. 지속적 통합 (Continuous Integration) 2. 지속적 전달 (Continuous Delivery) 3. 마이크로 서비스(Micro Service, MSA) 4. 코드형 인프라 (Infrastructure as Code, IaC) 5. 모니터링 및 로깅 6. 커뮤니케이션 및 협업
2021.01.17