Skip to content

Instantly share code, notes, and snippets.

View katallaxie's full-sized avatar
👨‍💻
Staying hungry. Staying foolish.

Sebastian Döll katallaxie

👨‍💻
Staying hungry. Staying foolish.
View GitHub Profile
@katallaxie
katallaxie / main.go
Last active May 7, 2023 04:56
Server in Go with multiple listeners and signals.
package server
import (
"context"
"os"
"os/signal"
"syscall"
"time"
"golang.org/x/sync/errgroup"
@katallaxie
katallaxie / Fastfile
Last active August 11, 2019 08:22
Fastfile for automatically change build number
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
@katallaxie
katallaxie / Brewfile
Last active August 22, 2019 07:06
Interesting vscode extensions
tap "andersnormal/picasso"
tap "aybabtme/tap"
tap "bradleyjkemp/formulae"
tap "caskroom/versions"
tap "dart-lang/dart"
tap "devhubapp/devhub"
tap "fgeller/tap"
tap "go-task/tap"
tap "grpc/grpc"
tap "homebrew/bundle"
@katallaxie
katallaxie / .graphqlrc.yml
Last active January 25, 2021 09:17
GraphCMS Schema & Code Generation
# GraphCMS API
schema: https://api-eu-central-1.graphcms.com/v2/xxxxxx/master
overwrite: true
documents: ./src/graphql/**/*.graphql
# Format files
extensions:
codegen:
hooks:
@katallaxie
katallaxie / README.md
Last active June 20, 2022 06:13
Remove Jamf from supervised Mac.

First, try to remove all profiles.

sudo /usr/bin/profiles -D

If this does not help, because the device is supervised, proceed the following way.

  1. Boot into recovery mode (CMD + R) and select Utilities > Terminal from the menu bar.
  2. Type csrutil disable in the terminal to disable the System Integrity Protection (SIP). Reboot your machine.
@katallaxie
katallaxie / cockroach-openfga.md
Last active June 14, 2024 18:52
OpenFGA + CockroachDB

CockroachDB + OpenFGA

CockroachDB is a source-available distributed SQL database management system developed by Cockroach Labs The relational functionality is built on top of a distributed, transactional, consistent key-value store that can survive a variety of different underlying infrastructure failures, and is wire-compatible with PostgreSQL which means users can take advantage of a wide range of drivers and tools from the extensive PostgreSQL ecosystem.

OpenFGA is an open-source authorization solution that allows developers to build granular access control using an easy-to-read modeling language and friendly APIs. It is modelled after the Google Zanzibar authorization model.

Combining both of these technologies provide a strongly consistent authorization system. It seperates authentication (AuthN) from authorization (AuthZ).

Quickstart

@katallaxie
katallaxie / README.md
Last active December 19, 2024 15:21
Demo Kubernetes 1.31: Read Only Volumes Based On OCI Artifacts (alpha)