Skip to content

Instantly share code, notes, and snippets.

View leshniak's full-sized avatar

Maciej Leśniewski leshniak

View GitHub Profile
@radosny
radosny / LLNODE.md
Last active May 20, 2019 02:49
Node postmortem debugging (OSX)

Node postmortem debugging (OSX)

I assume that you have an access to ssh and node server process is up and running.

1. Taking core dump

To get core dump of running node process:

  • Take PID of that process:
    pgrep -lf node
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active April 19, 2024 12:30
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