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 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
import re | |
# Static config for the wms metadata. | |
# pylint: skip-file | |
response_cfg = { | |
"Access-Control-Allow-Origin": "*", # CORS header | |
} | |
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 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"?> | |
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.1/capabilities_1_1_1.dtd" > | |
<WMT_MS_Capabilities version="1.1.1"> | |
<Service> | |
<Name>OGC:WMS</Name> | |
<Title>Web Map Service - GeoWebCache</Title> | |
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://api.maps.vic.gov.au/vicmapapi/map/wms?SERVICE=WMS&"/> | |
</Service> | |
<Capability> | |
<Request> |
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
#!/bin/bash | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
apt-get update | |
apt-get install -y docker-ce | |
usermod -aG docker ubuntu | |
apt-get install -y python3-pip | |
pip3 install docker-compose |
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 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
BASE: | |
var path = require('path') | |
var config = require('../config') | |
var cssLoaders = require('./css-loaders') | |
var projectRoot = path.resolve(__dirname, '../') | |
var webpack = require('webpack') | |
module.exports = { | |
entry: { |
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
#!/bin/bash -xe | |
# grab the Availability Zone from the Meta Data service | |
az=$(curl http://169.254.169.254/latest/meta-data/placement/availability-zone/) | |
# drop the trailing zone to get the REGION the instance is running in. | |
currentRegion=${az%?} | |
# retirve the source AMI (latest Amazon Linux image in this case) | |
currentAMI=$(aws ec2 describe-images --owners self amazon --filters "Name=name,Values=amzn-ami-hvm-*gp2" --query 'Images[].[CreationDate,ImageId]' --output text --region $currentRegion | sort -k1 | tail -n1 | awk '{print $2}') |
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
/** | |
* @author: Yura Knoxville | |
* @version: v1.0.0 | |
*/ | |
!function ($) { | |
'use strict'; | |
var initBodyCaller, |