Skip to content

Instantly share code, notes, and snippets.

View georgiyordanov's full-sized avatar

Georgi Yordanov georgiyordanov

View GitHub Profile
@georgiyordanov
georgiyordanov / pam-tid-sudo.sh
Created January 23, 2023 17:03 — forked from steigr/pam-tid-sudo.sh
Enable TouchID-support with sudo
#!/usr/bin/env bash
sudo sed -i '' -e '/^#/a\'$'\n''auth sufficient pam_tid.so' /etc/pam.d/sudo
@georgiyordanov
georgiyordanov / self-signed-certificate-with-custom-ca.md
Last active March 1, 2022 11:41 — 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
@georgiyordanov
georgiyordanov / osx_setup.md
Last active June 14, 2024 07:57 — forked from angelyordanov/osx_setup.md
Mac OS X setup

Setup Mac OS X

Setup

1. Before setup

Make sure everything is up to date. Wait for FileVault to finish encrypting the hard drive.