Skip to content

Instantly share code, notes, and snippets.

@talaviram
talaviram / add_debug_entitlement.sh
Last active April 8, 2024 21:42
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.
@talaviram
talaviram / grid.css
Created July 21, 2019 09:01
Grid Track With All Track Column
body {
margin: 40px;
background-color: #353;
}
.wrapper {
display: grid;
grid-gap: 10px;
height: 400px;
grid-template-columns: 80px 5px 1fr;
@talaviram
talaviram / MonochromeEffect.h
Last active February 19, 2018 09:16
Makes a JUCE component grayscale.
/*
==============================================================================
MonochromeEffect.h
Created: 18 Feb 2018 6:47:14pm
Author: Tal@SoundRadix
==============================================================================
*/
#pragma once
@talaviram
talaviram / AudioParameterUtilities.cpp
Created January 16, 2018 11:17
An elegant (IMHO) solution to link between parameters and components for JUCE (using AudioProcessorValueTree).
/*
==============================================================================
AudioParameterUtilities.cpp
Created: 16 Jan 2018 10:34:07am
Author: Tal Aviram
==============================================================================
*/
/*
==============================================================================
ModesButton.cpp
Created: 11 Jul 2017 2:11:07pm
Author: Tal Aviram
==============================================================================
*/