Skip to content

Instantly share code, notes, and snippets.

View sdon2's full-sized avatar
🏠
Coding is my Passion. I'm doing it right now.

Saravanakumar Arumugam sdon2

🏠
Coding is my Passion. I'm doing it right now.
View GitHub Profile
@sdon2
sdon2 / self-signed-certificate-with-custom-ca.md
Created January 11, 2023 14:08 — 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
@sdon2
sdon2 / select2.blade.php
Created March 8, 2022 10:49 — forked from amiranagram/select2.blade.php
Select2 multiple - Livewire/Alpine
<div
x-data="{
model: @entangle($attributes->wire('model')),
}"
x-init="
select2 = $($refs.select)
.not('.select2-hidden-accessible')
.select2({
theme: 'bootstrap',
dropdownAutoWidth: true,