Skip to content

Instantly share code, notes, and snippets.

View philipparndt's full-sized avatar
🚀

Philipp Arndt philipparndt

🚀
View GitHub Profile
@philipparndt
philipparndt / icns-file.md
Created April 18, 2024 09:58
Create ICNS file (Icon File)

You can export a byte array from JProfiler Heap Walker using the following script.

Export byte array

File tempFile = File.createTempFile("jprofiler-export-", "");
try (OutputStream out = new FileOutputStream(tempFile)) {
    out.write(byteArray);
    out.flush();
}
@philipparndt
philipparndt / self-signed-certificate-with-custom-ca.md
Created October 22, 2019 04:38 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096