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/bash | |
# https://gist.github.com/wmono/3b19e6613fb0e8abd798f0644d96c4aa | |
JDK_PREFIX="${JDK_PREFIX:-$HOME/local}" | |
############################################################################### | |
request="$1" | |
changed_jdk=0 |
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
require "logstash/filters/base" | |
require "logstash/namespace" | |
# | |
# Filter plugin to normalize log levels from various logging frameworks | |
# | |
# The output field (log_level by default) will contain a number between | |
# 100 and 999, inclusive, with higher numbers indicating higher | |
# importance or severity. | |
# |
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/bash | |
# Down script for OpenVPN | |
# Copyright (c) 2010 eqv.ca | |
# Licensed under New BSD http://www.opensource.org/licenses/bsd-license.php | |
NETSTAT=/usr/sbin/netstat | |
NETWORKSETUP=/usr/sbin/networksetup | |
# Override DHCP values or leave blank | |
DNS= |