From 54e0aed621100ce76bbc5692cf8201e55d19e463 Mon Sep 17 00:00:00 2001 From: Theodotos Andreou Date: Tue, 3 Jul 2018 23:29:55 +0300 Subject: [PATCH] Better formatting --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e07832c..6df7b97 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ ## vim * Set tab to 4 spaces: + ``` set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab ``` @@ -10,11 +11,13 @@ ## Shell * Find my public IP: + ``` dig +short myip.opendns.com @resolver1.opendns.com ``` * Check if private and public ssh key match: + ``` diff <(cat ~/.ssh/id_rsa.pub | cut -d' ' -f 2) <(ssh-keygen -y -f ~/.ssh/id_rsa | cut -d' ' -f 2)' ```