Skip to content

Instantly share code, notes, and snippets.

View huytmb's full-sized avatar
:octocat:
Software keeps changing, but the fundamental principles remain the same.

Huy Nguyen huytmb

:octocat:
Software keeps changing, but the fundamental principles remain the same.
View GitHub Profile
@huytmb
huytmb / import-letsencrypt-java.sh
Created July 10, 2019 02:31 — forked from galan/import-letsencrypt-java.sh
Imports the letsencrypt certificates into the java keystore
#!/bin/bash -e
# JAVA_HOME can be passed as argument if not set
if [ ! -d $JAVA_HOME ]; then
JAVA_HOME=${1}
fi
KEYSTORE=$JAVA_HOME/jre/lib/security/cacerts
if [ ! -f "$KEYSTORE" ]; then
echo "Keystore not found in '$KEYSTORE'"
exit 1
@huytmb
huytmb / .git-commit-template.txt
Last active April 19, 2019 03:23 — forked from adeekshith/.git-commit-template.txt
This commit message template helps you write great commit messages and enforce it across teams.
# WHAT
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|
# WHY and HOW
# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
@huytmb
huytmb / README.md
Created February 2, 2018 07:05 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet