Skip to content

Instantly share code, notes, and snippets.

View mountaindude's full-sized avatar
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
// Restify Server CheatSheet.
// More about the API:
// Install restify with npm install restify
// 1.1. Creating a Server.
var restify = require('restify');
mountaindude /
Created February 8, 2021 06:59 — forked from negz/
Dump Kubernetes cluster resources as YAML
#!/usr/bin/env bash
set -e
if [[ -z ${CONTEXT} ]]; then
echo "Usage: $0 KUBE-CONTEXT"
exit 1
mountaindude / post-to-teams-from-qliksense.qvs
Last active November 25, 2022 06:00
Post to Microsoft Teams from Qlik Sense
// Define webhook for the Teams channel you're posting to.
// You need to create this webhook in Microsoft Teams, then paste the webhook URL in the string below
let vTeamsWebhook = '';
// You need a data connection called "PostMessageToTeams" for this app to reload correctly.
// >>>>>>>>>>>>>>>>>>>>>>>>>>>
// Define subs
mountaindude / nicetrace.qvs
Created September 30, 2020 14:01
Qlik Sense NiceTrace function
// This Sub enables prettified output of text to the reload progress window of Qlik Sense.
// Use it to get timestamped trace messages, that also have a prefix that makes them easier
// to spot in the reload progress windows and reload logs.
// Usage example:
// call NiceTrace ('This is a debug message, including a variable $(vMetaDataQVDPath)\abc.qvd')
sub NiceTrace (vL.Msg)
mountaindude /
Created May 8, 2020 03:20 — forked from gabonator/
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
mountaindude / RegisterNode.ps1
Created August 27, 2019 22:27 — forked from levi-turner/RegisterNode.ps1
Register a Qlik Node using Qlik CLI
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
mountaindude /
Created October 18, 2017 07:48

Keybase proof

I hereby claim:

  • I am mountaindude on github.
  • I am goransander ( on keybase.
  • I have a public key ASALuz07T6sfOgcl3OrCJjJQgThJt1-GMqS7ZjNHjwdQLgo

To claim this, I am signing this object:

mountaindude / node-memory.txt
Created August 24, 2017 18:14
Node.js and PM2 memory limits
# Node
node --max-old-space-size=1024 app.js # 1Gb
# PM2
pm2 start app.js --node-args="--max-old-space-size=1024" # 1Gb
mountaindude / app2json.js
Created June 21, 2016 10:56 — forked from mindspank/app2json.js
Sample use of serializeapp and buildapp #serializer #engineapi
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)
General format:
curl -X POST --data-urlencode 'payload={"channel": "#sense-notification", "username": "webhookbot", "text": "This is posted to #sense-notification and comes from a bot named sensebot.", "icon_emoji": ":ghost:"}'<....enter_your_key_here....>
More formatting formatting:
Slack API docs:
Available emojis: