Skip to content

Instantly share code, notes, and snippets.

View markusritschel's full-sized avatar

Markus Ritschel markusritschel

View GitHub Profile
@markusritschel
markusritschel / gist:b090faca4ad8808e63b492e404b7abc9
Last active July 3, 2020 16:17
restore anaconda environments
# according to https://sriramjaju.github.io/2018-05-30-2-minute-recipe-how-to-rollback-your-conda-environment/
conda list --revisions # List the history of each change to the current environment
conda install --revision 2 # Restore environment to a previous revision
@markusritschel
markusritschel / Makefile
Last active July 26, 2019 19:21
Makefile for LaTeX compilation via XeTeX and some commands for image processing
#!/usr/bin/make -f
SHELL = /bin/sh
# The root directory for all subdirectories
srcdir = .
# The directory where the images are
imagedir = ${srcdir}/images