Skip to content

Instantly share code, notes, and snippets.

View hemilioaraujo's full-sized avatar

HLAM hemilioaraujo

View GitHub Profile
@hemilioaraujo
hemilioaraujo / git.md
Created January 9, 2018 22:29 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

#GIT

Estados

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

Ajuda

Configrar Ambiente Python

Índice

[PyEnv]

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

[PipEnv]

# 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;
@hemilioaraujo
hemilioaraujo / sites_interessantes.md
Last active October 15, 2020 01:37
Lista de sites interessantes e úteis
@hemilioaraujo
hemilioaraujo / pipenv_flake8_workflow.yml
Created November 26, 2020 00:34
Github action using pipenv & flake8
# 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 ]

Seguindo 12 Factor App

Iniciando gerenciamento de dependências PipEnv

pipenv install

pipenv shell

Linter flake8

@hemilioaraujo
hemilioaraujo / docker-compose.yml
Last active April 11, 2023 09:40
Ambiente PHP -> Docker + PHP + MySql + VSCode
version: "3.7"
# Networks
networks:
# Internal network
internal:
driver: bridge
# Volumes
volumes: