Skip to content

Instantly share code, notes, and snippets.

@renefritze
renefritze / requirements.txt
Last active October 27, 2020 08:35
binder test
pymor[full]
@renefritze
renefritze / report.py
Created April 2, 2020 15:28
report on cumulative times for a junit xml file
import sys
from collections import defaultdict
from junitparser import JUnitXml
import os
from tabulate import tabulate
def read_files(filenames):
"""expect filenames of the form test_results_GIT-REV.xml
@renefritze
renefritze / requirements.txt
Last active October 27, 2020 14:48
binder test
git+https://github.com/pymor/pymor.git@fix_memory_cache
jupytext
@renefritze
renefritze / Dockerfile
Created April 5, 2019 11:50
Multi-Stage build for bulldozer
FROM nmiyake/go:go-darwin-linux-1.11-t134 as builder
# copying these here allows to cache the download
COPY godelw /go/src/github.com/palantir/bulldozer/
COPY godel/config /go/src/github.com/palantir/bulldozer/godel/config/
WORKDIR /go/src/github.com/palantir/bulldozer
RUN ./godelw download || true
COPY . /go/src/github.com/palantir/bulldozer

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@renefritze
renefritze / detect-broken-symlinks.py
Last active October 4, 2017 08:45 — forked from seanh/detect-broken-symlinks.py
A Python script to check for broken symlinks in the current working directory. I use this as part of a pre-commit hook with git.
@renefritze
renefritze / Dockerfile
Created June 23, 2017 10:36
fenics git src python 3 docker
FROM pymor/python:3.5
MAINTAINER René Milk <rene.milk@wwu.de>
USER root
ENV SRCDIR /root/src
RUN mkdir ${SRCDIR} && cd ${SRCDIR} && \
for i in fiat instant dijitso ufl ffc dolfin mshr ; do \
git clone https://bitbucket.org/fenics-project/$i ; \
done && \
@renefritze
renefritze / Dockerfile
Created January 30, 2017 14:27
dune-python pip pyparsing issue
from ubuntu:16.04
RUN apt-get update && \
apt-get install -y cmake g++ gcc git python3-dev ninja-build \
python3-virtualenv && \
mkdir /root/src && cd /root/src/ && \
git clone https://github.com/dune-community/dune-gdt-super.git && \
cd dune-gdt-super && git submodule update --init --recursive
CMD ["/root/src/dune-gdt-super/dune-common/bin/dunecontrol", "--opts=/root/src/dune-gdt-super/config.opts/stinson/gcc_debug", "all"]
@renefritze
renefritze / spilu_demo.py
Created January 3, 2017 10:53
Spilu problem demonstration
#!/usr/bin/env python3
from scipy.sparse.linalg import spilu
from scipy.sparse import identity
matrix = identity(2)
options = {'spilu_drop_tol':1e-4,
'spilu_fill_factor':10,
'spilu_drop_rule':'basic,area',
'spilu_permc_spec':'COLAMD'

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: