Skip to content

Instantly share code, notes, and snippets.

View enchant3dmango's full-sized avatar
🎯
Focusing

&re enchant3dmango

🎯
Focusing
View GitHub Profile
@enchant3dmango
enchant3dmango / style.css
Last active February 19, 2025 18:19
My VS Code background style.
/* Container that holds the VS Code home icon. */
.editor-group-watermark {
max-width: none !important;
}
.letterpress {
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2500" height="2500" viewBox="0 0 192.756 192.756"><path fill-rule="evenodd" clip-rule="evenodd" fill="none" d="M0 0h192.756v192.756H0V0z"/><path d="M62.19 99.682c-6.569 2.281-11.227 4.949-15.015 7.791l13.138.842-2.92 2.316 12.095 1.475-8.758 3.578 18.56 1.053-2.085 3.158 26.483.422-13.971 2.947 4.796 3.789 6.257-2.736 6.881.211-9.801 3.578-5.005 2.107c-3.832 5.781-8.264 10.148-13.763 12 9.419 2.457 18.663 5.615 27.526 10.316-1.252-3.438-1.111-7.158.418-11.158l-17.935-2.105 2.294-3.58 15.432 1.896c-.035-4.389.799-7.896 3.545-9.477l2.92-1.684-1.043-4.211 7.09 2.947-2.711-6.736-5.631-1.264c-9.193-2.492-18.612-3.615-28.36-2.736l-13.346-7.58c-1.531-3.228-3.894-5.614-7.091-7.159zM43.004 122.211l5.214 5.685 1.251-3.369 14.389 2.317 4.379 2.525 9.593 1.686-.209 4-21.479-.842-9.801-3.369-3.337-8.633z" f
@enchant3dmango
enchant3dmango / ghostty.config
Last active February 18, 2025 19:09
My macOS Ghostty config.
auto-update = check
auto-update-channel = stable
background-opacity = 0.75
bold-is-bright = true
cursor-color = #FF007F
cursor-style = underline
font-family = "GeistMono Nerd Font Propo"
mouse-hide-while-typing = true
window-decoration = true
window-height = 1964
@enchant3dmango
enchant3dmango / kubectl.sh
Created January 25, 2025 11:00
A script to delete all failed pods from k8s.
kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod
@enchant3dmango
enchant3dmango / kubectl.sh
Last active February 18, 2025 19:13
List container images in k8s cluster with size (equal to docker image ls).
kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{"\n"}{.metadata.name}{":\t"}{range .spec.containers[*]}{.image}{", "}{end}{end}' |\
sort
@enchant3dmango
enchant3dmango / settings.json
Last active February 20, 2025 06:56
My VS Code settings.
{
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[java]": {
"editor.defaultFormatter": "redhat.java"
},