Skip to content

Instantly share code, notes, and snippets.

Avatar

Naveen naveensrinivasan

View GitHub Profile
@naveensrinivasan
naveensrinivasan / golang_on_rpi.md
Last active Apr 28, 2017 — forked from konradko/golang_on_rpi.md
Install Golang 1.7 on Raspberry Pi
View golang_on_rpi.md
cd ~
wget https://storage.googleapis.com/golang/go1.8.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.8.linux-armv6l.tar.gz
export PATH=/usr/local/go/bin:$PATH
rm go1.8.linux-armv6l.tar.gz
@naveensrinivasan
naveensrinivasan / locust-wrapper.py
Created Apr 14, 2017 — forked from wiebren/locust-wrapper.py
Locust MonKit wrapper for Jenkins
View locust-wrapper.py
import argparse
import subprocess
import sys
import re
from collections import defaultdict
from lxml import etree
report = ["Min", "Avg", "Median", "95%", "99%"]
@naveensrinivasan
naveensrinivasan / after.sh
Created Apr 13, 2017 — forked from justincampbell/after.sh
Jenkins + GitHub Commit Status API
View after.sh
if [[ $BUILD_STATUS == "success" ]]
then
export STATUS="success"
else
export STATUS="failure"
fi
curl "https://api.github.com/repos/justincampbell/my_repo/statuses/$GIT_COMMIT?access_token=abc123" \
-H "Content-Type: application/json" \
-X POST \
@naveensrinivasan
naveensrinivasan / zipkin-starter-0.1.5-kubernetes.yml
Created Mar 25, 2017
Zipkin for k8s using PersistentVolumeClaim and Dynamic Provisioning
View zipkin-starter-0.1.5-kubernetes.yml
---
apiVersion: "v1"
kind: "List"
items:
- apiVersion: "v1"
kind: "Service"
metadata:
annotations:
fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-ipaas/master/kafka/src/main/fabric8/icon.png"
fabric8.io/git-commit: "500219733b1151415686940f4b893d7add206822"
@naveensrinivasan
naveensrinivasan / zipkin-starter-0.1.5-kubernetes.yml
Created Mar 25, 2017
Zipkin for k8s using PersistentVolumeClaim and Dynamic Provisioning
View zipkin-starter-0.1.5-kubernetes.yml
---
apiVersion: "v1"
kind: "List"
items:
- apiVersion: "v1"
kind: "Service"
metadata:
annotations:
fabric8.io/iconUrl: "https://cdn.rawgit.com/fabric8io/fabric8-ipaas/master/kafka/src/main/fabric8/icon.png"
fabric8.io/git-commit: "500219733b1151415686940f4b893d7add206822"
View pet-snippet.toml
[[snippets]]
description = "set katana namespace"
command = "k config set-context minikube --namespace=katana"
[[snippets]]
description = "Get global ip address"
command = "curl ifconfig.co"
[[snippets]]
description = "katana"
View pet-snippet.toml
[[snippets]]
description = "set katana namespace"
command = "k config set-context minikube --namespace=katana"
[[snippets]]
description = "Get global ip address"
command = "curl ifconfig.co"
View example-linkerd.json
{
"clnt/daemonsetTransformer/available" : 1.0,
"clnt/daemonsetTransformer/cancelled_connects" : 0,
"clnt/daemonsetTransformer/closes" : 0,
"clnt/daemonsetTransformer/connect_latency_ms.count" : 0,
"clnt/daemonsetTransformer/connection_duration.count" : 0,
"clnt/daemonsetTransformer/connection_received_bytes.count" : 0,
"clnt/daemonsetTransformer/connection_requests.count" : 0,
"clnt/daemonsetTransformer/connection_sent_bytes.count" : 0,
"clnt/daemonsetTransformer/connections" : 1.0,
View linkerd-metrics.json
{
"clnt/zipkin-tracer/available" : 1.0,
"clnt/zipkin-tracer/cancelled_connects" : 0,
"clnt/zipkin-tracer/closes" : 0,
"clnt/zipkin-tracer/codec_connection_preparation_latency_ms.count" : 0,
"clnt/zipkin-tracer/connect_latency_ms.count" : 0,
"clnt/zipkin-tracer/connection_duration.count" : 0,
"clnt/zipkin-tracer/connection_received_bytes.count" : 0,
"clnt/zipkin-tracer/connection_requests.count" : 0,
"clnt/zipkin-tracer/connection_sent_bytes.count" : 0,
View keybase..md

Keybase proof

I hereby claim:

To claim this, I am signing this object: