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 | |
tmp_dir="$(mktemp -d)" | |
cd $tmp_dir | |
wget https://github.com/tomnomnom/gron/releases/download/v0.7.1/gron-linux-amd64-0.7.1.tgz | |
tar -xvzf gron-linux-amd64-0.7.1.tgz | |
sudo mv gron /usr/bin/ | |
cd - | |
rm -rf $tmp_dir |
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
tmp_dir="$(mktemp -d)" | |
cd $tmp_dir | |
wget https://github.com/tomnomnom/gron/releases/download/v0.7.1/gron-linux-amd64-0.7.1.tgz | |
tar -xvzf gron-linux-amd64-0.7.1.tgz | |
sudo mv gron /usr/bin/ | |
cd - | |
rm -rf $tmp_dir | |
gron --version | |
export AWS_PAGER= |
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 | |
export TERRAFORM_SWITCHER_VERSION=0.13.1308 | |
export TGSWITCH_VERSION=0.6.0 | |
sudo rm -rvf /usr/bin/terraform | |
mkdir -p ~/bin | |
curl https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh -o tfswitch-install.sh | |
bash tfswitch-install.sh -b ~/bin | |
rm -vf tfswitch-install.sh | |
curl https://raw.githubusercontent.com/warrensbox/tgswitch/release/install.sh -o tgswitch-install.sh |
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 | |
export TERRAFORM_SWITCHER_VERSION=0.13.1308 | |
export TGSWITCH_VERSION=0.6.0 | |
sudo rm -rvf /usr/bin/terraform | |
mkdir -p ~/bin | |
curl https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh -o tfswitch-install.sh | |
bash tfswitch-install.sh -b ~/bin | |
rm -vf tfswitch-install.sh | |
curl https://raw.githubusercontent.com/warrensbox/tgswitch/release/install.sh -o tgswitch-install.sh |
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
global | |
log 127.0.0.1 local2 | |
chroot /var/lib/haproxy | |
pidfile /var/run/haproxy.pid | |
maxconn 4000 | |
user haproxy | |
group haproxy | |
daemon |