date -d '20121212 7 days' date -d '12-DEC-2012 7 days' date -d '2012-12-12 7 days' date -d '2012-12-12 4:10:10PM 7 days' date -d '2012-12-12 16:10:55 7 days' date -d '20121212' +'%Y-%m-%d' date -d '20121212 -7 days' +'%Y-%m-%d' https://stackoverflow.com/questions/11144408/convert-string-to-date-in-bash/11144983 Convert string to date in bash I have a string in the format "yyyymmdd". It is a stri..
public static String percent(int a, int b) { return percent(a, b, 2); } public static String percent(int a, int b, int roundIndex) { return String.format("%."+ roundIndex +"f%%", a*1.0/b * 100); } https://coding-factory.tistory.com/250 [Java] 자바 소수점 n번째 자리까지 반올림하기 이번 포스팅에서는 자바에서 긴 소수를 반올림하여 n번째 자리까지 나타내는 방법에 대해 알아보겠습니다. 여러가지 방법이 있겠습니다만 Math.round();함수를 활용하거나 String.format(); 함수를 활�� coding-facto..
https://dgkim5360.tistory.com/entry/python-requests Python requests 모듈 간단 정리 Python에서 HTTP 요청을 보내는 모듈인 requests를 간단하게 정리하고자 한다. 0. 기본적인 사용 방법 import requests URL = 'http://www.tistory.com' response = requests.get(URL) response.status_code respo.. dgkim5360.tistory.com
https://stackoverflow.com/questions/51568075/request-post-json-data-in-python Request POST JSON data in Python I want to make POST data with requests in Python. This is the data, actually, I grab from Burp Suite (intercept HTTP request). sessionid=xxxsesi&serverid=1&partner=xxxpartner& stackoverflow.com
import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from const import MAIL_DL, MAIL_FROM, MAIL_SERVER class Mail: def __init__(self): pass @staticmethod def send(to, cc, bcc, subject, text, html): message = MIMEMultipart('alternative') message['Subject'] = subject message['From'] = MAIL_FROM # 'Your name ' message['To'] = to message['Cc'] = cc + ','..
# views.py from django.shortcuts import redirect def redirect_view(request): response = redirect('/redirect-success/') return response https://realpython.com/django-redirects/ The Ultimate Guide to Django Redirects – Real Python In this detailed guide, you'll learn everything you need to know about HTTP redirects in Django. All the way from the low-level details of the HTTP protocol to the high-..
https://docs.djangoproject.com/ko/2.1/ref/templates/builtins/ Built-in template tags and filters | Django 문서 | Django Django The web framework for perfectionists with deadlines. Overview Download Documentation News Community Code Issues About ♥ Donate docs.djangoproject.com
https://docs.djangoproject.com/ko/3.0/intro/tutorial03/#namespacing-url-names 첫 번째 장고 앱 작성하기, part 3 | Django 문서 | Django Django The web framework for perfectionists with deadlines. Overview Download Documentation News Community Code Issues About ♥ Donate docs.djangoproject.com
https://wikidocs.net/1015 위키독스 온라인 책을 제작 공유하는 플랫폼 서비스 wikidocs.net https://stackoverflow.com/questions/26724002/contains-of-hashsetinteger-in-python Contains of HashSet in Python In Java we have HashSet, I need similar structure in Python to use contains like below: A = [1, 2, 3] S = set() S.add(2) for x in A: if S.contains(x): print "Example" C... stackoverflow.com https://java2blog.com/python-..
SELECT DATE_ADD(NOW(), INTERVAL 1 SECOND); SELECT DATE_ADD(NOW(), INTERVAL 1 MINUTE); SELECT DATE_ADD(NOW(), INTERVAL 1 HOUR); SELECT DATE_ADD(NOW(), INTERVAL 1 DAY); SELECT DATE_ADD(NOW(), INTERVAL 1 MONTH); SELECT DATE_ADD(NOW(), INTERVAL 1 YEAR); SELECT DATE_SUB(NOW(), INTERVAL 1 SECOND); SELECT DATE_SUB(NOW(), INTERVAL 1 MINUTE); SELECT DATE_SUB(NOW(), INTERVAL 1 HOUR); SELECT DATE_SUB(NOW()..
https://www.mysqltutorial.org/mysql-window-functions/mysql-dense_rank-function/ MySQL DENSE_RANK() Function By Practical Examples This tutorial shows you how to use the MySQL DENSE_RANK() function to rank rows in each partition of a result set. www.mysqltutorial.org
https://stackoverflow.com/questions/50838378/what-is-the-format-i-should-use-for-the-iso-timestamp-in-my-case what is the format I should use for the ISO timestamp in my case I have a ISO 8061 format timestamp string "2018-06-13T12:11:13+05:00", what is the correct way to create Date object out from the String? I tried: let formatter = DateFormatter() formatter.dateFo... stackoverflow.com
myString = 'Position of a character' myString.find('s') 2 myString.find('x') -1 https://stackoverflow.com/questions/2294493/how-to-get-the-position-of-a-character-in-python/2294502 How to get the position of a character in Python? How can I get the position of a character inside a string in python? stackoverflow.com
seasons = ['Spring', 'Summer', 'Fall', 'Winter'] list(enumerate(seasons)) [(0, 'Spring'), (1, 'Summer'), (2, 'Fall'), (3, 'Winter')] for idx, val in enumerate(seasons): print(idx, val) 0 Spring 1 Summer 2 Fall 3 Winter https://www.daleseo.com/python-enumerate/ [파이썬] for 루프에서 인덱스 얻기 Engineering Blog by Dale Seo www.daleseo.com
=================================================================================================== 겸손해질 수 있다면 당신의 인생은 더 커질 수 있다. - G. K. 체스터튼 아웃워드 마인드셋(Outward Mindset) 중요한 본질은 사람이다. 자신을 넘어서 조직 전체를 보고 (to see beyond ourselves) 각자의 역할을 책임지고 수행하면서 자유롭게 혁신에 참여할 수 있는 구조 무엇을, 언제까지 할 것이며, 구체적인 성과 목표는 무엇인가? 구성원들이 하나 되어 아이디어를 내고 조직의 성공을 위해 우리 한번 해보자. 재미있겠네 하는 마음가짐, 즉 에너지 기존 방식대로 지나치다는 데 있었다. 보는 방식, 생각하..
from urllib.request import urlopen urlopen(image.url).read() https://stackoverflow.com/questions/2792650/import-error-no-module-name-urllib2?rq=1 Import error: No module name urllib2 Here's my code: import urllib2.request response = urllib2.urlopen("http://www.google.com") html = response.read() print(html) Any help? stackoverflow.com
def file(request, id): image = get_object_or_404(Image, pk=id) response = HttpResponse(urlopen(image.url).read()) response['Content-Type'] = image.type return response https://stackoverflow.com/questions/17548414/setting-content-type-in-django-httpresponse-object-for-shopify-app Setting Content-Type in Django HttpResponse object for Shopify App I'm working on a Shopify app using Django, which I ..
sudo apt-get install python3-mysqldb https://stackoverflow.com/questions/15312732/django-core-exceptions-improperlyconfigured-error-loading-mysqldb-module-no-mo django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb The problem Im facing while trying to connect to database for mysql. I have also given the database settings that i have used. Traceback (..
from myapp.models import Entry from django.db.models import Q Entry.objects.filter(~Q(id = 3)) https://stackoverflow.com/questions/687295/how-do-i-do-a-not-equal-in-django-queryset-filtering How do I do a not equal in Django queryset filtering? In Django model QuerySets, I see that there is a __gt and __lt for comparitive values, but is there a __ne/!=/ (not equals?) I want to filter out using a..
$("") .on('load', function() { console.log("image loaded correctly"); }) .on('error', function() { console.log("error loading image"); }) .attr("src", $(originalImage).attr("src")) ; https://stackoverflow.com/questions/1977871/check-if-an-image-is-loaded-no-errors-with-jquery Check if an image is loaded (no errors) with jQuery I'm using JavaScript with the jQuery library to manipulate image thum..
- Total
- Today
- Yesterday
- 모델 Y 레퍼럴
- 테슬라
- wlw
- 인스타그램
- 레퍼럴
- follower
- 테슬라 추천
- 팔로워 수 세기
- 테슬라 레퍼럴
- Bot
- COUNT
- 모델y
- 할인
- 개리마커스
- 테슬라 크레딧 사용
- 어떻게 능력을 보여줄 것인가?
- 메디파크 내과 전문의 의학박사 김영수
- 클루지
- 테슬라 리퍼럴 코드 생성
- 책그림
- 테슬라 레퍼럴 적용 확인
- 테슬라 레퍼럴 코드 확인
- 김달
- 연애학개론
- Kluge
- 유투브
- 테슬라 리퍼럴 코드 혜택
- 테슬라 리퍼럴 코드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |