Skip to content

Instantly share code, notes, and snippets.

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,
@vjm
vjm / README.md
Last active March 15, 2016 00:23
Add my public keys

curl -fsSL https://gist.githubusercontent.com/vjm/cfef584506199f61d151/raw/add_authorized_keys.sh | sh

@vjm
vjm / README.md
Last active November 6, 2018 14:22
Git Fu

Readme

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 &lt;(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
@vjm
vjm / README.md
Last active August 29, 2015 14:21
Toggle hiding spotify application icon visibility

curl -s https://gist.githubusercontent.com/vjm/1a873d0b7cd63cb4f8b7/raw/toggle_spotify.sh | bash

@vjm
vjm / README.md
Last active October 1, 2018 11:56
Install DevOps applications as Docker Images and auto-start
  • 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 &lt;(curl -s https://gist.githubusercontent.com/vjm/fea77232e2bd6bb49f24/raw/elk-update.sh)
@vjm
vjm / README.md
Last active August 29, 2015 14:17
Elk Stack Setup on Ubuntu

#Ubuntu Setup

curl -sSL https://gist.githubusercontent.com/vjm/150f4ac913195b8ca44a/raw/install.sh | sudo sh

@vjm
vjm / README.md
Last active August 29, 2015 14:16
Ubuntu Setup

#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

@vjm
vjm / install.sh
Created March 7, 2015 21:38
Raspberry Pi ELK Stack
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