Skip to content

Instantly share code, notes, and snippets.

Gabe Smedresman gabesmed

Block or report user

Report or block gabesmed

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am gabesmed on github.
  • I am gabesmed ( on keybase.
  • I have a public key ASBS9679u1Wj_2RlKWz49CTk-OiynbqrQlt9Q52Lei17HAo

To claim this, I am signing this object:

gabesmed / att.rb
Created May 1, 2012 — forked from levity/att.rb
scrape your calls and texts history from
View att.rb
LOGIN, PASSWORD = 'your_phone_number', 'your_password'
require 'rubygems'
require 'mechanize'
agent =
gabesmed /
Created Feb 14, 2012
great circle distance in python
"""Distance helpers."""
import math
EARTH_CIRCUMFERENCE = 6378137 # earth circumference in meters
def great_circle_distance(latlong_a, latlong_b):
gabesmed / python26.rb
Created May 20, 2011
Python 2.6.4 homebrew formula
View python26.rb
require 'formula'
# This formula for Python 2.6.4
# Based on Python 2.7.1 formula at:
class Distribute < Formula
url ''
md5 '17722b22141aba8235787f79800cc452'
gabesmed / gist:956055
Created May 4, 2011
brew --config on Leopard (OS X 10.5)
View gist:956055
HEAD: b729704b0d88721e7089768c8d76bdd5695b69e8
HOMEBREW_CELLAR: /usr/local/Cellar
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
gabesmed / gist:376015
Created Apr 23, 2010
The routing algorithm from Scenic Route (
View gist:376015
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,
You can’t perform that action at this time.