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
// include the library | |
<script src="lib/proj4js-combined.js"></script> //adjust the path for your server | |
//or else use the compressed version | |
. . . | |
// creating source and destination Proj4js objects | |
// once initialized, these may be re-used as often as needed | |
var dest = new Proj4js.Proj('EPSG:4236'); //source coordinates will be in Longitude/Latitude | |
var zone29 = new Proj4js.Proj('EPSG:23029'); //destination coordinates in UTM zone 29 |
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
var myStyles = new OpenLayers.StyleMap( | |
new OpenLayers.Style( | |
{ | |
externalGraphic: baseUrl +'/img/marker-blue.png', | |
fill: false, | |
stroke: false, | |
pointRadius: 0, | |
graphicWidth: 18 , | |
graphicHeight: 30, | |
fillOpacity: 1, |
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 | |
# | |
# Install Postgres 9.1, PostGIS and create PostGIS template on a clean Ubuntu 11.10 Oneiric Ocelot box | |
# http://wildfish.com | |
# add the ubuntu gis ppa | |
sudo apt-get -y install python-software-properties | |
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | |
sudo apt-get update |
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
import org.apache.commons.io.FileUtils; | |
import java.io.File; | |
public class DeleteDirectory { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# tomcat recipe comes from https://github.com/opscode-cookbooks/tomcat | |
include_recipe "tomcat::default" | |
template "/tmp/template1" do | |
source "default.erb" | |
owner "root" | |
group "root" | |
mode "0644" | |
notifies :restart, "service[tomcat]", :delayed | |
end |
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
#cloud-config | |
chpasswd: | |
list: | | |
root:stackops | |
cloud-user:stackops | |
expire: False | |
ssh_pwauth: True |
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 | |
GN_SOURCES=geonetwork | |
GN_PROFILES=env-prod | |
DEPLOY_NAME=geonetwork-ngr3 | |
GN_DATA_DIR=/var/local/geonetwork/${DEPLOY_NAME} | |
RED='\e[31m' | |
EC='\e[0m' |
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
<overrides xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:noNamespaceSchemaLocation="config-overrides.xsd"> | |
<file name=".*/WEB-INF/config/config-service-xml-api.xml"> | |
<replaceAtt xpath="services/service[@name='xml.metadata.get']/class/param[@name='skipInfo']" attName="value" value="n"/> | |
</file> | |
</overrides> |
OlderNewer