Skip to content

Instantly share code, notes, and snippets.

View andrewshatnyy's full-sized avatar

Andrew Shatnyy andrewshatnyy

  • Nuwax Records
  • Melbourne
View GitHub Profile
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active May 8, 2024 14:06
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
# Create a product
product_params = %{
description: "some content",
name: "some content",
price: 120.5,
sku: "ABC-123"
}
{:ok, product} = Nova.ProductCommands.create(product_params)
# Create a variant
@staltz
staltz / introrx.md
Last active May 7, 2024 09:38
The introduction to Reactive Programming you've been missing