Skip to content

Instantly share code, notes, and snippets.

@muellermartin
muellermartin / # qjackctl - 2016-07-24_22-34-06.txt
Created July 24, 2016 20:36
qjackctl on Mac OS X 10.11.5 - Homebrew build logs
Homebrew build logs for qjackctl on Mac OS X 10.11.5
Build date: 2016-07-24 22:34:06
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3d67607..c7d86b8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -203,6 +203,10 @@ add_custom_target(uninstall
find_package(PythonLibs 2)
find_package(SWIG)
+if(APPLE)
+ set(PYTHON_LIBRARY "-undefined dynamic_lookup")
@muellermartin
muellermartin / rpicam-gstreamer.txt
Created February 3, 2016 01:03
Stream video from Raspberry Pi with camera attached to CSI port via RTP (UDP) using GStreamer
Useful Links:
- http://stackoverflow.com/questions/25941171/how-to-get-gstreamer1-0-working-with-v4l2-raspicam-driver
- http://raspberrypi.stackexchange.com/questions/26675/modern-way-to-stream-h-264-from-the-raspberry-cam
- http://stackoverflow.com/questions/13154983/gstreamer-rtp-stream-to-vlc
- http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README
- http://archpi.dabase.com/#sending-and-receiving-pi-camera-video-over-the-network
- http://emmanuelgranatello.blogspot.de/2013/10/raspberry-pi-gstreamer-streaming-h264.html
- http://stackoverflow.com/questions/15712983/why-rtp-streaming-of-a-avi-video-file-fails-to-be-received
@muellermartin
muellermartin / anonredirect.sh
Last active August 29, 2015 14:25
Anonymously open a redirecting URL to mitigate tracking.
#!/bin/sh
# Anonymously open a redirecting URL to mitigate tracking.
# Uses http://labs.wis.nu/ua/ to retrieve a random user agent string.
# Requires a local tor SOCKS5 proxy and Python 3.
anonredirect()
{
origURL=$1
proxyPort=9050
@muellermartin
muellermartin / apple-wwdc-2015-dl.sh
Created June 9, 2015 18:01
Download Apple's WWDC 2015 in 1080p
#!/bin/sh
# The file containing the list of MPEG TS files
filename=8500_vod.m3u8
# The base URL containing all the MPEG TS files
baseURL=http://p.events-delivery.apple.com.edgesuite.net/15pijbnaefvpoijbaefvpihb06/vod2/8500/
# The directory where to store the MPEG TS files
# WARNING: Needs ~10 GB of disk space (and additional 10 GB for the merged file)!
tsDir=ts
Downloading/unpacking xlwings
Getting page https://pypi.python.org/simple/xlwings/
URLs to search for versions for xlwings:
* https://pypi.python.org/simple/xlwings/
Analyzing links from page https://pypi.python.org/simple/xlwings/
Found link https://pypi.python.org/packages/source/x/xlwings/xlwings-0.1.0.zip#md5=4aa10c081fb02ea3ca6fadd3e2858133 (from https://pypi.python.org/simple/xlwings/), version: 0.1.0
Found link https://pypi.python.org/packages/source/x/xlwings/xlwings-0.1.1.zip#md5=f0244b373e2d251b20689620d6437c00 (from https://pypi.python.org/simple/xlwings/), version: 0.1.1
Found link https://pypi.python.org/packages/source/x/xlwings/xlwings-0.2.0.tar.gz#md5=9bfb31b3a08431705eec1bc262d27ff5 (from https://pypi.python.org/simple/xlwings/), version: 0.2.0
Found link https://pypi.python.org/packages/source/x/xlwings/xlwings-0.2.1.tar.gz#md5=83fa219ac5d12a31fcea6c02e2d01879 (from https://pypi.python.org/simple/xlwings/), version: 0.2.1
Found link https://pypi.python.org/package
@muellermartin
muellermartin / osxfuse-xcode6-build.log
Created July 3, 2014 15:58
Log of Homebrew running `brew install osxfuse --HEAD --verbose` (with slightly modified Formula for osxfuse to use 'master' branch instead of 'osxfuse-2')
==> Cloning https://github.com/osxfuse/osxfuse.git
git clone --depth 1 https://github.com/osxfuse/osxfuse.git /Library/Caches/Homebrew/osxfuse--git
Cloning into '/Library/Caches/Homebrew/osxfuse--git'...
git submodule update --init
Submodule 'framework' (https://github.com/osxfuse/framework.git) registered for path 'framework'
Submodule 'fuse' (https://github.com/osxfuse/fuse.git) registered for path 'fuse'
Submodule 'kext' (https://github.com/osxfuse/kext.git) registered for path 'kext'
Submodule 'macfuse' (https://github.com/osxfuse/fuse.git) registered for path 'macfuse'
Submodule 'prefpane' (https://github.com/osxfuse/prefpane.git) registered for path 'prefpane'
Cloning into 'framework'...
#!/bin/sh
# Clone OpenSSL repository
# Credits to https://github.com/robertdavidgraham/heartleech
git clone git://git.openssl.org/openssl.git
cd openssl
# Build 64-bit library on Mac OS
./configure darwin64-x86_64-cc
make depend
make
@muellermartin
muellermartin / scantailor-0.9.11.1-clang.patch
Last active January 4, 2016 04:29
This patch makes Scan Tailor (scantailor-0.9.11.1) work with Clang on Mac OS X 10.9.1 with homebrew. The patch has been accepted by the maintainer and has been included in the main repository. See conversation in mailing list: http://sourceforge.net/p/scantailor/mailman/message/31884956/
diff --git a/ProjectFilesDialog.cpp b/ProjectFilesDialog.cpp
index f632b3c..dfa1c14 100644
--- a/ProjectFilesDialog.cpp
+++ b/ProjectFilesDialog.cpp
@@ -279,7 +279,7 @@ ProjectFilesDialog::inProjectFiles() const
using namespace boost::lambda;
std::vector<ImageFileInfo> files;
- m_ptrInProjectFiles->items(bind(&pushFileInfo<Item>, ref(files), _1));
+ m_ptrInProjectFiles->items(bind(&pushFileInfo<Item>, boost::ref(files), _1));
@muellermartin
muellermartin / app.py
Created February 18, 2013 01:48
Simple CherryPy application with external configuration files, Mako template and ws4py WebSocket server
# -*- coding: UTF-8 -*-
import cherrypy
import os.path
from mako.template import Template
from mako.lookup import TemplateLookup
from ws4py.server.cherrypyserver import WebSocketPlugin, WebSocketTool
from ws4py.websocket import WebSocket
cherrypy.config.update("global.config")