curl -fsSL https://gist.githubusercontent.com/vjm/cfef584506199f61d151/raw/add_authorized_keys.sh | sh
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3Bv7E+HE5s3OOKn/4b5g6fNjemdFMpYp5u0oN/G+elFHCvvAcnMOsscJGNK88v+Dq9j5knURrsWJmr1rBjdQzlFCYCrWkjq7KinveRmxpPBOOuCz5MfdTc9NZdAJ/XoShQhXP1s/r8mcD8G2UYIc/ZttJC7MjiQyd530CHXzpQwh0LG1pcFlBNrKnOWfrlLEeUXMcr3SFpQCRyzaOLbgaHQQs9Bhks04SqVFGKryfUe0M5/HGcS7SAhHeaK73BgC2dXIB1bfdbV1WU/Y+F6F1ntgnSq1xVjbg9YPevwWlklzMPMjEfwiN+u/e707WHU3I2HH5maHGV79qtIQvbmQB vjm@vjm-ihm.local |
| # Start from a Debian image with the latest version of Go installed | |
| # and a workspace (GOPATH) configured at /go. | |
| FROM golang | |
| # Copy the local package files to the container's workspace. | |
| ADD server2 /server2 | |
| RUN chmod +x /server2 | |
| # Build the outyet command inside the container. | |
| # (You may fetch or manage dependencies here, |
Add a work alias to git: bash <(curl https://gist.githubusercontent.com/vjm/37843e939c7868d3f4e2/raw/setup_work_alias.sh)
Update an author: OLD_EMAIL=old.email@gmail.com CORRECT_EMAIL=new.email@work.com CORRECT_NAME="My Name" bash <(curl https://gist.githubusercontent.com/vjm/37843e939c7868d3f4e2/raw/rewrite_author.sh)
| # This file describes the network interfaces available on your system | |
| # and how to activate them. For more information, see interfaces(5). | |
| # The loopback network interface | |
| auto lo | |
| iface lo inet loopback | |
| # The primary network interface | |
| # External Network |
curl -s https://gist.githubusercontent.com/vjm/1a873d0b7cd63cb4f8b7/raw/toggle_spotify.sh | bash
bash <(curl -s https://gist.githubusercontent.com/vjm/fea77232e2bd6bb49f24/raw/jenkins-setup.sh)bash <(curl -s https://gist.githubusercontent.com/vjm/fea77232e2bd6bb49f24/raw/jenkins-update.sh)bash <(curl -s https://gist.githubusercontent.com/vjm/fea77232e2bd6bb49f24/raw/elk-setup.sh)bash <(curl -s https://gist.githubusercontent.com/vjm/fea77232e2bd6bb49f24/raw/elk-update.sh)
#Ubuntu Setup
curl -sSL https://gist.githubusercontent.com/vjm/150f4ac913195b8ca44a/raw/install.sh | sudo sh
#Ubuntu Setup
###Prerequisites:
- Make sure you're on the employee network or VPN!
##Run this to install your development environment:
curl -s https://gist.githubusercontent.com/vjm/9a41042ec1b6f53042df/raw/devops_setup.sh | sudo bash
###Afterwards
| sudo apt-get install -y supervisor | |
| sudo mkdir /usr/share/elasticsearch | |
| cd /usr/share/elasticsearch | |
| sudo wget https://download.elasticsearch.org/kibana/kibana/kibana-4.0.1-linux-x64.tar.gz | |
| sudo wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.4.tar.gz | |
| sudo wget https://download.elasticsearch.org/logstash/logstash/logstash-1.4.2.tar.gz | |
| sudo tar -zxvf elasticsearch-0.90.0.tar.gz |