Skip to content

Instantly share code, notes, and snippets.

Mark markchou

View GitHub Profile
@markchou
markchou / haproxy.cfg
Created Apr 3, 2018 — forked from ei-grad/haproxy.cfg
Trivial haproxy config for tcp port forwarding
View haproxy.cfg
listen l1
bind 0.0.0.0:80
mode tcp
timeout connect 4000
timeout client 180000
timeout server 180000
server srv1 192.168.1.1:80
global
user "nobody"
@markchou
markchou / gist:456f357008d5f210fb0269f6d2ba959f
Created Aug 25, 2016 — forked from sebsto/gist:19b99f1fa1f32cae5d00
Install Maven with Yum on Amazon Linux
View gist:456f357008d5f210fb0269f6d2ba959f
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
sudo yum install -y apache-maven
mvn --version
You can’t perform that action at this time.