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
/* | |
* Copyright (C) 2001-2016 Food and Agriculture Organization of the | |
* United Nations (FAO-UN), United Nations World Food Programme (WFP) | |
* and United Nations Environment Programme (UNEP) | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 2 of the License, or (at | |
* your option) any later version. | |
* |
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> |
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
#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
# 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 |
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
import org.apache.commons.io.FileUtils; | |
import java.io.File; | |
public class DeleteDirectory { |
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
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, |
NewerOlder