Skip to content

Instantly share code, notes, and snippets.

View ihm_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3Bv7E+HE5s3OOKn/4b5g6fNjemdFMpYp5u0oN/G+elFHCvvAcnMOsscJGNK88v+Dq9j5knURrsWJmr1rBjdQzlFCYCrWkjq7KinveRmxpPBOOuCz5MfdTc9NZdAJ/XoShQhXP1s/r8mcD8G2UYIc/ZttJC7MjiQyd530CHXzpQwh0LG1pcFlBNrKnOWfrlLEeUXMcr3SFpQCRyzaOLbgaHQQs9Bhks04SqVFGKryfUe0M5/HGcS7SAhHeaK73BgC2dXIB1bfdbV1WU/Y+F6F1ntgnSq1xVjbg9YPevwWlklzMPMjEfwiN+u/e707WHU3I2HH5maHGV79qtIQvbmQB vjm@vjm-ihm.local
View Dockerfile
# 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 Mar 15, 2016
Add my public keys
View README.md

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

View README.md

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 <(curl https://gist.githubusercontent.com/vjm/37843e939c7868d3f4e2/raw/rewrite_author.sh)

View computenode_interfaces
# 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 Aug 29, 2015
Toggle hiding spotify application icon visibility
View README.md

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

@vjm
vjm / README.md
Last active Oct 1, 2018
Install DevOps applications as Docker Images and auto-start
View README.md
  • 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)
@vjm
vjm / README.md
Last active Aug 29, 2015
Elk Stack Setup on Ubuntu
View README.md

#Ubuntu Setup

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

@vjm
vjm / README.md
Last active Aug 29, 2015
Ubuntu Setup
View README.md

#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 Mar 7, 2015
Raspberry Pi ELK Stack
View install.sh
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
You can’t perform that action at this time.