Skip to content

Instantly share code, notes, and snippets.

@jcheong0428
jcheong0428 / synchrony_tutorial.ipynb
Last active October 18, 2024 16:32
Synchrony tutorial notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jcheong0428
jcheong0428 / synchrony01.py
Last active March 13, 2023 19:45
synchrony_pearsonr
import pandas as pd
import numpy as np
%matplotlib inline
import matplotlib.pyplot as plt
import seaborn as sns
import scipy.stats as stats
df = pd.read_csv('synchrony_sample.csv')
overall_pearson_r = df.corr().iloc[0,1]
print(f"Pandas computed Pearson r: {overall_pearson_r}")
@njh
njh / aes67_wishlist.md
Last active January 22, 2025 16:11
AES67 Open Source Software Wishlist

AES67 (an open standard for high quality audio over IP) is becoming mainstream in the world of broadcast and professional audio industries, however there is a very limited amount of open source software available to interoperate with it. As a result we are often just replacing XLRs with Ethernet, without taking advantage of the possibilites the software give. While Virtual Soundcards enable some of this, native network implementations would allow greater flexibility.

This is my wishlist of things that would help change that. Hopefully one day it can be turned into a AES67 Awesome List.

As open source has resulted in very rapid evolution of the web, I believe the same is possible for professional/broadcast audio.

It is possible that some of this already exists and I just havn't found it yet. Please add a comment below if you know of something!

@nessus42
nessus42 / destiny-networking-revised.md
Last active April 1, 2025 05:11
How Networking Works in Destiny 1 and How It Will Differ in Destiny 2 (According to Bungie, Redux)
@gregneagle
gregneagle / fancy_defaults_read.py
Last active December 5, 2024 10:38
fancy_defaults_read.py: Reads a preference, prints its value, type, and where it is defined.
#!/usr/bin/python
import os
import sys
from CoreFoundation import (CFPreferencesAppValueIsForced,
CFPreferencesCopyAppValue,
CFPreferencesCopyValue,
kCFPreferencesAnyUser,
kCFPreferencesAnyHost,
@timsutton
timsutton / fetch-install-vmware-tools.sh
Created April 9, 2017 23:38
Use AutoPkg and Rich Trouton's VMware Tools recipe to download and install the 'darwin' VMware guest tools on a macOS system
#!/bin/sh -e
# Downloading VMware Tools within guest automatically using AutoPkg and Rich Trouton's
# VMware Tools recipe - used within ESXi build to workaround complicated tools
# upload issues (https://github.com/timsutton/osx-vm-templates/pull/30)
tmpdir=$(mktemp -d /tmp/vmware-tools-XXXXXX)
(
cd "${tmpdir}"
require 'anemone'
#The below count is manually extracted from https://www.linkedin.com/directory/topics-X where 'X' is the alphabet
word_to_char = {
a: 98, b: 100, c: 99, d: 99, e: 99, f: 97, g: 96, h: 95, i: 100, j: 88, k: 92, l: 97, m: 100,
n: 94, o: 99, p: 99, q: 87, r: 100, s: 100, t: 100, u: 94, v: 96, w: 100, x: 73, y: 53, z: 0
}
all_urls, skipped_urls = [], []
word_to_char.each{ |char, count| 1.upto(count) { |num| all_urls << "https://www.linkedin.com/directory/topics-#{char}-#{num}/" } }
@ted-piotrowski
ted-piotrowski / visualstudiocode.sh
Last active August 31, 2022 14:27
Visual Studio Code on ARM Debian Linux
# building Visual Studio Code Debian package on ARM
# get source code
git clone [email protected]:Microsoft/vscode.git
cd vscode
# build debian package
./scripts/npm.sh install --arch=armhf
./node_modules/.bin/gulp vscode-linux-arm-build-deb
@timsutton
timsutton / protools_12_postinstall.sh
Created September 2, 2016 18:19
Avid Pro Tools 12.5 postinstall script for use with Munki
#!/bin/bash
# from Neil Martin's guide:
# http://www.pro-tools-expert.com/home-page/2014/1/29/preparing-pro-tools-forautomatic-installation-in-a-mac-enter.html
# Adapted by Tim for PT 12.4
SHOETOOL_NAME="com.avid.bsd.shoetoolv120"
PHT_SHOE="/Library/PrivilegedHelperTools/$SHOETOOL_NAME"
PLIST="/Library/LaunchDaemons/$SHOETOOL_NAME.plist"
# Copy the com.avid.bsd.shoetoolv120 Helper Tool
@hastyeagle
hastyeagle / export_messages.py
Last active July 17, 2022 15:43 — forked from nomirosa/export_chat.py
Export iOS/iMessage chat logs to HTML or text
#!/usr/bin/env python
import sys
import argparse
import urllib
import urlparse
import base64
import mimetypes
import cgi
import sqlite3