Skip to content

Instantly share code, notes, and snippets.

View hogliux's full-sized avatar

Fabian Renn hogliux

  • London
View GitHub Profile
@hogliux
hogliux / sms-to-telegram.md
Last active November 1, 2024 18:12
Notes on sms forwarding with huawei E8372h-320 on debian bullseye raspberry pi OS

These notes are based on ethaniel's excellent guide. Please read that guide first and then consult these notes on some changes/tweeks I needed to do to get this running on the newest raspberyr pi OS (January 2023) with a Huawei E8372h-320 (2020 model).

Setup SMS forwarding with gammu on debian bullseye on a rasp pi B+ with the HUAWEI E8372h-320 (2020 model)

First and foremost we need to get the huawei into the correct mode. Unfortunately, usb modeswitch did not do this out-of-the-box for me.

Ensuring that the huawei stick does not switch into an incompatible mode automatically

Blacklist cdc_ether by creating a file /etc/modprobe.d/blacklist-huawei-cdc-usb-net.conf with the following contents:

@hogliux
hogliux / vst3paths.m
Created November 16, 2022 18:18
Find VST3s inside AUv3 packages
NSArray<NSURL*>* findVST3sBundledInsideAUv3s()
{
AVAudioUnitComponentManager* manager = [AVAudioUnitComponentManager sharedAudioUnitComponentManager];
NSArray<AVAudioUnitComponent*>* comps = [manager componentsPassingTest:^BOOL(AVAudioUnitComponent *comp, BOOL *stop) {
return [comp.allTagNames containsObject:@"VST3Compatible"] && (! [comp.userTagNames containsObject:@"VST3Compatible"]);
}];
NSMutableArray<NSURL*>* vst3URLs = [[NSMutableArray<NSURL*> alloc] init];
for (AVAudioUnitComponent* comp in comps)
{