#!/usr/bin/python3 | |
import json | |
import csv | |
import sys | |
import datetime | |
import os | |
def make_reader(in_json): |
--- ./common/inc/nv-time.h | |
+++ ./common/inc/nv-time.h | |
@@ -205,7 +205,7 @@ | |
// the requested timeout has expired, loop until less | |
// than a jiffie of the desired delay remains. | |
// | |
- current->state = TASK_INTERRUPTIBLE; | |
+ current->__state = TASK_INTERRUPTIBLE; | |
do | |
{ |
QGIS processing tools for joining PDOK AHN3 WCS (elevation) data with point data.
Tested with QGIS version 3.18, will most likely work with all QGIS version 3.X.
- Download
pdok-ahn3-wcs-tool.py
- Open the QGIS Processing Toolbox and click Add Script to Toolbox... and browse to the downloaded
pdok-ahn3-wcs-tool.py
file:
{ | |
"title": "Takeout API", | |
"discoveryVersion": "v1", | |
"ownerName": "Google", | |
"version_module": true, | |
"resources": { | |
"exports": { | |
"methods": { | |
"get": { | |
"flatPath": "v2/{service}/exports/{exportId}", |
For example to clone USB sticks even onto different brand while retaining device serial numbers, vendor, product etc.
- https://nakedsecurity.sophos.com/2014/10/06/badusb-now-with-do-it-yourself-instructions/
- https://digfor.blogspot.com/2012/04/usb-flash-drive-serial-numbers-unique.html
Tools to reflash USB firmware and more importantly to change USB descriptor properties:
Google is extremely transparent about the Location History it has on you. You can check it out on the timeline feature in the Google Maps application on the phone, or on https://www.google.com/maps/timeline It is possible that you have that turned off, and in that case, consider yourself lucky.
If there is data there, you can view it online, or Download and Analyze it yourself.
- To extract that data, you can go to takeout.google.com and request for the Location History data from there.
- This gets generated as a JSON file which you should download.
- You can then convert that JSON file to a CSV, by using https://gist.github.com/devdattaT/c9dcae2107622215ff2e798dd185087e
- Finally load that data in https://kepler.gl/#/demo to view locations on a Map
Note: The conversion script has been updated on 2024-06-24, to match the updated format which is now generated by Google Takeout
import json | |
import csv | |
import sys | |
from datetime import datetime | |
import os | |
def has_keys(dictionary, keys): | |
return all(key in dictionary for key in keys) | |
def make_reader(in_json): |
import sys | |
from PIL import Image | |
from math import pi,sin,cos,tan,atan2,hypot,floor | |
from numpy import clip | |
# get x,y,z coords from out image pixels coords | |
# i,j are pixel coords | |
# face is face number | |
# edge is edge length | |
def outImgToXYZ(i,j,face,edge): |
This is a simple Python / PIL utility for taking a series of images in a tile map set and stitching them together into a single image. This is being used to convert these http://forums.bistudio.com/showthread.php?178671-Tiled-maps-Google-maps-compatible-(WIP) for www.anvilproject.com.
- Drop the stitcher.py file into the root directory of your tile map set, where all the numbered folders are
- Edit two lines in the file, these are commented - one for the number of folders and one for the number of images in each folder