sudo apt-get update && sudo apt-get dist-upgrade sudo apt-get install mysql-server sudo ufw allow mysql sudo systemctl start mysql sudo systemctl enable mysql sudo /usr/bin/mysql -u root -p CREATE USER 'seunggabi'@'%' IDENTIFIED BY '********'; GRANT ALL PRIVILEGES ON *.* TO seunggabi@'%'; FLUSH PRIVILEGES; sudo /usr/bin/mysql -u seunggabi -p # open port sudo iptables -I INPUT -p tcp --dport 3306..
https://engineering.linecorp.com/ko/blog/line-notify-with-node-js-python-1-basic/ Node.js와 Python으로 LINE Notify 사용해보기(1) - 기본 - LINE ENGINEERING 안녕하세요. LINE Developer Relations 팀의 Developer Advocate 윤인성입니다. 오늘은 LINE이 무료로 제공하고 있는 LINE Notify API에 대해서 함께 살펴보도록 하겠습니다. 서버를 운영할 때는 서버에 문제가 생겼을 때 등의 상황에서, 이를 즉각적으로 알 수 있는 장치가 필요합니다. 이를 위해서 다양한 Notification API를 활용하게 되는데요. LINE은 무료로 쉽게 사용할 수 있는 Notificat..
it's private https://stackoverflow.com/questions/20677249/why-we-add-underscore-before-variable-name Why we add _ (underscore) before variable name? I know this can be silly question but I actually don't know that why we add _ (underscore) before variable name in java while Variable declaration. I have tried on google but I actually can't find... stackoverflow.com
https://engineering.linecorp.com/ko/blog/line-messaging-api-samplebot/ LINE Messaging API 사용해보기 - LINE ENGINEERING 안녕하세요. 이번 글에서는 LINE에서 제공하는 LINE Messaging API에 대해 간단히 알아보려고 합니다. 채널을 열고 heroku를 이용해 샘플봇을 빌드하고 실행한 후, 내 LINE 계정과 테스트 메시지를 주고 받는 것까지는 코딩이 '하나도' 들어가지 않습니다(단, 기본적으로 git이 설치되어 있고 간단한 사용법은 알고 있다고 가정하겠습니다). 그럼 부담없이 시작해보겠습니다. engineering.linecorp.com https://github.com/happyhj/dhsports-line..
git init git add . git commit -m "init project" git remote add origin https://github.com/seunggabi/repo.git git remote -v git remote set-url origin https://github.com/seunggabi/repo.git git push origin https://geoseong.tistory.com/59 Git : 원격 repository의 연결 url 변경 참고url : https://help.github.com/articles/changing-a-remote-s-url/ Git : 원격 repository의 연결 url 변경 맨 처음 로컬에 Git repository를 아래처럼 세팅 했을 ..
brew install python3 # linux sudo apt-get update && sudo apt-get dist-upgrade sudo apt-get install python3 # mac brew install python brew install python3 python3 -m venv venv source venv/bin/activate pip install --upgrade pip pip -V python --version pip3 -V python3 --version deactivate https://stackoverflow.com/questions/17271319/how-do-i-install-pip-on-macos-or-os-x How do I install pip on macO..
ServiceContext.setContentType("application/octet-stream"); ServiceContext.setHeader("Content-Disposition", disposition); # IE11 - rv:11.0 # IE - MSIE # Edge - Edge # Android - Android # Safari - Safari "attachment; filename=%s", URLEncoder.encode(filename, "UTF-8").replaceAll("\\+", "%20") # Firefox - Firefox # Chrome - Chrome # iPhone - iPhone "attachment; filename=%s", new String(filename.getB..
# 두번 적어줘야 escape 가 된다. '##TEST##' # 쿼리 수행시 '#TEST#' '$$TEST$$' # 쿼리 수행시 '$TEST$' https://crowelee.wordpress.com/2006/09/08/pound-dollar-symbols-in-ibatis/ iBatis에서 ‘#’과 ‘$’ Escape 하기 삽질 iBatis에서 질의 작성중 $를 사용할 필요가 있었다. 가령 다음과 같은 코드.. select decode(isenable, ‘Y’, ‘${red}’, ‘${blue}’) || name from item 그런데.. $ 문자가 iBatis에서 사용하는 것이라고 오동작을 하고 있었다. 쿼터… crowelee.wordpress.com
# Locale unaware '{:,}'.format(value) # For Python ≥2.7 f'{value:,}' # For Python ≥3.6 Locale aware # import locale locale.setlocale(locale.LC_ALL, '') # Use '' for auto, or force e.g. to 'en_US.UTF-8' '{:n}'.format(value) # For Python ≥2.7 f'{value:n}' # For Python ≥3.6 https://stackoverflow.com/questions/1823058/how-to-print-number-with-commas-as-thousands-separators How to print number with c..
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 = [] >>>..
- Total
- Today
- Yesterday
- 인스타그램
- 팔로워 수 세기
- 테슬라 레퍼럴
- COUNT
- Kluge
- Bot
- 어떻게 능력을 보여줄 것인가?
- 메디파크 내과 전문의 의학박사 김영수
- 레퍼럴
- 테슬라 리퍼럴 코드 혜택
- 테슬라 리퍼럴 코드
- 할인
- 모델 Y 레퍼럴
- 테슬라 추천
- 테슬라 리퍼럴 코드 생성
- 유투브
- 책그림
- 개리마커스
- 테슬라
- 김달
- 테슬라 레퍼럴 적용 확인
- 연애학개론
- 모델y
- follower
- 클루지
- wlw
- 테슬라 레퍼럴 코드 확인
- 테슬라 크레딧 사용
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |