Skip to content

Instantly share code, notes, and snippets.

View javajon's full-sized avatar

Jonathan Johnson javajon

View GitHub Profile
apiVersion: apps/v1
kind: Deployment
metadata:
name: kafka-broker
labels:
app: kafka
spec:
replicas: 1
selector:
matchLabels:
@javajon
javajon / init-background.sh
Last active March 2, 2022 02:52
Revised init-background.sh for authors of challenges that upgrade to Solver version 0.5.4+
#!/bin/bash
# Log script activity (https://serverfault.com/a/103569)
exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3
exec 1>/var/log/init-background.log 2>&1
set -x
# Add any installations or configurations here that the scenario may need
#
# Web Search
This starts a scenario and attempts to complete the actions
## Exercise nginx scenario
* Start javajon scenario "kubernetes-applications/nginx"
* Check intro
* Check step 1
* Check step 2
const {
openBrowser,
goto,
text,
click,
closeBrowser
} = require('taiko');
const headless = process.env.headless_chrome.toLowerCase() === 'true';
@javajon
javajon / kubectl-snippet.toml
Last active May 21, 2023 12:16
A kubectl library for Pet snippets
# Reference source snippets
[[snippets]]
description = "Reference Cheat Sheet"
command = "start https://kubernetes.io/docs/reference/kubectl/cheatsheet/"
tag = ["reference"]
output = ""
# Setup snippets