Skip to content

Instantly share code, notes, and snippets.

View joaopcnogueira's full-sized avatar

João Paulo Nogueira joaopcnogueira

  • Fortaleza, Ceará
View GitHub Profile
@joaopcnogueira
joaopcnogueira / condaenv.txt
Created August 20, 2019 13:21 — forked from pratos/condaenv.txt
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
@joaopcnogueira
joaopcnogueira / subfloat.tex
Last active June 28, 2018 15:50 — forked from ashwin/subfloat.tex
Sub-figures using subfloat in LaTeX
% Package for subfloat
\usepackage{subfig}
% Figure with two sub-figures
\begin{figure}
\centering
\subfloat[caption of the figure goes here]
{
\includegraphics[scale=.5]{fig-1.pdf}
\label{fig:foo-1}