Skip to content

Instantly share code, notes, and snippets.

View maxulysse's full-sized avatar

Maxime U Garcia maxulysse

View GitHub Profile

Keybase proof

I hereby claim:

  • I am maxulysse on github.
  • I am maxulysse (https://keybase.io/maxulysse) on keybase.
  • I have a public key ASD1PBc_fgXAkl40WFuvX-vKC7x7V5aghJfN87zs-mCO-go

To claim this, I am signing this object:

@maxulysse
maxulysse / .zshrc
Created June 17, 2020 13:57
function to connect to bianca
function bianca() {
ssh -A ${USER}-"$@"@bianca.uppmax.uu.se
}
> for i in `ls -1v`; do echo ${i%.fa}:1-$(cat $i | grep -v ">" | wc -c) ; done
1:1-124723432
2:1-86850487
3:1-93420528
4:1-89747909
5:1-90397171
6:1-78866698
7:1-82324108
8:1-75569257
MAIN = myThesis
THESIS = ${MAIN}.pdf
LOGS = ${MAIN}.aux ${MAIN}.bbl ${MAIN}.blg ${MAIN}.idx ${MAIN}.ilg ${MAIN}.ind ${MAIN}.lof ${MAIN}.log ${MAIN}.lot ${MAIN}.maf ${MAIN}.mtc* ${MAIN}.out ${MAIN}.toc
PNGS = $(shell find -type f -iname "*.svg" | sed 's/.svg/.png/g')
PDFS = $(shell find -type f -iname "*.svg" | sed 's/.svg/.pdf/g')
PDF_TEX = $(shell find -type f -iname "*.svg" | sed 's/.svg/.pdf_tex/g')
SVG2PNG = inkscape $< -e $@ -y 255 -d 180
SVG2PDF = inkscape -D -z --file=$< --export-pdf=$@ --export-latex
@maxulysse
maxulysse / Access It
Last active December 21, 2015 00:18
Bookmarklet : Access it
javascript:(function(){location.hostname=location.hostname+'.urlproxy';})();
@maxulysse
maxulysse / changePDFversion.sh
Created August 13, 2013 04:54
Change pdf version
#!/bin/bash
#use : ./changePDFversion.sh file
file=$(echo $1 | sed 's/\.pdf$//g')
pdftops $file.pdf $file-temp.ps
ps2pdf13 $file-temp.ps $file-13.pdf
rm $file-temp.ps