Skip to content

Instantly share code, notes, and snippets.

View KalipheGTU's full-sized avatar

KalipheGTU KalipheGTU

View GitHub Profile
@KalipheGTU
KalipheGTU / weathermap.html
Created June 21, 2022 11:48 — forked from segheysens/weathermap.html
Mapbox Animated Layer Example - Weather Map
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>Animate a series of images</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
@KalipheGTU
KalipheGTU / Query_OverpassToSpreadsheet.c
Created May 30, 2022 19:02 — forked from simboli/Query_OverpassToSpreadsheet.c
Query for Overpass API to get bars and cafes in a specific area
[out:csv(
::id,"name",::count,"brand","amenity","ref:vatin","opening_hours","operator","addr:postcode","addr:city","addr:street","addr:housenumber","opening_hours","contact:phone","contact:website",::lat,::lon,lastcheck;
true; "|"
)][timeout:20];
area[admin_level=8][boundary=administrative]["ref:ISTAT"="015146"]->.boundaryarea;
( node(area.boundaryarea)[railway=subway_entrance];
way(area.boundaryarea)[railway=subway_entrance];
>;
) ->.sub_entrance;
(
@KalipheGTU
KalipheGTU / README.md
Created February 24, 2021 11:14 — forked from malcolmrh/README.md
Syncing Google Earth Pro with ☁️

Syncing Google Earth Pro with Dropbox/Drive/'the Cloud'

Before you start backup your myplaces.kml by saving manually. In Windows you will need administrator privileges. On OSX or Linux you may need to add sudo before a command if you get permission errors. If your Dropbox or Google Drive etc folder is somewhere non-default, you'll obviously have to change these paths.

On a Mac

First Machine

Make your new cloud folder and move the .kml there manually or by:

mkdir ~/Dropbox/GoogleEarth
{% include 'partial/head.html' %}
{% include 'partial/navbar.html' %}
<script src="https://maps.googleapis.com/maps/api/js?key=API_KEY"></script>
<script type="text/javascript">
// variabel global marker
var marker;
function taruhMarker(peta, posisiTitik) {