Skip to content

Instantly share code, notes, and snippets.

View fmgusmao's full-sized avatar
🎯
Focusing

fmgusmao

🎯
Focusing
View GitHub Profile
@fmgusmao
fmgusmao / ambiente-dev-ubuntu.sh
Created October 22, 2022 12:11 — forked from luizomf/ambiente-dev-ubuntu.sh
Ambiente de desenvolvimento Python no Ubuntu - Com VS Code, Google Chrome, ZSH, Oh-my-zsh, zsh-syntax-highlighting, zsh-autosuggestions e spaceship prompt.
#!/bin/bash
# Executar comandos a seguir para atualizar os pacotes
sudo apt update -y
sudo apt upgrade -y
# Instalar pacotes a seguir
sudo apt install dkms make perl gcc build-essential git curl -y
# Instalar Python 3.10 (opcional)
@fmgusmao
fmgusmao / install-docker.md
Created January 19, 2021 03:10 — forked from npearce/install-docker.md
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command

UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.

Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/

Docker CE Install

sudo amazon-linux-extras install docker
sudo service docker start
@fmgusmao
fmgusmao / nginx-socketio-ssl-reverse-proxy.conf
Created September 11, 2020 18:19 — forked from gmanau/nginx-socketio-ssl-reverse-proxy.conf
How to setup nginx as nodejs/socket.io reverse proxy over SSL
upstream upstream-apache2 {
server 127.0.0.1:8080;
}
upstream upstream-nodejs {
server 127.0.0.1:3000;
}
server {
listen 80;