Skip to content

Instantly share code, notes, and snippets.

@david0
david0 / ardour-nodelete.patch
Last active December 28, 2015 20:02
ardour patch for emulating nodelete on OS X
diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc
index 20f59b5..b9b382c 100644
--- a/gtk2_ardour/lv2_plugin_ui.cc
+++ b/gtk2_ardour/lv2_plugin_ui.cc
@@ -438,11 +438,6 @@ LV2PluginUI::lv2ui_free()
remove (*_gui_widget);
_gui_widget = NULL;
}
-
- if (_inst) {
@david0
david0 / fix-installnames-magic.py
Created December 15, 2015 19:05
magic install name fixing tool
#!/usr/bin/env python3
# Try to fix library names by looking them up
from subprocess import check_output
import re
from os import system
from os.path import basename, exists
from sys import argv
from glob import glob
if len(argv) < 3:
@david0
david0 / ardour_calf_osx.png
Last active December 12, 2015 16:03
Ardour + Calf running on OS X
ardour_calf_osx.png
@david0
david0 / compile.log
Last active December 12, 2015 13:06
Ardour 4.4 + libsigc++-2.6.4 nil bug
2015-12-12 13:54:19 +0100
./waf
install
Waf: Entering directory `/private/tmp/ardour201512/ardour-4.4/build'
[ 1/860] cxx: libs/appleutility/AUOutputBL.cpp -> build/libs/appleutility/AUOutputBL.cpp.1.o
[ 2/860] cxx: libs/appleutility/AUParamInfo.cpp -> build/libs/appleutility/AUParamInfo.cpp.1.o
[ 3/860] cxx: libs/appleutility/CAAudioChannelLayout.cpp -> build/libs/appleutility/CAAudioChannelLayout.cpp.1.o
[ 4/860] cxx: libs/appleutility/CAAudioChannelLayoutObject.cpp -> build/libs/appleutility/CAAudioChannelLayoutObject.cpp.1.o
@david0
david0 / Makefile.in.patch
Last active December 7, 2015 08:00
vamp-plugin-sdk makefile patch
--- Makefile.in.orig 2015-12-03 20:56:09.000000000 +0100
+++ Makefile.in 2015-12-04 07:27:19.000000000 +0100
@@ -103,16 +103,20 @@
# public entry point. It's not essential, but makes a tidier library.
PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS) -Wl,--version-script=build/vamp-plugin.map
-
-## For OS/X with g++:
-#DYNAMIC_LDFLAGS = -dynamiclib
-#PLUGIN_LDFLAGS = $(DYNAMIC_LDFLAGS)
@david0
david0 / POC-deterministic-zip-checksums
Last active June 27, 2022 15:48
proof of concept for deterministic/reproduceable Zip file checksums
proof of concept to make Zip-file checksums more reliable
related to https://github.com/composer/composer/issues/2540
@david0
david0 / handout.tex
Created August 23, 2014 10:53
Latex Template to create an A4 handout
% Template to create an A4 handout
% input should be a 16:9 PDF presentation
\documentclass[a4paper]{article}
%\documentclass[a4paper]{beamer}
%\documentclass[a4paper]{handoutWithNotes}
%\pgfpagesuselayout{4 on 1 with notes}[a4paper,border shrink=5mm]
\usepackage{pdfpages}
%\AtBeginSection[]
@david0
david0 / Makefile
Last active August 29, 2015 14:04
alternativer Neo2 Layout Windows treiber
CFLAGS=-std=c99
LD=$(CC)
all: keymapper.exe
keymapper.exe: main.o
$(LD) -o keymapper.exe $<
@david0
david0 / php-winpath-helper
Last active March 23, 2017 00:14
PHPStorm+cygwin path helpler
Helper utility for php from cygwin for using with phpStorm
@david0
david0 / strip-autocomplete.user.js
Created March 3, 2014 15:26
Greasymonkey/Tampermonkey script that strips "autocomplete" attributes from username and password fields
// ==UserScript==
// @name Strip autocomplete attributes
// @namespace david0
// @version 0.1
// @description This plugin gives the control about your passwords back to your browser and allows the browser to store every password.
// @include http://*
// @include https://*
// @copyright 2014, David
// ==/UserScript==