Skip to content

Instantly share code, notes, and snippets.

@kubasobon
kubasobon / go.mod
Created October 25, 2023 12:10
Cast.AI live coding interview
module github.com/kubasobon/castai
go 1.20
require golang.org/x/exp v0.0.0-20231006140011-7918f672742d
---
# Source: nginx-ingress-controller-app/templates/np.yaml
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
name: nginx-ingress-controller-app
namespace: kube-system
labels:
app: "nginx-ingress-controller"
k8s-app: "nginx-ingress-controller-app"
### Keybase proof
I hereby claim:
* I am kubasobon on github.
* I am wttyfool (https://keybase.io/wttyfool) on keybase.
* I have a public key ASBD2vL9gBU-mgWlj4w5PYIzsWYPU19u9_y-VwjsAikcbgo
To claim this, I am signing this object:
import random
import time
import pyautogui as gui
width, height = gui.size()
x, y = gui.position()
while True:
while True:
new_x = random.randint(0, width)