This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# calculate distance between two points on earth, result in meters | |
# | |
# based on: http://stackoverflow.com/questions/4716017/django-how-can-i-find-the-distance-between-two-locations | |
# check distance at: http://www.distancefromto.net/ | |
# | |
# Dariusz Pawlak <pawlakdp@gmail.com> | |
# 2014.06.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Scripts download oui.txt from web and load data to PostgreSQL database. | |
# | |
# Dariusz Pawlak <pawlakdp@gmail.com> | |
# 2014.05.16 | |
# | |
# | |
import re | |
import urllib |
NewerOlder