Skip to content

Instantly share code, notes, and snippets.

View headcr4sh's full-sized avatar
🎯
Focusing

Benjamin P. Jung headcr4sh

🎯
Focusing
View GitHub Profile
@headcr4sh
headcr4sh / kubedump.sh
Last active December 6, 2024 10:50
Dump Kubernetes cluster state
#!/usr/bin/env bash
# This script can be used to dump the complete contents (Manifest files) within a
# Kubernetes cluster.
#
# Requirements:
# - bash (Shell)
# - kubectl (To interact with the Kubernetes API)
# - tr (to translate carriage return to whitespace characters when fetching resource types)
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/refs/tags/v1.2.1/schema.json",
"meta": {
},
"basics": {
"name": "Benjamin Patrick Jung",
"location": {
"address": "Kirchgasse 17",
"city": "Alfter",
"postalCode": "53347",

Keybase proof

I hereby claim:

  • I am headcr4sh on github.
  • I am headcr4sh (https://keybase.io/headcr4sh) on keybase.
  • I have a public key ASDLBk6Qz8dtnQgrJWl_Uv8UJOoWCb5U2MSEffp9ywYsJgo

To claim this, I am signing this object:

@headcr4sh
headcr4sh / GuiceFXMLLoader.java
Created May 4, 2012 18:27
Guicified FXMLLoader (Make Google Guice, JavaFX 2 and FXML play together quite nicely)
// The contents of this example has evolved and moved to it's own
// project: https://github.com/cathive/fx-guice/
package my.pkg;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.fxml.FXMLLoader;