Skip to content

Instantly share code, notes, and snippets.


Roman Heinrich mindreframer

View GitHub Profile
mindreframer /
Last active Apr 29, 2020
Installing POP OS

Fresh Pop OS installation:


  • install wifi drivers sudo apt install firmware-b43-installer


  • install chrome
mindreframer /
Last active Aug 13, 2019
Elixir - Dealing with nested datastructures (validating / traversing / transforming)
mindreframer / adjustowner.sql
Created Jul 11, 2019
Change owner for a Postgres DB (all relations)
View adjustowner.sql
-- I like this one since it modifies tables, views, sequences and functions owner of a certain schema in one go (in one sql statement), without creating a function
DO $$DECLARE r record;
v_schema varchar := 'public';
v_new_owner varchar := 'bn_redash';
text_var1 varchar := '';
text_var2 varchar := '';
text_var3 varchar := '';

DevOps / SRE - Go(lang) / Kubernetes / Google Cloud - Junior / Senior

Talon.One is a young startup building a Promotion Engine as a service for business clients. Our core product is a platform that integrates with our clients’ systems via public APIs and automates all kinds of promotional marketing campaigns (using discounts, coupon codes, loyalty and referral programs). Marketers manage their promotions via our web app, while developers can customize the platform with webhook integrations, custom events, and even writing code in our specialized LISP dialect Talang!

There is currently no comparable product on the market that provides such level of flexibility.


Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

View gist:23fd6bddbfaacf4bc84ee43e9be6e88c
$ root@plz-playground:~/please# ./
Installing Go dependencies...
pypy not found; won't build parser engine for it.
You won't be able to build Please packages unless all parsers are present.
Building Please...
Build finished; total time 0.36s, incrementality 0.0%. Outputs:
View gist:825e292183f15a8e7e7f134502293b14

If you have two days to learn the very basics of modelling, Domain-Driven Design, CQRS and Event Sourcing, here's what you should do:

In the evenings read the [Domain-Driven Design Quickly Minibook]{}. During the day watch following great videos (in this order):

  1. Eric Evans' [What I've learned about DDD since the book]{}
  2. Eric Evans' [Strategic Design - Responsibility Traps]{}
  3. Udi Dahan's [Avoid a Failed SOA: Business & Autonomous Components to the Rescue]{}
  4. Udi Dahan's [Command-Query Responsibility Segregation]{}
  5. Greg Young's [Unshackle Your Domain]{}
  6. Eric Evans' [Acknowledging CAP at the Root -- in the Domain Model]{ht