First deploy the demo app.
kubectl apply -f tns.yaml
Make sure tiller is installed in your cluster.
Add our chart repository
helm repo add loki https://grafana.github.io/loki/charts
First deploy the demo app.
kubectl apply -f tns.yaml
Make sure tiller is installed in your cluster.
Add our chart repository
helm repo add loki https://grafana.github.io/loki/charts
#!/bin/bash | |
DATESTAMP=`date "+%Y-%m-%d-%H-%M-%S"` | |
MOPIDY_CONFIG="/etc/mopidy/mopidy.conf" | |
MOPIDY_SUDOERS="/etc/sudoers.d/010_mopidy-nopasswd" | |
EXISTING_CONFIG=false | |
PYTHON_MAJOR_VERSION=3 | |
PIP_BIN=pip3 | |
function add_to_config_text { |
// 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'); |
// This is the "run" block of your main module | |
.run(['$window', function (window) { | |
// First, let's shim the requestAnimationFrame API, | |
// with a setTimeout fallback | |
window.requestAnimFrame = window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.mozRequestAnimationFrame || | |
window.oRequestAnimationFrame || | |
window.msRequestAnimationFrame || | |
function (callback) { |
Navigation: | |
cmd-p Goto Anything ('@' for functions, ':' for line number) | |
cmd-r Function finder | |
ctl-g Goto line number | |
cmd-sft-p Command palette | |
cmd-sft-f Find in Files | |
cmd-opt-r Toggle regex when finding | |
cmd-opt-# Columns | |
ctr-# Switch columns |