Skip to content

Instantly share code, notes, and snippets.

View Paper-Folding's full-sized avatar

Paper-Folding

  • China
View GitHub Profile
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active February 9, 2026 19:58
Conventional Commits Cheatsheet
@destan
destan / ParseRSAKeys.java
Last active September 16, 2025 13:23
Parse RSA public and private key pair from string in Java
import java.io.IOException;
import java.net.URISyntaxException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.interfaces.RSAPublicKey;
import java.security.spec.InvalidKeySpecException;
import java.security.spec.PKCS8EncodedKeySpec;