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
VERSION BUILD=1003 RECORDER=CR | |
TAG POS=1 TYPE=A ATTR=TXT:remove | |
TAG POS=1 TYPE=A ATTR=TXT:remove | |
TAG POS=1 TYPE=A ATTR=TXT:remove | |
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:show-result ATTR=ID:external_resource CONTENT=https://sigc.desarrollo.guadaltel.es/mapea5/js/mapea.ol.min.js | |
TAG POS=1 TYPE=A ATTR=TITLE:"Add resource" | |
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:show-result ATTR=ID:external_resource CONTENT=https://sigc.desarrollo.guadaltel.es/mapea5/assets/css/mapea.ol.min.css | |
TAG POS=1 TYPE=A ATTR=TITLE:"Add resource" | |
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:show-result ATTR=ID:external_resource CONTENT=https://sigc.desarrollo.guadaltel.es/mapea5/js/configuration.js | |
TAG POS=1 TYPE=A ATTR=TITLE:"Add resource" |
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
#!/usr/bin/env bash | |
USER=`whoami` | |
MAPEA_WAR=/var/lib/tomcat8/webapps/mapea.war | |
MAPEA_DIR=/var/lib/tomcat8/webapps/mapea | |
NEW_MAPEA_WAR=/home/$USER/mapeachap/mapea-chap/src/mapea-rest/target/mapea.war | |
TOMCAT_WEBAPPS=/var/lib/tomcat8/webapps/ | |
deleteFile() { | |
if [ -f $1 ]; then |
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
from PIL import Image | |
from PIL.ExifTags import TAGS, GPSTAGS | |
def get_exif_data(image): | |
"""Returns a dictionary from the exif data of an PIL Image item. Also converts the GPS Tags""" | |
exif_data = {} | |
info = image._getexif() | |
if info: | |
for tag, value in info.items(): | |
decoded = TAGS.get(tag, tag) |
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
// | |
// Regular Expression for URL validation | |
// | |
// Author: Diego Perini | |
// Created: 2010/12/05 | |
// Updated: 2018/09/12 | |
// License: MIT | |
// | |
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
// |