| name | explain-diff-html |
|---|---|
| description | Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output. |
Please make me a rich, interactive explanation of the specified code change.
It should have these sections:
| // Restify Server CheatSheet. | |
| // More about the API: http://mcavage.me/node-restify/#server-api | |
| // Install restify with npm install restify | |
| // 1.1. Creating a Server. | |
| // http://mcavage.me/node-restify/#Creating-a-Server | |
| var restify = require('restify'); |
| #!/usr/bin/env bash | |
| set -e | |
| CONTEXT="$1" | |
| if [[ -z ${CONTEXT} ]]; then | |
| echo "Usage: $0 KUBE-CONTEXT" | |
| exit 1 | |
| fi |
| <# | |
| Run on the Central | |
| #> | |
| # Connect to Qlik Sense | |
| # See https://github.com/ahaydon/Qlik-Cli/wiki/Establishing-a-connection for more connection options | |
| Connect-Qlik | |
| # Add the Node to the Cluster; store the password element of the response for the ZIP as $password | |
| # nodePurpose: 0 (Production) / 1 (Development) / 2 (Both) | |
| # engineEnabled, proxyEnabled, schedulerEnabled, $printingEnabled, $failoverCandidate as options | |
| $password = New-QlikNode -hostname qlikserver2.domain.local -name qlikserver2 -nodePurpose 0 -engineEnabled -proxyEnabled |
| var qsocks = require('qsocks') | |
| var serializeApp = require('serializeapp') | |
| var fs = require('fs-extra') | |
| var Promise = require('promise') | |
| function create(docname) { | |
| qsocks.Connect({appname: docname}) | |
| .then(function(global) { | |
| return global.openDoc(docname) | |
| }) |
| @echo off | |
| REM wblGen.bat - v 1.0.0 - 2015-10-09 | |
| REM Description: | |
| REM A simple batch file that automatically generates the wblfolder.wbl for your Qlik Sense visualization extension. | |
| REM | |
| REM Author: Nate Untiedt - Analytics8 - nuntiedt@analytics8.com | |
| REM | |
| REM Credit to: http://stackoverflow.com/a/8387078 | |
| setlocal EnableDelayedExpansion |