This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module github.com/kubasobon/castai | |
go 1.20 | |
require golang.org/x/exp v0.0.0-20231006140011-7918f672742d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |