This file contains hidden or 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 | |
if [ "$#" -ne 2 ]; then | |
echo "Usage: `basename $0` [provider|all] [on|off]" | |
exit 1 | |
fi | |
providers=("westjet" "air_canada" "gws") | |
provider=$1 |
This file contains hidden or 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
package controllers | |
import java.io.Writer | |
import akka.util.ByteString | |
import io.prometheus.client._ | |
import io.prometheus.client.exporter.common.TextFormat | |
import play.api.http.HttpEntity | |
import play.api.mvc._ |
This file contains hidden or 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
set -o vi | |
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) | |
#ulimit -n 65536 | |
#ulimit -u 2048 | |
export HISTCONTROL=ignoredups | |
export HISTSIZE=1000 | |
export GOPATH=$HOME/gowork | |
export PATH="$PATH:$HOME/bin:$HOME/.rvm/bin" # Add RVM to PATH for scripting |