I hereby claim:
- I am sarathsp06 on github.
- I am sarathsp06 (https://keybase.io/sarathsp06) on keybase.
- I have a public key ASB0MGtsuf_nGHdPkSDmJ1tXPa72C19MxIClpYii0G-rlgo
To claim this, I am signing this object:
package main | |
import ( | |
"context" | |
"crypto/rand" | |
"encoding/base64" | |
"encoding/json" | |
"fmt" | |
"log" | |
"net/http" |
import ( | |
"context" | |
"github.com/newrelic/go-agent/v3/newrelic" | |
pb "github.com/shellagilehub/donut-clients/donuts/go" | |
"github.com/doug-martin/goqu/v9" | |
) | |
{{ $decorator := (or .Vars.DecoratorName (printf "%sWithTracing" .Interface.Name)) }} | |
// {{$decorator}} implements {{.Interface.Type}} interface instrumented with opentracing spans | |
type {{$decorator}} struct { |
1 .tmux.conf X | |
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi |
package main | |
import ( | |
"fmt" | |
"strconv" | |
) | |
// memoise this :D | |
func splitAsIP(s string, count int) []string { | |
if !isValidIP(s, count) { |
package main | |
import ( | |
"fmt" | |
) | |
func getMaxValIdx(arr []int, first, last int) int { | |
maxVal := arr[last] | |
maxValIdx := last | |
for idx, val := range arr[first+1 : last+1] { |
package main | |
import ( | |
"errors" | |
"fmt" | |
) | |
type SortedMatrix struct { | |
matrix [][]int | |
rCount int |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import sys | |
from boto import ec2 | |
region = 'us-east-1' | |
region = 'ap-southeast-1' | |
region = 'ap-south-1' | |
INSTANCE_STATE_RUNNING = 16 |
var lst = function(array){return array.slice(-1);} | |
var head = function(array){return array.slice(0,-1);} | |
function CreateTree(key){ | |
keys = key.split('.') | |
tags = {} | |
var last = lst(keys) | |
var hd = head(keys) | |
while(hd.length!==0){ |