Skip to content

Instantly share code, notes, and snippets.

View iborba's full-sized avatar

ez-ra-l iborba

View GitHub Profile
#MINIMIZE APP WHEN CLICKING IN UBUNTU DOCK
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
@iborba
iborba / gist:2e26e20f2b5e100faa709eeaa3394fba
Created March 6, 2020 19:06
insomnia_api_request.json
{
"_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": {},
@iborba
iborba / docker & docker-compose
Created July 5, 2019 13:49 — forked from alexisdiel/docker & docker-compose
Docker/Compose - Comandos Comuns
- 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
@iborba
iborba / letsencrypt
Last active October 15, 2019 20:29 — forked from jfollmann/letsencrypt
Geração de Certificado SSL com Let's Encrypt
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
@iborba
iborba / install-docker-ubuntu.md
Created July 26, 2018 21:43 — forked from subfuzion/install-docker-ubuntu.md
Installing Docker on Ubuntu

Installing with apt-get

#!/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
@iborba
iborba / .gitconfig
Last active January 22, 2021 21:24 — forked from jfollmann/.gitconfig
git alias
[color]
ui = auto
status = auto
diff = auto
branch = auto
interactive = auto
[alias]
co = checkout
lg = log --all --graph --decorate --oneline --abbrev-commit
cm = commit