Skip to content

Instantly share code, notes, and snippets.

View chgeuer's full-sized avatar
🏠
Working from Düsseldorf

Dr. Christian Geuer-Pollmann chgeuer

🏠
Working from Düsseldorf
View GitHub Profile

Rendevouz hashing

Mix.install([
  {:combination, "~> 0.0.3"}
], consolidate_protocols: false)

Section

[00:00.000 --> 00:16.400]  Hello, hello, and welcome to "Waterpark - Transforming Health Care with Distributed Actors".
[00:16.400 --> 00:17.400]  My name is Brian Hunter.
[00:17.400 --> 00:22.160]  It is awesome to be back in Oslo, and it's a joy to be here today to share some of my
[00:22.160 --> 00:24.520]  team's research.
[00:24.520 --> 00:31.240]  This research led to a product with an unusual architecture that's out there doing good
[00:31.240 --> 00:36.000]  in the world, and so it's going to be fun to share this with you all.

[00:36.000 --> 00:40.360] All right, so I'm an Enterprise Fellow at HCA Health Care.

Enroll TS3

boltctl enroll --policy=auto --chain cd010000-0070-6d18-234c-b38ed643e102

/boot/loader/entries/linux-ts4.conf

title   Arch Linux (TS3 support)
linux   /vmlinuz-linux
initrd  /initramfs-linux.img
IO.puts("Using .iex.exs file loaded from #{__DIR__}/.iex.exs")
defmodule Util do
def iex(n), do: IEx.Helpers.v(n)
def atom_status do
limit = :erlang.system_info(:atom_limit)
count = :erlang.system_info(:atom_count)
IO.puts("Currently using #{count} / #{limit} atoms")
end

Entra Domains

Mix.install([
  {:req, "~> 0.5.8"}
])

Libraries

Postgrex on Azure: How to connect to an Azure PostgreSQL DB from Elixir

Mix.install([
  {:x509, "~> 0.8.10"},
  {:postgrex, "~> 0.19.3"},
  {:req, "~> 0.5.7"},
  {:livebook_env, "~> 1.0"},
  {:kino, "~> 0.14.2"}
])

A simple .NET Core 8 sample running on Linux to show AES GCM encryption...

using System.Security.Cryptography;
using System.Text;

// https://learn.microsoft.com/en-us/dotnet/standard/security/cross-platform-cryptography#authenticated-encryption
Console.Out.WriteLine($"Is supported: {AesGcm.IsSupported}");
/*
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Identity.Client" Version="4.64.0" />

Wetterdaten

Mix.install([
  {:req, "~> 0.5.6"},
  {:explorer, "~> 0.9.0"},
  {:kino_explorer, "~> 0.1.21"},
  {:iconv, "~> 1.0"},
  {:floki, "~> 0.36.2"}
])
@chgeuer
chgeuer / l.md
Last active December 11, 2024 15:27

Livebook on WSL2

Compile Erlang and Elixir from scratch

Install Linux dependencies

  • autoconf
  • automake
  • build-essential
  • gcc