Skip to content

Instantly share code, notes, and snippets.

View hkarl's full-sized avatar

Holger Karl hkarl

View GitHub Profile
@hkarl
hkarl / AnimateLineGraphPlot.py
Created April 4, 2024 09:51
Animate plot_line_graph in Manim
from manim import *
from pprint import pprint as pp
class AnimatedLineGraphAxes(Axes):
pass
def plot_line_graph(self, *args, **kwargs):
try:
x_range = kwargs.pop("x_range")
@hkarl
hkarl / paperpile.sh
Created May 24, 2021 13:03
How to process paper pile-exported bibfiles so that emacs / helm-bibtex / ivy-bibtex can work with them.
#!/bin/bash
# Get the newest paperpile and fix the format
# Argument 1: Paperpile folder name to look for
# This is messy because paperpile insists on putting spaces in file names and gnu make can't handle that :-(
# This is also messy because paperpile has such a weird file format; not really compatible with ivy-bibtex / helm-bibtex in emacs.
### Keybase proof
I hereby claim:
* I am hkarl on github.
* I am hkarl (https://keybase.io/hkarl) on keybase.
* I have a public key ASB9MycWlHLY_1xXhTQueSh4zWrIHWVBchh_SyX5vk75qgo
To claim this, I am signing this object: