See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| def task1(list1, list2): | |
| return list(set(list1) - set(list2)) | |
| def task2(list_): | |
| for i in range(len(list_)-1, -1, -1): | |
| if list_[i] == 0: | |
| del list_[i] | |
| return list_ |
| from pprint import pprint; | |
| from geopy.geocoders import Nominatim; | |
| n = Nominatim(); | |
| pprint(n.geocode('111, 1st Avenue, New York', addressdetails=True, geometry='geojson').raw) | |
| {u'address': {u'city': u'NYC', | |
| u'country': u'United States of America', | |
| u'country_code': u'us', | |
| u'county': u'New York County', |
| REM Макрос для сохранения всех открытых doc файлов в формат docx | |
| sub Main | |
| dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") | |
| Docs = Stardesktop.getComponents | |
| DocsList= Docs.createEnumeration | |
| dim args1(1) as new com.sun.star.beans.PropertyValue | |
| args1(0).Name = "URL" |
| from django.utils.encoding import (escape_uri_path, iri_to_uri) | |
| from django.utils.http import urlquote | |
| @register.filter() | |
| def get_full_path_with_page(request, page): | |
| """ | |
| In template | |
| {% load get_full_path %} | |
| {% for num in page_obj.page_range %} | |
| {% if num == page_obj.number %} |