Skip to content

Instantly share code, notes, and snippets.

View DarthHTTP's full-sized avatar

Darth HTTP DarthHTTP

  • The Empire
  • Galactic Core
View GitHub Profile
#
# Original idea:
# https://discourse.haproxy.org/t/haproxy-unable-to-redirect-to-https-when-terminating/2158
#
# Stats:
# https://blog.sleeplessbeastie.eu/2020/01/29/how-to-use-haproxy-stats-socket
#
# Global
global
@DarthHTTP
DarthHTTP / md
Created May 27, 2020 07:40
custom go1.14.2.linux-armv6l
cd $HOME
file='go1.14.2.linux-armv6l.tar.gz'
wget "https://dl.google.com/go/$file"
sudo tar -C /usr/local -xvf "$file"
cat >> ~/.bashrc << 'EOF'
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
EOF
source ~/.bashrc