Skip to content

Instantly share code, notes, and snippets.

@etsangsplk
etsangsplk / Environment_for_Developing_Kubernetes.md
Created April 13, 2017 15:24 — forked from whitlockjc/Environment_for_Developing_Kubernetes.md
Resources on creating a development environment for contributing to Kubernetes.

Environment for Developing Kubernetes

First and foremost, this is not a document on how to create an environment for developing applications targeting Kubernetes as its runtime. This document is to outline the steps required to create an environment for contributing to Kubernetes based on recently setting up both Linux and Mac development environments. This document is written as if you will be creating your development enivonment on OS X but just know that things are basically the same when on other OSes. Of course, the installation and configuration of these tools will changed based on which OS you're on, and possibly other things, but the gist is that in this guide when you see that tool X is required, you follow whatever steps to install tool X on your OS.

@etsangsplk
etsangsplk / jwt.go
Created May 24, 2017 22:09 — forked from troyk/jwt.go
golang jwt example
package cmd
import (
"encoding/json"
"flag"
"fmt"
"os"
"regexp"
"strings"
@etsangsplk
etsangsplk / logrus_cloudwatchlogs.go
Created June 20, 2017 16:31 — forked from kos59125/logrus_cloudwatchlogs.go
github.com/Sirupsen/logrus hook for logging to CloudWatch Logs
package logrus_ext
import (
"encoding/json"
"fmt"
"github.com/Sirupsen/logrus"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/cloudwatchlogs"
"github.com/oleiade/lane"
@etsangsplk
etsangsplk / The Technical Interview Cheat Sheet.md
Created September 1, 2017 20:38 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@etsangsplk
etsangsplk / mount.efs-nfs4
Created November 15, 2017 01:22 — forked from rarylson/mount.efs-nfs4
Mount helper for AWS EFS filesystems on AWS EC2 hosts
#!/bin/sh
# vim: et colorcolumn=80
set -e
# Mount helper for mounting AWS EFS filesystems on AWS EC2 hosts
#
# AWS EFS filesystems must be mounted as NFS4 filesystems using URLs (called
# "mount target DNS") that are different for each available zone.
# An EFS URL has the following format:
#
@etsangsplk
etsangsplk / concurrency-in-go.md
Created December 22, 2017 23:26 — forked from kachayev/concurrency-in-go.md
Channels Are Not Enough or Why Pipelining Is Not That Easy
@etsangsplk
etsangsplk / README.md
Created June 19, 2018 16:37 — forked from emschwartz/README.md
1st ETH -> XRP Interledger Escrow Payment

1st ETH -> XRP Interledger Escrow Payment

Here are the transaction IDs (and links to the block explorers) for the first livenet Ethereum and Ripple Consensus Ledger (RCL) escrowed transfers comprising an Interledger payment.

  1. Ethereum prepare: 0x00cbb6149b9cfb3cedf280251c3060b2a38776fa7792b578b6f9f39ce5ee0266
  2. RCL prepare: 7F0A5F16C84568D96DA6A66058CD9EAA881236237642BF7427A458957A752B6B
  3. RCL fulfill: 12A4CAFAE95254844513C5C11488A1195C08DEFF673C97AC74AAC121935DDE36
  4. Ethereum fulfill: 0xb59dd839ab0b5e7d4e663b7cfc0ddb70eaf73dd2785b3d3a4abdf1a61817007d

SHA-256 Condition: `d2