Skip to content

Instantly share code, notes, and snippets.

@fabiomontefuscolo
Last active April 3, 2019 13:50
Show Gist options
  • Save fabiomontefuscolo/be854a0a8f0099eedd734c8c5cd222d9 to your computer and use it in GitHub Desktop.
Save fabiomontefuscolo/be854a0a8f0099eedd734c8c5cd222d9 to your computer and use it in GitHub Desktop.
Life clues

Daily linux

Desktop

Set up abnt2 keyboard

setxkbmap -model abnt2 -layout br -variant abnt2

Get pingables IPs on network

seq --format='192.168.1.%g' 1 254 | parallel -j 50 'ping -W1 -c1 {} >&- && echo {}'

Server

Get letsencrypt with certbot

certbot certonly                                   \
    --webroot                                      \
    --non-interactive                              \
    --agree-tos                                    \
    -w /var/www/html/montefuscolo.com.br/          \
    -d montefuscolo.com.br
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment