Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
FROM osgeo/gdal:ubuntu-full-3.2.2 AS builder-image | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN apt update && apt-get install --no-install-recommends -y \ | |
python3.9 python3.9-dev python3.9-venv python3-pip python3-wheel build-essential && \ | |
apt-get clean && rm -rf /var/lib/apt/lists/* | |
RUN python3.9 -m venv /home/myuser/venv | |
ENV PATH="/home/myuser/venv/bin:$PATH" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Github fork button | |
git clone <my-fork-url> | |
git remote add upstream <original-repo-url> | |
# check remotes are both configured | |
git remote -v | |
# Time to work | |
# update your master branch | |
git fetch upstream master # git fetch upstream will grab all branches |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

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 sys | |
import httplib2 | |
from googleapiclient import discovery | |
from oauth2client.client import GoogleCredentials | |
from oauth2client.service_account import ServiceAccountCredentials | |
from apiclient.http import MediaFileUpload | |
KEY_FILE='/.config/gclib/sa_key.json' | |
FT_SCOPE = 'https://www.googleapis.com/auth/fusiontables' | |
DRIVE_SCOPE = 'https://www.googleapis.com/auth/drive' |
NewerOlder