sudo apt-get update
sudo apt-get install git
cd ~
git clone --recursive https://github.com/CartoDB/cartodb20.git
import json | |
import urllib | |
class WazeLocationNotFoundException(Exception): | |
pass | |
class Waze(object): | |
_BASE_URL = "http://www.waze.co.il/" | |
def __mozi(self, query): |
# pip install requests | |
import requests | |
import json | |
url_template = 'https://api.foursquare.com/v2/users/self/checkins?limit=250&oauth_token={}&v=20131026&offset={}' | |
# If you navigate to https://developer.foursquare.com/docs/explore, Foursquare | |
# will generate an OAuth token for you automatically. Cut and paste that token | |
# below. | |
token = "" |
sudo apt-get update
sudo apt-get install git
cd ~
git clone --recursive https://github.com/CartoDB/cartodb20.git
Author: Josef Jezek
sudo apt-get install python-setuptools
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Output Elevation, Lat, Long, and Timestamp series from GPX to CSV | |
Requires gpxpy | |
This script expects your input GPX to be located in a subdir named 'data' | |
""" | |
import os |
This is companion code to this guide.
from fabric.api import * | |
from fabric.contrib.console import confirm | |
import tempfile | |
import re | |
PROJ_VER='4.8.0' | |
GEOS_VER='3.3.3' | |
GDAL_VER='1.9.0' | |
PROJ_PATH='/usr/local/proj/' + PROJ_VER |
~/local/filegdb
. Here's an example path to one of the files: ~/local/filegdb/lib/libFileGDBAPI.dylib
~/local/filegdb
so it can stay isolated in it's own place. You can put it anywhere, but the next few steps might be different.~/local/filegdb
@rpath
's, so to avoid needing to mess with DYLD_LIBRARY_PATH
, I updated the @rpath
's using install_name_tool
. There might be a more elegant way to handle this. If so, comments are welcome!DYLD_LIBRARY_PATH
yourself: