Directories on host machine:
-
/data/certbot/letsencrypt
-
/data/certbot/www
-
Nginx server in docker container
docker run -d --name nginx \
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 subprocess import check_call | |
import sys, fnmatch, os | |
from os import path as oSpath | |
from PIL import Image | |
import logging | |
from info import start | |
from PIL.ExifTags import TAGS, GPSTAGS | |
def initLogger(name): |
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
/* | |
Author: Francesco Bursi | |
State: draftdraftdraft!!!! | |
*/ | |
var fiurl = OpenLayers.Util.urlAppend(lizUrls.wms, OpenLayers.Util.getParameterString(lizUrls.params)); | |
lizMap.events.on({ | |
uicreated: function (e) { | |
$("head").append('<script src="https://unpkg.com/mapillary-js@4.0.0/dist/mapillary.js"></script>'); | |
$("head").append('<link href="https://unpkg.com/mapillary-js@4.0.0/dist/mapillary.css" rel="stylesheet"/>'); |
Pythons scripts to use in the QGIS python console
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
//Francesco Bursi, 10 th July 2021 | |
//Short script to activate a layer when the user choose (if it's possible) to activate the layer in the layer-tree, | |
//is it's not visible on the map. So when you click on "dettagli". | |
lizMap.events.on({ | |
'uicreated': function(e) { | |
$('#attribute-layer-list-table').find('tr').find('td').find('button').click( function(){ | |
//storing the class of the checkbox in the check_class variable, it takes the name from the pushed button |