
오류확인 centos8초기버전에서 yum(또는 dnf) update할려고할시 업데이트 에러가 발생 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist 오류원인 저장소 경로가 잘못되었거나 할경우 발생할수 있던건데. 현재는(작성일 기준 : 2023-01-18) EOL로 인한 업데이트 에러. 해결방법 centos초기 버전이라 일단 아래와 같이 repo파일 수정. 기존 mirrorlist는 주석처리. https://vault.centos.org/8.5.2111/AppStream/x86_64/os/ https://vault.centos.org/8.5.2111/B..
![[파이썬]텔레그램 푸시(2023버전)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbVa7Ap%2FbtrWrJBeAov%2FhXjjlXgHyvEYTmZ59V1ea1%2Fimg.png)
파이참을 작성해서 텔레그램 푸시를 테스트해볼려고하니 기존에 사용했던 방식은 먹히지 않아 구글링해본 결과 최근 텔레그램봇이 v20으로 업데이트 되면서 문제가 발생 해서 아래와 같이 하면 동작. import telegram import asyncio chat_token = "#############################" bot = telegram.Bot(token = chat_token) text = '안녕하세요' #### 리눅스에서는 아래 코드 삭제 또는 주석처리해야함 #### asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) asyncio.run(bot.sendMessage(chat_id = "#############..
![[bash]텔넷 접속 후 명령실행(결과 화면 저장)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbVkIA2%2FbtrV47pmXWW%2FkEouDKtuncAjf5h6x4OCRk%2Fimg.jpg)
[darksharavim]cat telnet.sh #!/bin/sh tpipe(){ sleep 1; echo 'helo nice' sleep 1; echo 'quit' } tpipe | telnet smtp.nate.com 25 결과를 저장해야할 경우 [darksharavim]cat telnet.sh #!/bin/sh tpipe(){ sleep 1; echo 'helo nice' sleep 1; echo 'quit' } tpipe | telnet smtp.nate.com 25 | tee result.txt [darksharavim]cat result.txt Trying 117.53.114.15... Connected to smtp.nate.com. Escape character is '^]'. 220 *..
![[bash]변수 내 문자열 길이 확인](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FdplLOL%2FbtrV56CRzsz%2FMfky2mimmrHvuUU7BMF5B1%2Fimg.jpg)
엑셀이 있다면 len함수등으로 글자수를 카운트하겠지만 없을 경우 [darksharavim]cat test.sh #!/bin/bash dark="darksharavim" echo "${#dark}" [darksharavim]sh test.sh 12

개인정보 유출 여부 및 정보항목 조회사이트 https://image.lguplus.com/static/gen/generate/security/check/index.html 개인정보 유출 여부 및 정보항목 조회 개인정보 유출 여부 및 정보항목 조회 image.lguplus.com 회사 업무폰을 해당 통신사를 사용중이여서 조회해봄.