Skip to content

Instantly share code, notes, and snippets.

mithun3 /
Created June 25, 2019 01:58 — forked from granella/
Create self-signed certificate with root and ca for development
rm *.jks 2> /dev/null
rm *.pem 2> /dev/null
echo "===================================================="
echo "Creating fake third-party chain root -> ca"
echo "===================================================="
# generate private keys (for root and ca)
mithun3 / .gitconfig
Last active April 14, 2019 05:06
Different types of logs
#To make a shortcut for this command, you may want to edit your ~/.gitconfig file:
gr = log --graph --full-history --all --color --pretty=tformat:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s%x20%x1b[33m(%an)%x1b[0m"
lg = !"git lg1"
lg1 = !"git lg1-specific --all"
lg2 = !"git lg2-specific --all"
lg3 = !"git lg3-specific --all"