linux tree 명령어
·
System Engineering/리눅스, 라즈베리파이
이렇게 나옴 ㅎ
apt-get update & apt-get upgrade의 의미
·
System Engineering/리눅스, 라즈베리파이
WSL2로 우분투를 윈도우10에 설치하고 tree 명령어를 설치하고자 했다. 그런데 sudo apt-get install tree를 해도 안돼! 알고보니, apt-get update를 해주지 않아서 그랬어. The command apt-get update only updates the package lists. 즉, 다운 받아올 repo의 package lists가 update 되어있지 않아서 unable to locate 메시지가 떴던거야.
Django 핀터레스트 4
·
카테고리 없음
28강 Decorator 패턴을 이용해서 자주 쓰이는 코드 간소화 from datetime import datetime def function1(): print(datetime.now()) print("Function 1 Start") print(datetime.now()) def function2(): print(datetime.now()) print("Function 2 Start") print(datetime.now()) def function3(): print(datetime.now()) print("Function 3 Start") print(datetime.now()) -> def decorator(func): def decorated(): print(datetime.now()) func() ..
Django Detail View - Authentication까지 날아감
·
카테고리 없음
파이썬 디버깅 툴
·
System Engineering/파이썬
팁)디버깅 [오후 11:53] http://pythonstudy.xyz/python/article/505-Python-%EB%94%94%EB%B2%84%EA%B9%85-PDB 예제로 배우는 파이썬 프로그래밍 - Python 디버깅 (PDB) 1. Python 디버깅 Python은 디버깅을 위해 pdb 라는 Python Debugger 모듈을 제공하고 있다. 이 디버거는 Step over/Step into, 중단점(breakpoint) 설정, 콜스택 검사, 소스 리스팅, 변수 치환 등 다양한 기능을 가지 pythonstudy.xyz
Dockerfile healthcheck 방법
·
System Engineering/Kubernetes
https://kimjingo.tistory.com/74 [Docker] Dockerfile의 HEALTHCHECK를 이용한 컨테이너 정상 동작 점검(nginx) 다음 도서를 참고하여 작성하였습니다. www.aladin.co.kr/shop/wproduct.aspx?ItemId=166082298 완벽한 IT 인프라 구축을 위한 Docker 컨테이너 기술을 사용한 애플리케이션 실행 환경 플랫폼인 ‘Docker’를 사용.. kimjingo.tistory.com