Usefull Oneliners
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Theodotos Andreou 5ad7830fbf Typo 5 anos atrás
LICENSE Initial commit 5 anos atrás
README.md Typo 5 anos atrás

README.md

Usefull Oneliners

vim

  • Set tab to 4 spaces:

    set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
    

Shell

  • Find my public IP:

    dig +short myip.opendns.com @resolver1.opendns.com
    
  • Check if private and public ssh keys match:

    diff <(cat ~/.ssh/id_rsa.pub | cut -d' ' -f 2) <(ssh-keygen -y -f ~/.ssh/id_rsa | cut -d' ' -f 2)'
    

References