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
Error: SiteDomain parameter not defined in your config/domain file. You | |
must edit it for using this version of AWStats. | |
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may | |
be wrong. | |
Check config file, permissions and AWStats documentation (in 'docs' | |
directory). |
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
#!/bin/sh | |
# | |
# Corrections file for 5.0rc5 | |
# Must be run as sudo | |
# | |
# Theoretically these should be solved in upstream tickets if building from scratch. | |
# cd ~/gisvm/ | |
# svn up | |
# cd bin | |
# wget https://gist.github.com/gists/1176202/download -O gist.tar.gz |
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
\lstset{language=SQL, | |
numbers=left, | |
frame=single, | |
backgroundcolor=\color[RGB]{234,237,230}, | |
numberstyle=\tiny, | |
basicstyle={\footnotesize\ttfamily\bfseries}, | |
frameround=tttt, | |
breaklines=true, | |
keywordstyle=\color[RGB]{32,74,135}, | |
commentstyle=\color[RGB]{143,89,2}, |
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
#LiveCD on the commandline | |
#https://help.ubuntu.com/community/LiveCDCustomization | |
DIR=`dirname ${0}` | |
VERSION=`cat "$DIR"/../VERSION.txt` | |
PACKAGE_NAME="osgeo-live" | |
ISO_NAME="${PACKAGE_NAME}-${VERSION}" | |
sudo apt-get install squashfs-tools genisoimage | |
#TODO add wget to grab a fresh image, optional |
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
#!/bin/bash | |
# Alex Mandel 2011 | |
# Apache 2.0 License | |
#Script outline for updating awstats from historical logs | |
#Take start number of oldest log via arguments | |
# grass.osgeo.org | |
configfile=$1 | |
# grass-access.log | |
apachelogbase=$2 |
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
SELECT i.relname as indexname, | |
idx.indrelid::regclass as tablename, | |
am.amname as typename, | |
ARRAY( | |
SELECT pg_get_indexdef(idx.indexrelid, k + 1, true) | |
FROM generate_subscripts(idx.indkey, 1) as k | |
ORDER BY k | |
) as indkey_names | |
FROM pg_index as idx | |
JOIN pg_class as i |
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
#how to make world file from a bounding box and an image file - aka kml/kmz | |
#Generic Formula | |
(W-E)/(width pixels) | |
0 | |
0 | |
(N-S)/(width pixels) | |
West+.5*abs((W-E)/(width pixels)) | |
North-.5*abs((N-S)/(height pixels)) | |
#Example |
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
<GDAL_WMS> | |
<Service name="TMS"> | |
<ServerUrl>http://c.tile.thunderforest.com/cycle/${z}/${x}/${y}.png</ServerUrl> | |
</Service> | |
<DataWindow> | |
<UpperLeftX>-20037508.34</UpperLeftX> | |
<UpperLeftY>20037508.34</UpperLeftY> | |
<LowerRightX>20037508.34</LowerRightX> | |
<LowerRightY>-20037508.34</LowerRightY> | |
<TileLevel>18</TileLevel> |
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
<qgsScales version="1.0"> | |
<!--Approximate Tile Scales for OSM and other Spherical Mercator Projections. | |
Source:http://www.3liz.com/blog/rldhont/index.php?post/2012/07/17/OpenStreetMap-Tiles-in-QGIS | |
--> | |
<scale value="1:591659030"/> | |
<scale value="1:295829515"/> | |
<scale value="1:147914757"/> | |
<scale value="1:73957378"/> | |
<scale value="1:36978689"/> |
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
#!/usr/bin/env python | |
# -*- coding: utf_8 -* | |
# | |
# Script to sort bracketed photos by exposure into bins. | |
# Default assumes 3 photos per bracket set, into 3 folders | |
# | |
# Alex Mandel 2014 | |
# [email protected] | |
# requires python |
OlderNewer