Skip to content

Instantly share code, notes, and snippets.

View winnab's full-sized avatar

Winna Bridgewater winnab

View GitHub Profile
@winnab
winnab / notes.md
Last active August 8, 2023 16:45 — forked from syntassodev/notes.md
Promise Building workshop

Promise Writing Session

Verify system setup

Ensure environment variables are set for ease of running commands throughout

export PLATFORM="kind-platform"
export WORKER="kind-worker"
Demo
https://github.com/syntasso/kratix/tree/main/demo
Done
* Download raw images
Pre-demo TODO
* Set up screen to be legible
* Run setup script

System setup

For this workshop, we'll use Kratix on two local Kubernetes clusters. Install the prerequisites listed below if they aren't already on your system.

  1. kind CLI / Kubernetes-in-Docker(KinD):
    Used to create and manage local Kubernetes clusters in Docker.
    See the quick start guide to install.

  2. docker CLI / Docker:
    Used to orchestrate containers. kind (above) requires that you have Docker installed and configured.
    See Get Docker to install.

title owner
Failure Scenarios for the On-Demand Service Broker
London Services Enablement

TODO Something here.

Task Component Failure Next Steps
Startup Broker must supply -configFilePath Contact pcf‑services‑enablement@pivotal.io
package main
import (
"fmt"
"log"
"os"
"os/signal"
"syscall"
)
@winnab
winnab / odb_style.md
Created August 29, 2017 06:58
ODB style guide

Reference

Tests - Ginkgo Proverbs

Local Immutable Test Setup

  • Define test setup, such as CF and BOSH APIs, or mock service adapters as close to the test as possible
  • Don't modify a generic test setup for each context, create a new one
@winnab
winnab / gist:2c5608fe4034b2276f2a8664dbe9c9f0
Last active March 26, 2018 09:14
Gogland useful shortcuts

From another project

Navigation

  • Go to definition: cmd + B
  • Go to list of all method declarations: cmd + opt + B
  • Line up and down: cmd + shift + up or down arrow
  • Expansive text selection: option + up arrow (as many times as needed)
  • cmd+[: go back
  • cmd+]: go forward
  • alt+F7: find usages of the identifier under the cursor.

Console

  • Background: Shell
  • Varieties: C-shell, K-shell, Bash-shell (Bourne-again shell)

Bash shell

  • Uses bash scripting language, which was added to make using Bash easier
  • Allows you to add if statements, etc

Bash was a very early scripting language. Better to learn Perl or Python, which are easier to use.

Instructor email: vtsontsi@gmail.com

Unix

a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, developed starting in the 1970s at the Bell Labs research center by Ken Thompson, Dennis Ritchie, and others.

When UNIX was first introduced

  • Had huge mainframe with many things connected to it
  • For big companies and institutions
  • Needed to spread resources (multi-tasking)
  • Meant to be server operating system