Christian Kruse

Welcome. On this page you can find my software projects, my articles, my notes and my pictures.

My name is Christian Kruse. I work as a software developer and system administator at Termitel GmbH. I live in Germany in a small town called Steinfurt.

I am passionate about software development, GNU/Linux, FLOSS as well as OS X. I am also a do-it-yourself apologetic: I did a lot of things in and around my house myself. I love the hacker culture. And last but not least I am a dog owner.

This is my personal replacement for Twitter, Facebook and the other data silos. My content is mine — so if you are interested in my activity, just have a look at this page.

Last Article

What's new

Atom Feed

  1. 2019-06-14
  2. 2019-06-11
  3. 2019-06-08
  4. 2019-06-07
  5. 2019-05-27
  6. 2019-05-24
    Christian Kruse,

    Today I learned: you can specify a binding position in an Ecto query via parameter:

    def apply_some_filter(query, binding_position, field_name) do
      from([{rel, binding_position}] in query, where: field(rel, ^field_name) == "foo")

    This works thanks to pattern matching 😍

  7. 2019-05-19
    Christian Kruse,

    I'm glad I used Ansible for deploying my servers a few years ago. This allowed me to move my current setup to a new Digital Ocean droplet with minimal effort. Just a few changes due to new system versions. 🎉

  8. 2019-05-17