Instantly share code, notes, and snippets.

# Gabe Smedresman gabesmed

Created March 20, 2018 15:32
Keybase proof

### Keybase proof

I hereby claim:

• I am gabesmed on github.
• I am gabesmed (https://keybase.io/gabesmed) on keybase.
• I have a public key ASBS9679u1Wj_2RlKWz49CTk-OiynbqrQlt9Q52Lei17HAo

To claim this, I am signing this object:

Created May 1, 2012 00:08 — forked from levity/att.rb
scrape your calls and texts history from att.com
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
Created February 14, 2012 11:43
great circle distance in python
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
 """Distance helpers.""" import math EARTH_CIRCUMFERENCE = 6378137 # earth circumference in meters def great_circle_distance(latlong_a, latlong_b): """
Created May 20, 2011 03:59
Python 2.6.4 homebrew formula
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
 require 'formula' # This formula for Python 2.6.4 # Based on Python 2.7.1 formula at: # https://github.com/mxcl/homebrew/blob/master/Library/Formula/python.rb class Distribute < Formula url 'http://pypi.python.org/packages/source/d/distribute/distribute-0.6.24.tar.gz' md5 '17722b22141aba8235787f79800cc452' end
Created May 4, 2011 21:16
brew --config on Leopard (OS X 10.5)
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
 HOMEBREW_VERSION: 0.8 HEAD: b729704b0d88721e7089768c8d76bdd5695b69e8 HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_REPOSITORY: /usr/local HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew Hardware: dual-core 64-bit penryn OS X: 10.5.8 Kernel Architecture: i386 Ruby: 1.8.6-369
Created April 23, 2010 00:17
The routing algorithm from Scenic Route (http://scenicroute.info)
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
 import math import random import operator from django.contrib.gis.geos import LineString, Point from scenicroute.apps.hunts.routing.triangulation import ( build_triangulation, START_INDEX, END_INDEX) from scenicroute.apps.hunts.routing.culling import no_dupes from scenicroute.apps.hunts.routing.estimation import (duration_for_distance,