Skip to content

Instantly share code, notes, and snippets.

View toby11's full-sized avatar

toby11

  • Moxham Consultants
  • Southsea
View GitHub Profile
@toby11
toby11 / gist:a480969609bcfb8a3459357bbd1d179c
Created October 20, 2025 11:10
audacity crash stack trace
Operating system: Windows NT
10.0.19045 6456
CPU: x86
GenuineIntel family 6 model 63 stepping 2
12 CPUs
GPU: UNKNOWN
Crash reason: EXCEPTION_ACCESS_VIOLATION_READ
Crash address: 0x8
@toby11
toby11 / sighthound.cs
Created August 15, 2022 13:24
sighthound xml rpc example
static string URL = "https://x.x.x.x:8848/xmlrpc/";
static string User = "username";
static string Password = "password";
static string RequestTemplate = "<?xml version=\"1.0\"?><methodCall><methodName>remoteEnableRule</methodName><params><param><value><string>{0}</string></value></param><param><value><boolean>{1}</boolean></value></param></params></methodCall>";
public static bool ControlRule(string RuleName, bool Enabled)
{
// NB this method does not return a valid response - tested with invalid rule names and it still comes back as ok
// can only catch exceptions