Skip to content

Instantly share code, notes, and snippets.

View laurentNoudohounsi's full-sized avatar

laurentNoudohounsi

  • Paris, France
View GitHub Profile
@talaviram
talaviram / add_debug_entitlement.sh
Last active July 15, 2024 10:58
Simple Utility Script for allowing debug of hardened macOS apps.
#! /bin/bash
# Simple Utility Script for allowing debug of hardened macOS apps.
# This is useful mostly for plug-in developer that would like keep developing without turning SIP off.
# Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg
# Update 2022-03-10: Based on Fabian's feedback, add capability to inject DYLD for sanitizers.
#
# Please note:
# - Modern Logic (on M1s) uses `AUHostingService` which resides within the system thus not patchable and REQUIRES to turn-off SIP.
# - Some hosts uses separate plug-in scanning or sandboxing.
# if that's the case, it's required to patch those (if needed) and attach debugger to them instead.
@diamantidis
diamantidis / TemplateInfo.plist
Last active June 28, 2022 12:47
A custom Xcode Template with coordinator
{
Kind = "Xcode.IDEFoundation.TextSubstitutionFileTemplateKind";
Platforms = (
"com.apple.platform.iphoneos",
);
Options = (
{
Description = "The name of the module to create";
Identifier = "productName";
Name = "New Module Name:";
import Foundation
final class Sample: NSObject {
@objc dynamic var name: String = ""
}
class MyObj: NSObject {
@objc dynamic var test: String = ""
}
extension NSObjectProtocol where Self: NSObject {
@ffAudio
ffAudio / PluginEditor.cpp
Created June 20, 2017 10:47
A simple JUCE plugin that saves text in float parameters
/*
==============================================================================
PluginEditor.cpp
==============================================================================
*/
#include "PluginProcessor.h"
#include "PluginEditor.h"