Skip to content

Instantly share code, notes, and snippets.

@paberr
paberr / Dockerfile
Created July 26, 2025 11:48
Docker Roundcubemail with Kolab Plugins
# Start from the official Roundcube image (which already has the php entrypoint).
FROM roundcube/roundcubemail:latest AS builder
USER root
# Install git, node, npm so we can clone the Kolab plugin and build CSS at runtime
RUN apt-get update && apt-get install -y --no-install-recommends git nodejs npm
RUN npm install -g less less-plugin-clean-css
WORKDIR /usr/local/share
@paberr
paberr / keybase.md
Created November 9, 2019 14:31
Keybase

Keybase proof

I hereby claim:

  • I am paberr on github.
  • I am paberr (https://keybase.io/paberr) on keybase.
  • I have a public key ASATnIfyTZiScT-KS2jbUcLRDtLkKTcWiHqy-ZbxhBZAcAo

To claim this, I am signing this object:

@paberr
paberr / map-comparison.js
Created April 8, 2018 16:12
Large ECMAScript Maps compared to Object
/*
* Map
*/
let map = new Map();
console.time('push');
for (let i = 0; i < 100000; i++) {
map.set(i, i);
}
console.timeEnd('push');