Skip to content

Instantly share code, notes, and snippets.

Bringing DevOps to Qlik Sense - one tool at a time. Hello SenseOps!

Göran Sander mountaindude

Bringing DevOps to Qlik Sense - one tool at a time. Hello SenseOps!
View GitHub Profile
levi-turner / RegisterNode.ps1
Last active Dec 9, 2021
Register a Qlik Node using Qlik CLI
View RegisterNode.ps1
Run on the Central
# Connect to Qlik Sense
# See for more connection options
# 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
gabonator /
Last active Jan 6, 2022
esp32 TTGO arduino compatible board with 128x64 pixel oled display and Wifi

esp32 TTGO arduino compatible board with 128x64 pixel oled display and Wifi

Front Back Pinout

Device description on banggood

  1. The main control chip using Le Xin ESP32, Tensilica LX6 dual core processor, clocked at 240MHz, computing capacity of up to 600DMIPS, 520 SRAM, 802.11 KB chip b/g/n HT40 Wi-Fi transceiver, baseband, and LWIP protocol stack, Bluetooth (Bluetooth dual-mode integrated
jessfraz / boxstarter.ps1
Last active Jun 7, 2022
Boxstarter Commands for a new Windows box.
View boxstarter.ps1
# Description: Boxstarter Script
# Author: Jess Frazelle <>
# Last Updated: 2017-09-11
# Install boxstarter:
# . { iwr -useb } | iex; get-boxstarter -Force
# You might need to set: Set-ExecutionPolicy RemoteSigned
# Run this boxstarter by calling the following from an **elevated** command-prompt:
negz /
Last active Jun 7, 2022
Dump Kubernetes cluster resources as YAML
#!/usr/bin/env bash
set -e
if [[ -z ${CONTEXT} ]]; then
echo "Usage: $0 KUBE-CONTEXT"
exit 1
ljharb /
Last active Jun 17, 2022
Array iteration methods summarized

Array Iteration

While attempting to explain JavaScript's reduce method on arrays, conceptually, I came up with the following - hopefully it's helpful; happy to tweak it if anyone has suggestions.


JavaScript Arrays have lots of built in methods on their prototype. Some of them mutate - ie, they change the underlying array in-place. Luckily, most of them do not - they instead return an entirely distinct array. Since arrays are conceptually a contiguous list of items, it helps code clarity and maintainability a lot to be able to operate on them in a "functional" way. (I'll also insist on referring to an array as a "list" - although in some languages, List is a native data type, in JS and this post, I'm referring to the concept. Everywhere I use the word "list" you can assume I'm talking about a JS Array) This means, to perform a single operation on the list as a whole ("atomically"), and to return a new list - thus making it mu

mindspank / dump.js
Last active Mar 24, 2016
View dump.js
var qsocks = require('qsocks');
var Promise = require('bluebird');
var fs = require('fs-extra');
var config = {
isSecure: true,
host: '<HOSTNAME>',
port: 4747,
headers: {
'X-Qlik-User': 'UserDirectory=Internal;UserId=sa_repository'
mindspank / app2json.js
Last active Jan 21, 2019
Sample use of serializeapp and buildapp #serializer #engineapi
View app2json.js
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)
brianmacarthur / flash-app.js
Last active May 27, 2022
Flash messaging in Express 4: express-flash vs. custom middleware in ejs, handlebars, or jade
View flash-app.js
var express = require('express');
var cookieParser = require('cookie-parser');
var session = require('express-session');
var flash = require('express-flash');
var handlebars = require('express-handlebars')
var app = express();
var sessionStore = new session.MemoryStore;
// View Engines
vinceallenvince /
Last active Feb 28, 2021
Set up an SD Card for Raspberry Pi Audio projects

#Set up an RPi Audio project

Use the following instructions to prepare your RPi's SD Card for an audio project.

###Install an operating system. You first need to install an operating system on your RPi. Raspian should work fine. If you're using a monitor, keyboard and mouse, using an install manager is the easiest way. Just follow the instuctions for installing NOOBS.

If you are developing headless, follow the instructions for downloading and installing Raspian. You'll also need to login via ssh or a console cable. If you're on Yosemite on a Mac, [this post](

View 1-restify-server-cheatsheet.js
// Restify Server CheatSheet.
// More about the API:
// Install restify with npm install restify
// 1.1. Creating a Server.
var restify = require('restify');