Skip to content

Instantly share code, notes, and snippets.

View gabriel19913's full-sized avatar
🏠
Working from home

Gabriel Aparecido Fonseca gabriel19913

🏠
Working from home
View GitHub Profile
@pratos
pratos / condaenv.txt
Created November 30, 2016 07:01
To package a conda environment (Requirement.txt and virtual environment)
# For Windows users# Note: <> denotes changes to be made
#Create a conda environment
conda create --name <environment-name> python=<version:2.7/3.5>
#To create a requirements.txt file:
conda list #Gives you list of packages used for the environment
conda list -e > requirements.txt #Save all the info about packages to your folder

GIT - Primeiros passos

Instalação e configurações básicas

1. Baixe e instale o Git

==================

2. Configurar chave de segunça

@rdeavila
rdeavila / git-update-fork.sh
Last active March 10, 2025 23:52
Git: como atualizar um fork com as mudanças do original?
#!/bin/bash
# Adicione um novo remote; pode chamá-lo de "upstream":
git remote add upstream https://github.com/usuario/projeto.git
# Obtenha todos os branches deste novo remote,
# como o upstream/master por exemplo:
git fetch upstream