Skip to content

Instantly share code, notes, and snippets.

View tonussi's full-sized avatar

Lucas Tonussi tonussi

View GitHub Profile
@tonussi
tonussi / .nvidia-settings-rc
Created September 25, 2013 11:37
.nvidia-settings-rc
#
# /home/tonussi/.nvidia-settings-rc
#
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Fri Sep 20 17:35:07 2013
#
# ConfigProperties:
RcFileLocale = C
@tonussi
tonussi / .gitconfig
Created September 25, 2013 11:36
.gitconfig
[user]
name = tonussi
email = [email protected]
[credential]
helper = cache --timeout=3600
[core]
excludesfile = /home/tonussi/.gitignore_global
[push]
default = simple
[grep]
@tonussi
tonussi / .vimrc
Last active December 23, 2015 21:48
.vimrc
" Pathogen
filetype off
call pathogen#incubate()
filetype plugin indent on
execute pathogen#infect()
" Set options regarding the undo history and undo tree depth
set undofile
set undoreload=10000
set undolevels=512
@tonussi
tonussi / ex1.asm
Created September 16, 2013 19:53
lab5
.data
#arranjo inicializado com elementos nao nulos
_array: .word 1, 2, 3, 4, 5, 6, 7, 8, 9, 2, 3
_size: .word 11
.text
.globl main
main:
jal clear1 #salto para o endereco d0 processamento
li $v0, 10 # exit syscall
@tonussi
tonussi / som.pde
Created September 8, 2013 21:17
som.pde
import ddf.minim.*;
import ddf.minim.ugens.*;
Minim minim;
AudioOutput out;
Circle circle;
void setup() {
size(512, 200);
minim = new Minim(this);
@tonussi
tonussi / pandoc-html2md.sh
Created September 2, 2013 06:10
Pandoc recursively html 2 markdown
#!/bin/bash
cd /home/tonussi/Git/test
for file in `dir -d *.html` ; do
pandoc -s -r html "$file" -o $file.markdown
done
#!/bin/bash
cd "/path/to/dir"
for file in `dir -d *` ; do
t=$(mktemp)
qpdf --password="password" --decrypt "$file" "$t" && \
mv "$t" "$file"
done
@tonussi
tonussi / CEMIG_1_14.xml
Created July 24, 2013 18:01
Testando saidas da multilista
<root>
<medicoes class="linked-list">
<lista>
<lat>-20.29</lat>
<lon>-43.76</lon>
<dtLeitura>19/04/2010</dtLeitura>
<hrLeitura>08:30:00</hrLeitura>
<nmStation>CEMIG_1</nmStation>
<vlAirTempAvg>16.73</vlAirTempAvg>
\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\newtheorem{algorithm}[theorem]{Algorithm}
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{case}[theorem]{Case}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{conclusion}[theorem]{Conclusion}
\newtheorem{condition}[theorem]{Condition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{corollary}[theorem]{Corollary}
@tonussi
tonussi / bibsty.tex
Created July 23, 2013 12:44
bib format
\begin{thebibliography}{9}
\bibitem{Ref1} Refer\^{e}ncias biogr\'{a}ficas no formato APS (Physical
Review) - Ex. Artigo: Autores, \ "T\'{\i}tulo do artigo entre aspas", Nome
da Revista \textbf{Volume em Negrito}, p\'{a}gina inicial (ano de publica%
\c{c}\~{a}o).
\bibitem{Ref2} Refer\^{e}ncias biogr\'{a}ficas no seguinte APS (Physical
Review) - Ex. Livro: Autores, \ \textit{T\'{\i}tulo do \ Livro em It\'{a}lico%
}, (Editora, Cidade de Publica\c{c}\~{a}o, Ano de publica\c{c}\~{a}o).