Set tab width in VIM to 4 spaces or a single tab

  Vim by default adds two tabs when you indent something. It also messes up the whole thing if you paste a large code block with tabs into it. Here's how you can set the tabs to 4 space width, and fix that messing up issue. Edit your vim config file and add this at the...

Convert putty ppk key file to public, private key pair to use in SSH client Ubuntu

Today, a friend asked me to login to a Linux server and he sent me a PPK file which he uses with his Putty client in Windows. I had to generate a Public / Private key pair from that PPK file in order to use it with my SSH client in Ubuntu. It was really easy...