Skip to content

Instantly share code, notes, and snippets.

View myok12's full-sized avatar

Ohad Kravchick myok12

  • Google Inc.
  • Sunnyvale, CA
View GitHub Profile
#!/bin/sh
# build.sh
GLOBAL_OUTDIR="`pwd`/dependencies"
LOCAL_OUTDIR="./outdir"
LEPTON_LIB="`pwd`/leptonica-1.69"
TESSERACT_LIB="`pwd`/tesseract-3.01"
IOS_BASE_SDK="6.0"
IOS_DEPLOY_TGT="5.1"
coords = (
(41.2863,-73.78689),
(41.2864,-73.78690),
(41.2869,-73.78698),
)
from math import floor
def gen_hash(coords):
pro_lat = floor(coords[0]*1000.0)