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 / 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 / .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 / 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 / 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 / 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 / mime_types.js
Last active August 14, 2018 10:41
Mime Types
export default {
'3dmf': 'x-world/x-3dmf',
'3dm': 'x-world/x-3dmf',
'avi': 'video/x-msvideo',
'ai': 'application/postscript',
'bin': 'application/octet-stream',
'bin': 'application/x-macbinary',
'bmp': 'image/bmp',
'cab': 'application/x-shockwave-flash',
'c': 'text/plain',
events {
worker_connections 1024;
}
error_log /dev/stdout info;
http {
access_log /dev/stdout;
upstream docker-registry {
@katallaxie
katallaxie / pom.xml
Last active October 9, 2017 07:52
Exhibitor
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>exhibitor</groupId>
<artifactId>exhibitor</artifactId>
<version>1.6.0</version>
<dependencies>
<dependency>
<groupId>io.soabase.exhibitor</groupId>
@katallaxie
katallaxie / observer.go
Last active September 4, 2017 07:03
Simple event observer in Golang
// Copyright © 2017 Sebastian Döll <sebastian@katallaxie.me>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
@katallaxie
katallaxie / avahi-daemon.conf
Last active September 28, 2020 13:28
Have HomeKit in VLAN's on LEDE
# install avahi
# to configure servce
[server]
allow-interfaces=br-<private-network>,br-<iot-network>
use-ipv4=yes
use-ipv6=no
allow-interfaces=br-lan,br-machina
check-response-ttl=no
use-iff-running=no
cache-entries-max=0