Skip to content

Instantly share code, notes, and snippets.

View krisnova's full-sized avatar
😅
busy keeping this website online

Kris Nóva krisnova

😅
busy keeping this website online
View GitHub Profile
@krisnova
krisnova / DatapipeInterviewCoding.md
Last active October 27, 2016 17:38
Datapipe Coding Interview

Keybase proof

I hereby claim:

  • I am kris-nova on github.
  • I am krisnova (https://keybase.io/krisnova) on keybase.
  • I have a public key whose fingerprint is F51F EA28 B1F5 36A6 77FE DB69 1615 C002 A59D 1C7A

To claim this, I am signing this object:

@krisnova
krisnova / scope.go
Created December 15, 2016 06:51
Scope with {}
package main
import "fmt"
func main() {
n := "Hello Good!"
{
n := "Hello Bad!"
//fmt.Println(n)
}
@krisnova
krisnova / clusterSpec.yaml
Created December 29, 2016 11:49
Example kops Cluster Spec
apiVersion: kops/v1alpha2
kind: Cluster
metadata:
creationTimestamp: "2016-12-29T11:48:22Z"
name: example.nivenly.com
spec:
channel: stable
cloudProvider: aws
configBase: s3://nivenly-state-store/example.nivenly.com
etcdClusters:
@krisnova
krisnova / gps-output.md
Last active February 3, 2017 03:35
Output from a GPS run with the new output
..snip..


Root project is "/Users/kris/Workspace/kops"
69 transitively valid internal packages
132 external packages imported from 17 projects
@krisnova
krisnova / cluster.yaml
Created April 3, 2017 19:21
cluster-spec
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: kops/v1alpha2
kind: Cluster
[kris@polly gps]$ lscpu | grep "CPU(s):"
CPU(s):                16
[kris@polly gps]$ git rev-parse HEAD
da7569e414959d639654919aaf67259c3add73f4
[kris@polly gps]$ go test -race ./...
==================
WARNING: DATA RACE
Read at 0x00c4202ee0a0 by goroutine 15:
  github.com/sdboyer/gps.(*monitoredCmd).run()
¯\_(ツ)_/¯
package main
import "io/ioutil"
type AzureBlobber interface {
Render() ([]byte, []byte, error)
}
type MyAzureBlob struct {
Paramters map[string]interface{}
@krisnova
krisnova / kops-kubicorn-proposal.md
Last active November 8, 2017 16:22
Proposal for migrating kops and kubicorn into a new GitHub organization.

Migrating Kops and Kubicorn into a new organization

Problems

  • We are fragmenting to the community (again) by offering kops and kubicorn at the same time.
  • We have learned a lot of lessons via each project, and would like a chance to start fresh with the new machine API.
  • We have a lot of small components lumped into monolithic repositories.