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 python | |
# -*- coding: utf-8 -*- | |
import os,fnmatch | |
def main(): | |
rootPath = 'c:/personal/gpx' | |
for root, dirs, files in os.walk(rootPath): | |
gpxfiles = fnmatch.filter(files, '*.gpx') | |
if (len(gpxfiles) != 0): |
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
Sub reports() | |
Const DBfile = "c:\personal\sib\operative.xls" | |
Dim notFillRows(59) | |
Set fso = CreateObject("Scripting.FileSystemObject") | |
Set a = CreateObject("excel.application") | |
Set b = a.Workbooks.Open(DBfile) | |
Set s = b.Sheets(1) | |
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
<?xml version='1.0' encoding='UTF-8'?> | |
<WFS_Capabilities version='1.1.0' updateSequence='0' | |
xmlns='http://www.opengis.net/wfs' | |
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | |
xmlns:ogc='http://www.opengis.net/ogc' | |
xmlns:gml='http://www.opengis.net/gml' | |
xmlns:ows='http://www.opengis.net/ows' | |
xmlns:xlink='http://www.w3.org/1999/xlink' | |
xsi:schemaLocation='http://www.opengis.net/wfs | |
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd' > |
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 python | |
# -*- coding: utf-8 -*- | |
import os,fnmatch | |
def main(): | |
rootPath = './PullDir' | |
for root, dirs, files in os.walk(rootPath): | |
files.sort() | |
hdffiles = fnmatch.filter(files, '*.hdf') |
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
sudo apt-get install python-setuptools | |
sudo apt-get install python2.7-dev | |
sudo apt-get install libmapnik0.7 mapnik-utils python-mapnik | |
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
sudo python get-pip.py | |
sudo pip install -U PIL | |
sudo pip install -U modestmaps | |
sudo pip install -U werkzeug |
NewerOlder