This file contains 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
# Config: /etc/nginx/conf.d/kibana.conf | |
server { | |
listen 80; | |
server_name PROXY_URL; | |
# Read only access to Kibana | |
# deny other than get/post/options/head | |
# allow post when used with _search/_msearch/_mget | |
# allow get/options/head | |
set $posting 11; |
This file contains 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
#!/bin/sh | |
command -v apktool >/dev/null 2>&1 || { echo >&2 "I require apktool but it's not installed. Aborting."; exit 1; } | |
command -v keytool >/dev/null 2>&1 || { echo >&2 "I require keytool but it's not installed. Aborting."; exit 1; } | |
command -v jarsigner >/dev/null 2>&1 || { echo >&2 "I require jarsigner but it's not installed. Aborting."; exit 1; } | |
TMPDIR=`mktemp -d 2>/dev/null || mktemp -d -t 'apkdebug'` | |
APK=$1 | |
DEBUG_APK="${APK%.*}.debug.apk" | |
if [ -f $APK ]; then |