Skip to content

Instantly share code, notes, and snippets.

View ThangLeQuoc's full-sized avatar
:octocat:
Keep smashing the keyboard

Thang Le Quoc ThangLeQuoc

:octocat:
Keep smashing the keyboard
View GitHub Profile
@ThangLeQuoc
ThangLeQuoc / java_keytool_cheat_sheet.md
Created May 20, 2023 09:17 — forked from Hakky54/java_keytool_cheat_sheet.md
Keytool Cheat Sheet - Some list of keytool commands for create, check and verify your keys

Keytool CheatSheet 🔐

Some history

This cheat sheet came into life when I started working on a tutorial of setting up one way tls and two way tls, which can be found here: GitHub - Mutual TLS SSL

Creation and importing

Generate a Java keystore and key pair

keytool -genkeypair -keyalg RSA -keysize 2048 -keystore keystore.jks -alias server -validity 3650
@ThangLeQuoc
ThangLeQuoc / normalize_string.go
Created April 24, 2023 13:50 — forked from nvtuan305/normalize_string.go
golang: normalize string (include Vietnamese)
package main
import (
"fmt"
"golang.org/x/text/runes"
"golang.org/x/text/transform"
"golang.org/x/text/unicode/norm"
"strings"
"unicode"
)