Skip to content

Instantly share code, notes, and snippets.

View kvncrw's full-sized avatar
🏴‍☠️

Kevin kvncrw

🏴‍☠️
View GitHub Profile

Keybase proof

I hereby claim:

  • I am notsureifkevin on github.
  • I am notsureifkevin (https://keybase.io/notsureifkevin) on keybase.
  • I have a public key ASBLUshPomYQlgEoPBvZ76-7zDzPdINDBkC7UqSUX2NXMQo

To claim this, I am signing this object:

@kvncrw
kvncrw / get-kubeconfig.sh
Last active July 31, 2019 16:23
kubeconfig generator for opentracing workshop
#!/bin/bash
# Copyright 2018 Gravitational, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@kvncrw
kvncrw / petclinic.json
Created October 19, 2018 16:52
Spring Pet Clinic Business Metric Dashboard
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
@kvncrw
kvncrw / ot-ws-general.md
Last active January 20, 2019 16:11
opentracing abstract / detail

Observability Workshop: Kubernetes, Tracing, and Metrics

Time Requirements:

  • w/ Audience Participation: 2-3 hours
  • Instructor Only: 1.5 hours

The goal of this workshop is to familiarize application and site reliability engineers with the benefits that modern observability tools provide to the builders and curators of cloud native applications.

➜ terraform git:(master) pwd
/development/go/terraform
➜ terraform git:(master) go list .
_/development/go/terraform
➜ terraform git:(master)
echo "\n192.168.167.19\tapi.getbuilt.local\n192.168.167.19\tconsole.getbuilt.local\n192.168.167.19\tlogin.getbuilt.local\n" | sudo tee -a /etc/hosts
(enter login password)
@kvncrw
kvncrw / deploy.php
Created January 7, 2016 21:39
Bamboo CodeDeploy replacement
<?php
/**
* Class Deploy
*
* Bamboo CodeDeploy integration conveniently ignores .hidden files, and has been broken for quite some time.
* (https://jira.atlassian.com/browse/BAM-16226)
*
* This is a PHP script which does the job right. Any Linux (and probably Windows) based Bamboo build server will
* run this script natively. Currently this script will ship the entire contents of the working directory. Keep that in mind.
#include <iostream>
using namespace std;
struct Node {
int data;
struct Node *next;
};
Node* Insert(Node *head,int data);