Split or merge pdf's with ghostscript:
gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=merged.pdf -dBATCH file1.pdf file2.pdf file3.pdf fileN.pdf
gs -dNOPAUSE -sDEVICE=pdfwrite -dBATCH -sOutputFile=out.pdf -dFirstPage=1 -dLastPage=5 infile.pdf
Convert a pdf or eps to a high-resolution png:
convert -density 480 myfile.pdf -flatten myfile.png
Covert latex to docx, two approaches:
latexmlc ms.tex --destination=ms.html
pandoc -s ms.html -o ms.docx
pandoc -s ms.tex -o ms.docx
Import a new cvs project (-d for non-standard repository only):
cvs -d 'rc:/labs/evolution/.cvsroot/' import name_of_project INITIAL start
Download a Perl module from CPAN:
cpanm Module::Name
Generate list of nodes that finished jobs ran on from slurm (-j are the comma separated job numbers):
sacct --format node -j 425526,425527,425528
Interactive job on UofU cluster (for gompert-kp):
srun --time=12:00:00 --ntasks 8 --nodes=1 --account=gompert-kp --partition=gompert-kp --pty /bin/bash -l