Skip to content

Instantly share code, notes, and snippets.

View mossheim's full-sized avatar
🦎

moss heim mossheim

🦎
  • Ableton
  • Berlin, Germany
View GitHub Profile
@mossheim
mossheim / QtWebEngineProcess.entitlements
Last active April 17, 2021 14:39
SC release automation
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
</dict>
</plist>
#!/bin/env bash
set -uoe pipefail
echo "This script will do the following:"
echo "- install or update gcc, cmake, and make"
echo "- clone the llvm project to ./llvm-project"
echo "- install clang-format to /usr/local/clang-format-8"
echo "- leave ./llvm-project intact when done"
echo ""

SuperCollider Byte Code Reference

Brian Heim 2018-06-19

Table of Contents

  • Introduction
@mossheim
mossheim / reviewing.md
Last active June 15, 2019 21:04
reviewing instructions (rough sketch)

Prerequisites

  • Be familiar with CONTRIBUTING.md, DEVELOPING.md, git workflow, code of conduct, and review process (i.e., read this document)
  • Be familiar with or willing to learn about the part of the project related to the PR you're reviewing
  • Have previously participated in PR review discussions, and/or have previous PR review experience
  • Good communication skills and lots of patience :)

Overview

The major tasks for a reviewer are:

#!/usr/bin/env python
from __future__ import print_function, absolute_import
import difflib
import glob
import os
import re
import string
import subprocess
import sys
echo "If any of this doesn't work, make sure you're using a bash shell first."
echo " bash -il"
# need these to start
sudo apt-get -y install git vim curl ccache gist valgrind
git clone https://github.com/brianlheim/dotfiles ~/dotfiles
mv ~/dotfiles/* ~
rm -r ~/dotfiles
mkdir ~/.vim
Terminal Color Scheme
Brian Heim
Foreground: 2e2e2d
Background: fffff8
Selection: cdcdcd
BRGYBMCW
Normal
@mossheim
mossheim / Annotations.sc
Last active May 18, 2018 03:00
SuperCollider Annotations example
// Annotations concept sketch
// Brian Heim, May 2018
// Annotations are source-level metadata about a function or class.
// The Annotations class provides a hacky way of getting runtime reflection on annotations
// by parsing source code directly. Also provided are convenience functions on Method and Class.
Annotations {
// Get the annotations for a given Method or Class object, by parsing the relevant directly.
// Conveniently, Method and Class have the same interface here, so we don't need separate methods.
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <ctime>
#define FP double
using std::cout;
using std::endl;
=== BUILD AGGREGATE TARGET ZERO_CHECK OF PROJECT SuperCollider WITH CONFIGURATION Debug ===
Check dependencies
PhaseScriptExecution CMake\ Rules build_webengine/SuperCollider.build/Debug/ZERO_CHECK.build/Script-5C510F362947434CBC6DB026.sh
cd /Users/brianheim/git/supercollider
/bin/sh -c /Users/brianheim/git/supercollider/build_webengine/SuperCollider.build/Debug/ZERO_CHECK.build/Script-5C510F362947434CBC6DB026.sh
echo ""
make -f /Users/brianheim/git/supercollider/build_webengine/CMakeScripts/ReRunCMake.make