There are two types of markup in Liquid: Output and Tag.
- Output markup (which may resolve to text) is surrounded by
{{ matched pairs of curly brackets (ie, braces) }}
- Tag markup (which cannot resolve to text) is surrounded by
'use strict'; | |
angular.module('App', ['ng', 'ngCookies', 'ngResource']); | |
angular.module('App').run(function($rootScope, $http, $cookies) { | |
$http.defaults.headers.common['X-CSRFToken'] = $cookies.csrftoken; | |
}); |
""" | |
Only reflects the additional settings needed within local_settings.py file | |
""" | |
#INSTALLED_APPS = ( | |
#python-social-auth | |
'social.apps.django_app.default', | |
#TEMPLATE_CONTEXT_PROCESSORS = ( | |
# Python Social Auth |
{"result":true,"length":1862,"items":[{"park_id":"1431605944001974900","park_code":"other-143160594","park_type":"other","title":"1759 Vought House","state":"NJ","latitude":"40.64332300","longitude":"-74.89628300","type":"national_park","url":"http:\/\/www.nps.gov\/other-143160594\/index.htm"},{"park_id":"3hzg910O40yYICyEakmmmi","park_code":null,"park_type":"National Heritage Area","title":"Abraham Lincoln","state":"IL","latitude":"39.80028500","longitude":"-89.64814100","type":"national_park","url":null},{"park_id":"ZPAa5HFTQ2W2oEOycsosq","park_code":"ABLI","park_type":"National Historical Park","title":"Abraham Lincoln Birthplace","state":"KY","latitude":"37.53310000","longitude":"-85.73230000","type":"national_park","url":"http:\/\/www.nps.gov\/ABLI\/index.htm"},{"park_id":"3eJJn6wFPOCAIsk2sucy46","park_code":"ACAD","park_type":"National Park","title":"Acadia","state":"ME","latitude":"44.37630000","longitude":"-68.25840000","type":"national_park","url":"http:\/\/www.nps.gov\/ACAD\/index.htm"},{"park_id":"1 |
# GeoNode / GeoServer install for Docker | |
# Save file as Dockerbuild; sudo docker build -t ubuntu/testgeo3 . | |
# VERSION 1.0.0 | |
FROM ubuntu | |
MAINTAINER Derek Hohls <[email protected]> | |
# make sure the package repository is up to date | |
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
RUN apt-get update |
Port 80 | |
What I do on my cloud instances is I redirect port 80 to port 3000 with this command: | |
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000 | |
Then I launch my Node.js on port 3000. Requests to port 80 will get mapped to port 3000. | |
You should also edit your /etc/rc.local file and add that line minus the sudo. That will add the redirect when the machine boots up. You don't need sudo in /etc/rc.local because the commands there are run as root when the system boots. |
There are two types of markup in Liquid: Output and Tag.
{{ matched pairs of curly brackets (ie, braces) }}
{ | |
"defaultSourceType": "gxp_wmscsource", | |
"about": { | |
"abstract": "", | |
"title": "Protected Areas of the United States" | |
}, | |
"map": { | |
"layers": [ | |
{ | |
"opacity": 1, |
Open Source Check List
Prior to releasing a project to GitHub.com, walk through these items and ensure they are addressed.
Has PII been removed?
Have security vulnerabilities been remediated?
Web Mapping Libraries:
Combination Web Map Libraries:
OpenLayers3 + Cesium
Leaflet + Cesium
Also factors in the four principles of modern Release Engineering