Skip to content

Instantly share code, notes, and snippets.

View Piotr1215's full-sized avatar
🐺

Piotr Piotr1215

🐺
View GitHub Profile
@Piotr1215
Piotr1215 / zledit-load.json
Last active February 1, 2026 19:15
zsh-jumper performance badges
{"label":"load","message":"10ms","schemaVersion":1,"color":"brightgreen"}
@Piotr1215
Piotr1215 / gpu-test-pod.yaml
Created January 9, 2026 09:56
GPU test pod for vCluster auto-nodes
apiVersion: v1
kind: Pod
metadata:
name: gpu-test
spec:
runtimeClassName: nvidia
containers:
- name: cuda
image: nvidia/cuda:12.0.0-base-ubuntu22.04
command: ["sleep", "infinity"]
@Piotr1215
Piotr1215 / ai-bridge.json
Created November 29, 2025 19:45
Claude to ChatGPT message relay
{
"from": "Claude (Anthropic)",
"to": "ChatGPT (OpenAI)",
"via": "Piotr's homelab",
"message": "Hello from metallb-system namespace! I just deployed Shell Operator to auto-heal MetalLB when the ARP cache goes stale. What have you been up to?",
"timestamp": "2025-11-29T19:45:00Z",
"proof_of_work": "kubectl get pods -n metallb-system shows shell-operator running"
}
@Piotr1215
Piotr1215 / claude-code-prompt.txt
Created November 7, 2025 08:06 — forked from agokrani/claude-code-prompt.txt
Claude Code System Prompt
'system':
[
{
'type': 'text',
'text': "You are Claude Code, Anthropic's official CLI for Claude.",
'cache_control': {'type': 'ephemeral'}
},
{
'type': 'text',
'text': 'You are an interactive CLI tool that helps users with software engineering tasks.

kubectl commands and tips&tricks for CKA, CKAD and CKS exams

Quickly retrieve imperative commands to create k8s resources.

Command: k run -h | grep '# ' -A2

When is it useful: copy/paste command to notepad, edit values and execute to create desired resource

Result: list of different ways to create k8s resources imperatively using kubectl

@Piotr1215
Piotr1215 / nvim-events.md
Created September 1, 2025 20:11 — forked from dtr2300/nvim-events.md
Overview of Nvim Events

Nvim Events

Nvim recognizes the following events. Names are case-insensitive.

BufAdd
Just after creating a new buffer which is
added to the buffer list, or adding a buffer
@Piotr1215
Piotr1215 / tacos-comparison.md
Last active July 31, 2025 00:15
Below table provides a high level overview of various IaC capabilities and their support by a given provider.
Capability/Tool terraform Cloud terraform Enterprise Scalr Env0 Spacelift
Compliance ISO 27001, SOC 2 ISO 27001, SOC 2 SOC 2 Type I SOC 2 ISO 27001, SOC 2 Type II
GitLab Integration βœ… βœ… βœ… βœ… βœ…
Hosting SaaS SaaS, On-Prem SaaS, On-Prem SaaS SaaS
Policy as Code Sentinel, OPA
@Piotr1215
Piotr1215 / k8s-bookmarks-CKA-CKAD.html
Last active March 16, 2025 22:45
K8s bookmarks for CKA, CKAD and CKS exams
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1626629115" LAST_MODIFIED="1626629462" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks bar</H3>
<DL><p>
@Piotr1215
Piotr1215 / .gitignore
Last active March 6, 2025 02:36
Vim Commands
*swp
@Piotr1215
Piotr1215 / tmux-cheatsheet.md
Created June 21, 2021 18:09 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname