Skip to content

Instantly share code, notes, and snippets.

View Cynnexis's full-sized avatar
:octocat:

Valentin Berger Cynnexis

:octocat:
View GitHub Profile
@mbinna
mbinna / effective_modern_cmake.md
Last active February 11, 2026 00:50
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@dopey
dopey / main.go
Last active September 27, 2025 17:07 — forked from denisbrodbeck/main.go
How to generate secure random strings in golang with crypto/rand.
package main
import (
"crypto/rand"
"encoding/base64"
"fmt"
"io"
"math/big"
)
@egmontkob
egmontkob / Hyperlinks_in_Terminal_Emulators.md
Last active January 30, 2026 16:51
Hyperlinks in Terminal Emulators
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active February 11, 2026 02:38
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Last update: Nov 2025.

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 ecparam -genkey -name secp384r1 | openssl ec -aes256 -out rootCA.key