Skip to content

Instantly share code, notes, and snippets.

Ruby jemalloc

Adding jemalloc via LD_PRELOAD

FROM ruby:3.2-slim

RUN apt-get update ; \\
    apt-get install -y --no-install-recommends
      libjemalloc2 ; \\
@ExpectationMax
ExpectationMax / Implicit_DIrichletMultinomial.ipynb
Created August 9, 2017 13:39
Pymc3 implementation of the Dirichlet-Multinomial distribution
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@koreno
koreno / README.md
Last active April 1, 2020 10:44
'rebaser' improves on 'git rebase -i' by adding information per commit regarding which files it touched.

Prebase

git-prebase improves on 'git rebase -i' by adding information per commit regarding which files it touched.

  • Each file gets an alpha-numeric identifier at a particular column, a list of which appears below the commit list. (The identifiers wrap around after the 62nd file)
  • Commits can be moved up and down safely (without conflicts) as long as their columns don't clash (they did not touch the same file).

Installation

Add the executable to your path and git will automatically expose it as