Skip to content

Instantly share code, notes, and snippets.

@tminea
tminea / latex-clean.sh
Created September 26, 2018 07:14 — forked from djsutherland/latex-clean.sh
A bash script to clean latex temp files
#!/bin/bash
exts=".aux .lof .log .lot .fls .out .toc .dvi .bbl .bcf .blg -blx.aux -blx.bib -blx.bib .run.xml .fdb_latexmk .synctex.gz .syntex.gz(busy) .pdfsync .algorithms .alg .loa .thm .nav .snm .vrb .acn .acr .glg .glo .gls .brf .lol .idx .ilg .ind .ist .maf .mtc .mtc0 .pyg .nlo .tdo .xdy .keys"
for x in "${@:-.}"; do
arg=$(echo ${x:-.} | perl -pe 's/\.(tex|pdf)$//')
if [[ -d "$arg" ]]; then
for ext in $exts; do
rm -f "$arg"/*$ext
@tminea
tminea / git-config.sh
Created May 4, 2018 07:42 — forked from FullStackForger/git-config.sh
Git colors and aliases configuration
# Git colors and aliases configuration provided by @fullstackforger
git config --global color.ui auto
git config --global color.interactive auto
git config --global alias.s status
git config --global alias.r reset
git config --global alias.alias '!git config --list | grep alias | cut -c 7-'
@tminea
tminea / .vimrc
Created May 19, 2016 08:06 — forked from JeffreyWay/.vimrc
My .vimrc file
set nocompatible " Disable vi-compatibility
set t_Co=256
colorscheme xoria256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15