시행착오 (29) 썸네일형 리스트형 맥북 초기세팅 꿀팁 https://youtu.be/eHU-nXlcW1U How to make a system tray application in Tkinter? 파이썬 tkinter 로 시스템 트레이 애플리케이션 만드는 예시 코드 https://www.tutorialspoint.com/how-to-make-a-system-tray-application-in-tkinter How to make a system tray application in Tkinter? How to make a system tray application in Tkinter? A System Tray application is created for the continuous execution of the program. Whenever an application is closed by the user, it will get its state running on the taskbar. To identify a system tray appli www.tutoria.. Mac OS 에서 포트포워딩(port forwarding) 하는법 - pfctl 로컬호스트 8000 => 로컬호스트 3000 으로 하는법과 삭제법은 다음과 같다. #!/usr/bin/env bash # forward localhost:8000 to localhost:3000 echo "rdr pass on lo0 inet proto tcp from any to 127.0.0.1 port 8000 -> 127.0.0.1 port 3000" | sudo pfctl -ef - # remove it sudo pfctl -F all -f /etc/pf.conf 참고) https://gist.github.com/sbolel/db5ad50c3f72c6a18ab6c7e7a924dcb9 외부에서 오는 모든 [80 포트 트래픽을 로컬호스트 8080] 으로, [443 포트 트래픽을 로컬호스트 8443].. [Python] Python 심볼릭 링크 설정 [Linux] yum 실행 시 Keyboard.. : 네이버블로그 (naver.com) [Linux] yum 실행 시 KeyboardInterrupt, e 에러 OS 에 default 로 설치된 python 의 버전을 교체하면 아래와 같은 에러가 발생할 수 있다. 이것은 /usr/b... blog.naver.com https://eehoeskrap.tistory.com/316 [Python] Python 심볼릭 링크 설정 Python 은 버전 관리 하는 것이 필수이다. 나중에 Python Dependency 가 꼬여버리면 컴퓨터를 포맷하거나 일일히 꼬인 링크들을 제거해줘야하는 번거롭고 끔찍한 일이 발생한다. pip 도 마찬가지이다. eehoeskrap.tistory.com centos7 환경에서 pyth.. SCP 명령어 - 서버에서 서버로 파일 전송 https://helloitstory.tistory.com/242 [VPS] SCP 명령어 - 서버에서 서버로 파일 전송 SCP 명령어는 서버에서 서버로 파일 전송할때 유용히 사용할 수 있는 명령어이다. 1) 원격 서버 → 로컬 서버로 파일 전송 # scp [옵션] [계정명]@[원격지IP주소]:[원본 경로 및 파일] [전송 helloitstory.tistory.com https://vivaland.tistory.com/11 리눅스 서버에서 윈도우로 파일 가져오기 (PuTTY 사용) https://www.putty.org pscp [서버계정]@[서버IP]:[파일이 위치한 디렉터리경로] [윈도우에 받을 디렉터리경로] ex) pscp root@192.0.0.0:/home/user c:\temp vivaland.. [mysql] innodb_buffer_pool_size 최적 크기 A larger buffer pool requires less disk I/O to access the same table data more than once. On a dedicated database server, you might set the buffer pool size to 80% of the machine's physical memory size. 물리적 메모리 크기의 80% 4기가 메모리라면 약 3.2기가로 설정 (서버가 데이터베이스만으로 사용될시) [추가] When the size of the buffer pool is greater than 1GB, setting innodb_buffer_pool_instances to a value greater than 1 can improve th.. 블로그에 코드 넣기 Color Scripter - (추가)코드 한쪽으로 치우치는 문제 수정 https://colorscripter.com/ Color Scripter Simple & Flexible Syntax HighLighter colorscripter.com https://gabii.tistory.com/entry/Tistory-Blog-%EB%B0%94%EB%80%90-Color-Scripter-%EB%B3%B5%EC%82%AC-%EB%B0%A9%EB%B2%95-%EC%82%AC%EC%9A%A9 [Tistory Blog] 바뀐 Color Scripter 복사 방법 사용 이번 포스팅은 블로그에 코드를 첨부할 때 잘 사용하던 Color Scripter의 복사 방법이 바뀐 것에 대해 포스팅해보도록 하겠습니다. 티스토리 블로그 포스팅할 때 저는 Colort Scripter라는 사이트를 사 ga.. [python] dictionary(딕셔너리)의 clear(), {} 차이 https://brownbears.tistory.com/21 [Python]Dictionary의 clear()와 {} 차이점 아래와 같은 dict 타입의 변수가 존재한다고 할 때, 첫 번째와 두 번쨰의 차이점은 무엇일까? dict_test={"a":"1","b":"2"} #1 dict_test.clear() #2 dict_test={} 두 코드 기능은 "지운다" 라는 점에 있어 동일합.. brownbears.tistory.com dict_tmp1 = dict() dict_tmp1 = dict_tmp2 dict_tmp2 = {} # dict_tmp2 재할당, dict_tmp1 영향 X dict_tmp1 = dict() dict_tmp1 = dict_tmp2 dict_tmp2.clear() # dict_tm.. 이전 1 2 3 4 다음