Note: This post is a summary of information paraphrased from an excellent blog post by Christian Sepulveda.
Create the app and download the necessary dependencies.
| #http://kartoza.com/how-to-create-a-qgis-pdf-report-with-a-few-lines-of-python/ | |
| # coding=utf-8 | |
| # A simple demonstration of to generate a PDF using a QGIS project | |
| # and a QGIS layout template. | |
| # | |
| # This code is public domain, use if for any purpose you see fit. | |
| # Tim Sutton 2015 | |
Create the app and download the necessary dependencies.
| #!/bin/sh | |
| # AUTHOR | |
| # DANIEL E. GILLESPIE (2016) | |
| # https://github.com/dantheman213 | |
| # DESCRIPTION | |
| # Export your app's table schemas and stored functions from a PostgreSQL | |
| # database into individual *.sql files for easy management and source control. |
| # best practice: linux | |
| nano ~/.pgpass | |
| *:5432:*:username:password | |
| chmod 0600 ~/.pgpass | |
| # best practice: windows | |
| edit %APPDATA%\postgresql\pgpass.conf | |
| *:5432:*:username:password | |
| # linux |
| #! /bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: vpnclient | |
| # Required-Start: $all | |
| # Required-Stop: $network $local_fs $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Start VPN Client at boot time | |
| # chkconfig: 345 44 56 | |
| # description: Start VPN Client at boot time. |
| upstream @prometheus { | |
| server MY_IP:9090; | |
| } | |
| upstream @alertmanager { | |
| server MY_IP:9093; | |
| } | |
| server { | |
| listen 80; |
| # Copyright 2019, Alexander Hass | |
| # https://www.hass.de/content/setup-microsoft-windows-or-iis-ssl-perfect-forward-secrecy-and-tls-12 | |
| # | |
| # After running this script the computer only supports: | |
| # - TLS 1.2 | |
| # | |
| # Version 3.0.1, see CHANGELOG.txt for changes. | |
| Write-Host 'Configuring IIS with SSL/TLS Deployment Best Practices...' | |
| Write-Host '--------------------------------------------------------------------------------' |
| #!groovy | |
| pipeline { | |
| agent any | |
| //These params will be displayed for user input when running a build, They are also accepted by the API | |
| parameters { | |
| string(name: 'BUILD_HOSTNAME', description: 'The name of the server to build (from Mdb)') | |
| string(name: 'ILO_IP', description: 'The IP address for the server ilo') | |
| booleanParam(name: 'skipOneView', description: 'Skip the OneView stage?', defaultValue: false) |
| #!groovy | |
| import groovy.json.JsonOutput | |
| import groovy.json.JsonSlurper | |
| def label = "mypod-${UUID.randomUUID().toString()}" | |
| podTemplate(label: label, yaml: """ | |
| spec: | |
| containers: | |
| - name: mvn | |
| image: maven:3.3.9-jdk-8-alpine |
| # | |
| apt-get install openjdk-8-jre | |
| # PostgreSQL and PostGIS | |
| apt-get install postgresql postgresql-contrib postgis postgresql-12-postgis-3 | |
| # Create "geoserver" database | |
| sudo -u postgres createuser -P geoserver | |
| sudo -u postgres createdb -O geoserver geoserver | |
| sudo -u postgres psql -c "CREATE EXTENSION postgis; CREATE EXTENSION postgis_topology;" geoserver |