Skip to content

Instantly share code, notes, and snippets.

@andreivasiliu
andreivasiliu / acme.md
Created October 20, 2023 06:48
Demi ACME

Demi Cluster:

  • A cluster of two halves
  • There is no master or slave; both demi hosts are masters
  • Security through isolation:
    • All web services (HTTP, DNS) run inside Demi VMs
    • Demi VMs may not access anything on the LAN, or on their host
    • Demi VMs may access each other
  • Security through minimalism:
  • The Demi VMs run on minimal Demi bare metal hosts
@jamescasbon
jamescasbon / template.py
Created December 11, 2011 16:37
Pure python templates using with statement
"""
A really stupid python template language inspired by coffeekup, markaby.
Do not use this code, it will ruin your day. A byproduct of insomnia.
TL;DR
-----
This module defines a template language that allows us to do:
d = Doc()