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
| [ | |
| { | |
| "COLOR": "Black", | |
| "SHADE": "Black", | |
| "HEX CODE": "#000000", | |
| "RGB CODE": "rgb(0, 0, 0)" | |
| }, | |
| { | |
| "COLOR": "Black", | |
| "SHADE": "Charcoal", |
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
| TMPDIR="/gisdata/temp/" | |
| UNZIPTOOL=unzip | |
| WGETTOOL="/usr/bin/wget" | |
| export PGBIN=/usr/lib/postgresql/14/bin | |
| export PGPORT=5432 | |
| export PGHOST=localhost | |
| export PGUSER=$1 | |
| export PGPASSWORD=$2 | |
| export PGDATABASE=osm | |
| PSQL=${PGBIN}/psql |
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
| tags: | |
| load_all: true | |
| tables: | |
| power: | |
| columns: | |
| - name: osm_id | |
| type: id | |
| - name: geometry | |
| type: geometry | |
| - key: name |
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
| areas: | |
| area_tags: [building, landuse, leisure, natural, aeroway] | |
| linear_tags: [highway, barrier] | |
| generalized_tables: | |
| landusages_gen0: | |
| source: landusages_gen1 | |
| sql_filter: ST_Area(geometry)>500000.000000 | |
| tolerance: 200.0 | |
| landusages_gen1: | |
| source: landusages |
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
| (async function run() { | |
| /** | |
| * Here we check to make sure we're on the Apps page of the QMC. | |
| * If we aren't on the Apps page, we exit the script with an | |
| * error message. | |
| */ | |
| if (window.location.pathname.includes("/qmc/apps") != true) { | |
| let msg = "Only use this in the QMC!"; | |
| console.log("####", msg); | |
| alert(msg); |
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
| <# | |
| # Migrate data connections | |
| # ======================== | |
| # | |
| # Requirements: | |
| # - Qlik CLI tool (π - https://github.com/qlik-oss/qlik-cli) | |
| # - The ID of the data connection to migrate | |
| # | |
| # Steps: | |
| # 1. Login to origin Qlik env. |
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
| /* REST error retry loop */ | |
| /* - This script will try to execute a subroutine 3 times before it finally fails. */ | |
| Set ErrorMode = 0; | |
| SUB MySub | |
| LIB CONNECT TO 'Server test'; | |
| [MyTable]: | |
| SQL SELECT |
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
| // ============================ LOAD TABLES ============================ | |
| /* LOAD Fact table 1, including creating the compound key that will be used | |
| to link this table to the other ones | |
| */ | |
| Qualify *; | |
| Unqualify [%mainKey], [CASENUMBER], [EMPLOYEE_CUSTOMERNO]; | |
| [ReqAb]: | |
| LOAD |
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
| # Update DataTransfer load script | |
| # Location of datasets.json file | |
| $ds_path = "C:\ProgramData\Qlik\DataTransfer\DataUpload\storage\datasets.json" | |
| # Get file contents as PSObject | |
| $ds = Get-Content $ds_path | ConvertFrom-Json -Depth 20 | |
| # Narrow to relevant data connection | |
| $aws_con = $ds | ? { $_.name -eq "AWS SQL Server test 1" } |
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
| <# | |
| # # # # Assign nPrinting roles with nPrinting CLI using PowerShell # # # # | |
| - Created by: Austin Spivey ([email protected]) | |
| - Uses: https://github.com/QlikProfessionalServices/QlikNPrinting-CLI | |
| - Last updated: 12/16/2021 | |
| -License: MIT | |
| Copyright 2021 Austin Spivey ([email protected]) | |
| #> |
NewerOlder