This file contains hidden or 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
| { nixpkgs ? import <nixpkgs> {} }: | |
| let | |
| inherit (nixpkgs) pkgs; | |
| in | |
| pkgs.libsForQt5.callPackage ./release.nix { } |
This file contains hidden or 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 json, time | |
| import urllib.request, urllib.parse | |
| def elevation_list(locations): | |
| KEY = "GENERATE YOUR OWN KEY, B-BAKA~ ~,~" | |
| base_url = 'https://maps.googleapis.com/maps/api/elevation/json' | |
| url = base_url + '?' + urllib.parse.urlencode({ | |
| 'locations': "|".join("%s,%s" % (lat, lng) for lat, lng in locations), |
This file contains hidden or 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
| package de.nerdno.rpc.view; | |
| import android.content.Context; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.graphics.Paint; | |
| import android.graphics.Rect; | |
| import android.util.AttributeSet; | |
| import android.util.Log; | |
| import android.view.MotionEvent; |