Skip to content

Instantly share code, notes, and snippets.

View olf42's full-sized avatar

olf olf42

  • Leipzig
View GitHub Profile
@cfra
cfra / dockerdrop.md
Last active September 26, 2022 07:13
How to setup Docker CE at Digitalocean with btrfs

Dropping the Docker

Based on this guide

We differ from the official docs by creating the btrfs before installing docker-ce.

Also we assume this is done as root.

Apperently, we can save ourself the effort to shuffle stuff around afterwards and have docker use the btrfs as intended, immediately after installation.

@ceolson01
ceolson01 / mixins.py
Created March 19, 2016 15:05
Django Group Required Mixin
from django.core.exceptions import PermissionDenied
class GroupRequiredMixin(object):
"""
group_required - list of strings, required param
"""
group_required = None