2023-07-02 15:53:35 +02:00
|
|
|
alias o="evince2"
|
|
|
|
|
|
|
|
alias vim="nvim"
|
2023-03-01 14:08:03 +01:00
|
|
|
|
|
|
|
alias pro="cd ~/Documents/Projects"
|
|
|
|
alias doc="cd ~/Documents"
|
|
|
|
|
|
|
|
|
|
|
|
export templates_dir="~/Documents/Projects/templates"
|
|
|
|
alias new.td='copier "$templates_dir/latex/td.template"'
|
|
|
|
alias new.cm='copier "$templates_dir/latex/cm.template"'
|
2023-07-02 15:53:35 +02:00
|
|
|
alias new.letter='copier "$templates_dir/latex/letter.template"'
|
|
|
|
alias taquin.sync="rsync -azvu '/home/sortion/Documents/cours/licence/L3/S6/intelligence artificielle/DM/DM2/taquin/' leon.talpa:/home/sortion/Documents/Projects/taquin/ && rsync -azvu leon.talpa:/home/sortion/Documents/Projects/taquin/ '/home/sortion/Documents/cours/licence/L3/S6/intelligence artificielle/DM/DM2/taquin/'"
|
|
|
|
|
|
|
|
pdfcompress () {
|
|
|
|
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dPDFSETTINGS=/screen -dEmbedAllFonts=true -dSubsetFonts=true -dColorImageDownsampleType=/Bicubic -dColorImageResolution=144 -dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=144 -dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=144 -sOutputFile="$2" "$1";
|
|
|
|
}
|
2023-03-01 14:08:03 +01:00
|
|
|
|
2023-07-02 15:53:35 +02:00
|
|
|
colorinvert() { convert "$1" -channel RGB -negate "$(echo $1 | sed 's/\./-inv\./')"
|
|
|
|
}
|