import requests url = 'https://httpbin.org/user-agent' user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.47 Safari/537.36' headers = {'User-Agent': user_agent} response = requests.get(url,headers=headers) html = response.content print(response.content) https://www.scrapehero.com/how-to-fake-and-rotate-user-agents-using-python-3/ ..
# https://stackoverflow.com/questions/1185524/how-do-i-trim-whitespace # 양쪽 공백 제거 s = " \t a string example\t " s = s.strip() # 오른쪽 공백 제거 s = s.rstrip() # 왼쪽 공백 제거 s = s.lstrip() # 정규식 import re pat = re.compile(r'\s+') s = ' \t foo \t bar \t ' print pat.sub('', s) # prints "foobar" https://bluesid.tistory.com/337 [python] 파이썬 trim 트림 whitespace 제거 공백 제거 python에서 공백 제거와 관련된 코드 bluesid.tistory.com
feat: (new feature for the user, not a new feature for build script) fix: (bug fix for the user, not a fix to a build script) docs: (changes to the documentation) style: (formatting, missing semi colons, etc; no production code change) refactor: (refactoring production code, eg. renaming a variable) test: (adding missing tests, refactoring tests; no production code change) chore: (updating grunt..
make `requirements.txt` in project files https://stackoverflow.com/questions/46109465/app-not-compatible-with-buildpack-heroku App not compatible with buildpack - Heroku When I run git push heroku master this is what I get: C:\Users\Emanuele-PC\Desktop\project-mm-beta>git push heroku master Counting objects: 3, done. Delta compression using up to 4 threads. stackoverflow.com
# 모든 에러 처리 try: ... except: print('에러발생') # 에러 이름 확인 try: ... except Exception as ex: print('error name: ', ex) https://wayhome25.github.io/python/2017/02/26/py-12-exception/ 파이썬 파트12. 예외처리 - try / except, raise · 초보몽키의 개발공부로그 파이썬 파트12. 예외처리 try hello world 파이썬 입문 강의 try / except 파이썬으로 프로그래밍 중에 다양한 에러가 발생할 수 있다. 이 에러가 발생하는 예외상황은 유연하게 프로그래밍을 할 수 있는 도구가 되기도 한다. 에러 예시 # IndexError >>> list = [] >>>..
https://m.blog.naver.com/jhc9639/220967352282 [개발자 면접준비]#2. nginx의 이해와 활용 개발자 면접, 프로그래머 면접을 볼 때 자주 물어보는 nginx 라는 것에 대해서 이번에 알아보도록 하겠습니... blog.naver.com https://cntechsystems.tistory.com/24 웹 서버 소프트웨어 Apache 와 NginX 비교 안녕하세요 씨앤텍 시스템즈입니다. 이번 포스트는 웹 서버 소프트웨어 중 각광받고 있는 Apache와 NginX에 대해서 비교해 보았습니다. 2017년 기준 실질적으로 작동하는 웹 사이트들에서 쓰는 웹 서버 소프트웨어.. cntechsystems.tistory.com
https://ko.wikipedia.org/wiki/REST REST - 위키백과, 우리 모두의 백과사전 위키백과, 우리 모두의 백과사전. 둘러보기로 가기 검색하러 가기 대한민국의 힙합 음악가에 대해서는 R-EST 문서를 참조하십시오. REST(Representational State Transfer)는 월드 와이드 웹과 같은 분산 하이퍼미디어 시스템을 위한 소프트웨어 아키텍처의 한 형식이다. 이 용어는 로이 필딩(Roy Fielding)의 2000년 박사학위 논문에서 소개되었다. 필딩은 HTTP의 주요 저자 중 한 사람이다. 이 개념은 네트워킹 문화에 널리 ko.wikipedia.org https://medium.com/@hckcksrl/rest%EB%9E%80-c602c3324196 REST란 RE..
sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.7 https://huybien.com/how-to-completely-uninstall-python-on-mac-os/ How to completely uninstall Python on Mac OS? | Software Development Problem: You have an issue with a Python version (e.g. the 3.7 version) and want to install another version (e.g. the 3.6 version). In order to install a fresh version you need to uninstall the current..
월별 $11 ~ $15 과금되던 비용이, 갑자기 $700 이상 과금되었음. 확인해보니, 버튼을 잘못 눌러서 EFSR 옵션이 on 되어 과금이 시작되는 것 이었음. AWS 쪽에 메일을 보내서 현상황에 대해서 향후에는 주의하고 발생하지 않도록 서비스 사용에 더욱 신중하겠다는 말씀을 드려서 credit을 받았음 2달동안 $1500 과금된 내역을 구제 받을 수 있어서, 상담해주신 상담원님과 서비스 측에 감사하다고 말씀 드림. 맨처음에는 영어로 메일 보내서 많이 답답하였으나, 한글로 메일 보내고, 한국어가 가능한 직원분과 커뮤니케이션을 편하게 나눌 수 있어서 좋았으며, 처음에 잘못된 사실을 인지하여 무례한(?) 언행을 했던 것 같지만, 상담원님은 매우 친절하게 상세하게 잘 모르던 사실을 알려주셨다. 너무 감사했다..
https://eyecandyzero.tistory.com/232 SMTP Telnet 이용 하여 메일 보내기 테스트(mail send test) 1.시작 > 실행 > cmd > telnet localhost 25 2. ehlo 127.0.0.1 3. mail from:test@domain.co.kr 4. rcpt to: your_mail@domain.co.kr 5. data 6. subject: test subject 8. test content 9. . 마지막음 마침표를.. eyecandyzero.tistory.com
http://nblog.syszone.co.kr/archives/309 [메일] sendmail에서 보내는 용량/받는 용량 제한하기. – 시스존 [메일] sendmail에서 보내는 용량/받는 용량 제한하기. by 서진우 · 2004년 2월 20일 SMTP 서버에서 보내는 양 제한하는 법. /etc/sendmail.cf 파일에서 다음과 같은 주석을 제거한다 # maximum message size O MaxMessageSize=5024000 이때 “5024000”은 byte단위이다. 위의 경우 5 메가 이상 보낼수 없으며 원 하는 용량만큼 설정하면 된다. 받는 메일서버에서 받는 양 제한하는 법. 들 nblog.syszone.co.kr
public static String mapToJson(Map map, boolean isPretty) { ObjectMapper mapper = new ObjectMapper(); try { return isPretty ? mapper.writerWithDefaultPrettyPrinter().writeValueAsString(map) : mapper.writeValueAsString(map); } catch (JsonProcessingException e) { return ""; } } https://gist.github.com/seunggabi/5ee4fb66d86a8896f5f38837f3699654 mapToJson.java mapToJson.java. GitHub Gist: instantly ..
cat /etc/os-release https://www.unixtutorial.org/check-centos-version How To: 5 Ways to Check CentOS Version One of the very first questions a Linux user asks is about confirming the release (OS version) in use. Knowing release helps with highlighting software dependencies and compatibilities, confirms av… www.unixtutorial.org
- Total
- Today
- Yesterday
- 테슬라 추천
- 테슬라 레퍼럴 코드 확인
- 테슬라 레퍼럴 적용 확인
- 책그림
- wlw
- 연애학개론
- 팔로워 수 세기
- 김달
- 테슬라 리퍼럴 코드 생성
- 메디파크 내과 전문의 의학박사 김영수
- 레퍼럴
- COUNT
- 테슬라 리퍼럴 코드 혜택
- 테슬라 리퍼럴 코드
- 모델y
- Bot
- 어떻게 능력을 보여줄 것인가?
- 클루지
- Kluge
- 개리마커스
- 모델 Y 레퍼럴
- 테슬라 크레딧 사용
- 할인
- follower
- 인스타그램
- 테슬라 레퍼럴
- 테슬라
- 유투브
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |