Skip to content

Instantly share code, notes, and snippets.

Avatar

HLAM hemilioaraujo

View GitHub Profile
@hemilioaraujo
hemilioaraujo / compose.yml
Created Oct 14, 2021
Docker Compose yml para Laravel + MySql
View compose.yml
version: "3.7"
# Networks
networks:
# Internal network
internal:
driver: bridge
# Volumes
volumes:
View Django 12 Factors Steps.md

Seguindo 12 Factor App

Iniciando gerenciamento de dependências PipEnv

pipenv install

pipenv shell

Linter flake8

@hemilioaraujo
hemilioaraujo / pipenv_flake8_workflow.yml
Created Nov 26, 2020
Github action using pipenv & flake8
View pipenv_flake8_workflow.yml
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
View Config Ubuntu SSH
# INSTALL OPENSSH
sudo apt install openssh-server;
# CHECK SERVICE STATUS
sudo service ssh status;
# CHANGE SERVER CONF
sudo gedit /etc/ssh/sshd_config;
sudo service ssh restart;
View AmbientePython.md

Configrar Ambiente Python

Índice

[PyEnv]

  • [Instalando Dependências]
  • [Instalando PyEnv]
  • [Editar .bashrc para PyEnv]
  • [Comandos Importantes PyEnv]

[PipEnv]

@hemilioaraujo
hemilioaraujo / sites_interessantes.md
Last active Oct 15, 2020
Lista de sites interessantes e úteis
View sites_interessantes.md
@hemilioaraujo
hemilioaraujo / git.md
Created Jan 9, 2018 — forked from leocomelli/git.md
Lista de comandos úteis do GIT
View git.md

#GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda