#!/bin/sh
# https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository
sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88 | grep docker@docker.com || exit 1
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#MINIMIZE APP WHEN CLICKING IN UBUNTU DOCK | |
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_type": "export", | |
"__export_format": 4, | |
"__export_date": "2020-03-04T02:33:56.061Z", | |
"__export_source": "insomnia.desktop.app:v7.1.1", | |
"resources": [ | |
{ | |
"_id": "req_199fb5aca41f4eb799fca4269c56015c", | |
"authentication": {}, | |
"body": {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Instalação docker: | |
curl -fsSL get.docker.com -o get-docker.sh | |
sh get-docker.sh | |
- Instalação docker-compose (Verificar nas referencias ultima versão¹): | |
sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose | |
- Instalação ctop (Opcional - Verificar nas referencias ultima versão²) | |
sudo wget https://github.com/bcicen/ctop/releases/download/v0.7.1/ctop-0.7.1-linux-amd64 -O /usr/local/bin/ctop | |
sudo chmod +x /usr/local/bin/ctop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Geração de certificado SSL com o Let's Encrypt | |
#1) Instalação | |
sudo apt-get update | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:certbot/certbot | |
sudo apt-get update | |
sudo apt-get install certbot | |
#2) Geração de um novo certificado |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[color] | |
ui = auto | |
status = auto | |
diff = auto | |
branch = auto | |
interactive = auto | |
[alias] | |
co = checkout | |
lg = log --all --graph --decorate --oneline --abbrev-commit | |
cm = commit |