Skip to content

Instantly share code, notes, and snippets.

@me2r036
me2r036 / self-signed-certificate-with-custom-ca.md
Created September 15, 2023 09: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
@me2r036
me2r036 / 01-generate-ed25519-ssh-key.sh
Created November 23, 2022 09:46 — forked from grenade/01-generate-ed25519-ssh-key.sh
generate ed25519 ssh and gpg/pgp keys and set file permissions for ssh keys and config
#!/bin/bash
# generate new personal ed25519 ssh key
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <[email protected]>"
# generate new host cert authority (host_ca) ed25519 ssh key
# used for signing host keys and creating host certs
ssh-keygen -t ed25519 -f manta_host_ca -C manta.network
eval "$(ssh-agent -s)"
@me2r036
me2r036 / m2-import-prices-index.php
Created September 13, 2017 00:43 — forked from MagePsycho/m2-import-prices-index.php
Update Magento2 Prices in bulk - an easier and faster way!
<?php
/**
*
* @author Raj KB<[email protected]>
* @website http://www.magepsycho.com
* @extension MassImporterPro: Pricing - http://www.magepsycho.com/mass-importer-pro-price-importer-regular-special-tier-group.html
*/
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);