Skip to content

Instantly share code, notes, and snippets.

View sotte's full-sized avatar

Stefan Otte sotte

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am sotte on github.
  • I am sotte (https://keybase.io/sotte) on keybase.
  • I have a public key ASCuDp6Xo5UMD2gIwg3atJCpgVBQ26eY41W0otJVCsIR6Ao

To claim this, I am signing this object:

@sotte
sotte / autolatex.sh
Created November 18, 2015 10:18
Compile latex on file change
#!/bin/sh
# A simple script that builds the specified latex file when any *.tex
# file changes.
#
# Dependencies:
# - inotify-tools
# - pdflatex
if [ $# -eq 1 ]
@sotte
sotte / .condaauto.sh
Created January 27, 2015 15:31
Automatically activate conda environments
#!/bin/bash
# .condaauto.sh automatically activates a conda environment when enterring
# a folder that contains a .condaauto file. The first line in the .condaauto
# file is the name of the conda environment.
#
# To make this work you have to source .condaauto.sh in your bashrc or
# equivalent.
#
# I feel sorry for my bash foo :(