Skip to content

Instantly share code, notes, and snippets.

View marcelvdh's full-sized avatar
🥄
Spoooooon!

Marcel marcelvdh

🥄
Spoooooon!
View GitHub Profile
// The SwiftUI Lab
// Website: https://swiftui-lab.com
// Article: https://swiftui-lab.com/alignment-guides
import SwiftUI
class Model: ObservableObject {
@Published var minimumContainer = true
@Published var extendedTouchBar = false
@Published var twoPhases = true
@marcelvdh
marcelvdh / setup-endpoint-security-sample.md
Created June 12, 2021 21:26
Setup Endpoint Security sample instructions

Introduction

This gist describes the steps that are required to setup and debug Apple's Endpoint Security Sample on a Virtual Machine (VM) with LLDB.

Using a VM for development of Security Extensions is recommended because certain macOS security measures will either need to be turned off or relaxed. All of these measures are vital for macOS security and should never be altered on a normal installation of macOS.

The following security systems will be modified:

@marcelvdh
marcelvdh / EndpointSecurityDemo.m
Created June 8, 2021 18:44 — forked from Omar-Ikram/EndpointSecurityDemo.m
A demo of using Apple's new EndpointSecurity framework - tested on macOS Big Sur 11.3.1 (20E241)
//
// main.m
// EndpointSecurityDemo
//
// Created by Omar Ikram on 17/06/2019 - macOS Catalina 10.15 Beta 1 (19A471t)
// Updated by Omar Ikram on 15/08/2019 - macOS Catalina 10.15 Beta 5 (19A526h)
// Updated by Omar Ikram on 01/12/2019 - macOS Catalina 10.15 (19A583)
// Updated by Omar Ikram on 31/01/2021 - macOS Big Sur 11.1 (20C69)
// Updated by Omar Ikram on 07/05/2021 - macOS Big Sur 11.3.1 (20E241)
//