Skip to content

Instantly share code, notes, and snippets.

View edusantana's full-sized avatar
💭
Trabalhando

Eduardo de Santana Medeiros edusantana

💭
Trabalhando
View GitHub Profile
@edusantana
edusantana / book.adoc
Created May 24, 2014 00:38
Problem with unrecognized special characters with asciidoc and dblatex

Problem with unrecognized special characters asciidoc and dblatex

The problem

Works

∠ ∠

Doesn’t Works

ℜ ℜ

Título do livro

Meu capítulo

Minha seção

Esta é minha subsubseção

Texto.

@edusantana
edusantana / gist:341c947dcffa9da4c27d
Created June 26, 2015 09:59
document-monospace-tt.tex
%% abtex2-modelo-trabalho-academico.tex, v<VERSION> laurocesar
%% Copyright 2012-2015 by abnTeX2 group at http://www.abntex.net.br/
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
all:
latexmk -f -pdf quadro-abntex2.tex
latexmk -f -pdf tabela-fora-do-quadro.tex
latexmk -f -pdf quadro-abntex2-corrigido.tex
latexmk -f -pdf longtable-caption-type-quadro.tex
@edusantana
edusantana / folhadeaprovacao.tex
Created April 3, 2017 12:15
Como fazer folha de aprovação
%%%%%%%%%%%%%%%%%%%%%%%%%5
%% abtex2-modelo-trabalho-academico.tex, v<VERSION> laurocesar
%% Copyright 2012-<COPYRIGHT_YEAR> by abnTeX2 group at http://www.abntex.net.br/
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
package urna;
import java.util.LinkedList;
import java.util.List;
public class Controller {
List<Usuario> usuarios = new LinkedList<Usuario>();
public static void main(String[] args) {
#!/bin/bash
nome=$(zenity --entry --text="Qual seu primeiro nome?" --entry-text="Nome")
sobrenome=$(zenity --entry --text="Qual seu sobrenome?" --entry-text="Nome")
altura=$(zenity --scale --value=160 --max-value=200 --text="Qual a sua altura?")
#peso=$(zenity --scale --value=60 --max-value=200 --text="Qual a seu peso?")
STRING=$(echo $nome | cal | head -n 1 | tr -d '[:space:]' | cut -f 2 -d 0)
tmpfile=$(mktemp)
echo $STRING >> $tmpfile
#echo "Altura informada: $altura " >> $tmpfile
@edusantana
edusantana / testando-dependencias
Created September 4, 2019 13:49
Execução de comando para testar virtualenv
wget https://github.com/edusantana/cozer/archive/master.zip
unzip master.zip
cd cozer-master
python3 -m venv venv
. venv/bin/activate
&& pip install --editable .
cozer --help
@edusantana
edusantana / testando-dependencias
Created September 4, 2019 13:49
Execução de comando para testar virtualenv
wget https://github.com/edusantana/cozer/archive/master.zip
unzip master.zip
cd cozer-master
python3 -m venv venv
. venv/bin/activate
&& pip install --editable .
cozer --help
@edusantana
edusantana / README.md
Last active September 8, 2019 22:02
click auto_envvar_prefix with setuptools