nc -l 5566 > data-dump.sql
Listen on port 5566 and redirect output to data-dump.sql
| Drop into lib/matterhorn: | |
| https://github.com/avalonmediasystem/avalon-felix/raw/1.4.x/lib/matterhorn/matterhorn-ingest-service-impl-1.4-SNAPSHOT.jar | |
| https://github.com/avalonmediasystem/avalon-felix/raw/1.4.x/lib/matterhorn/matterhorn-distribution-service-hls-1.4-SNAPSHOT.jar | |
| https://github.com/avalonmediasystem/avalon-felix/raw/1.4.x/lib/matterhorn/matterhorn-distribution-service-streaming-1.4-SNAPSHOT.jar | |
| https://github.com/avalonmediasystem/avalon-felix/raw/1.4.x/lib/matterhorn/matterhorn-workflow-notifier-avalon-1.4-SNAPSHOT.jar | |
| Drop into etc/encoding: | |
| https://raw.github.com/avalonmediasystem/avalon-felix/1.4.x/etc/encoding/avalon.properties |
| gifify() { | |
| if [[ -n "$1" ]]; then | |
| if [[ $2 == '--good' ]]; then | |
| ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png | |
| time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif | |
| rm out-static*.png | |
| else | |
| ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif | |
| fi | |
| else |
| #! /usr/bin/env python | |
| from boto.ses.connection import SESConnection | |
| import os | |
| import sys | |
| import subprocess | |
| import socket | |
| TMPFILE = '/var/run/postgresql/last-wal-archive-error-file.tmp' | |
| if __name__ == '__main__': |
| #!/bin/bash | |
| if ! [ $3 ] ; then | |
| echo "$0 <SOURCE POOL/DATASET> <TARGET_HOST> <TARGET POOL/DATASET>" | |
| exit 1 | |
| fi | |
| SRC=$1 | |
| TARGET_HOST=$2 | |
| DST=$3 |
Install XCode
Install Command Line Tools from XCode Preferences
Install Homebrew
Install rvm or rbenv
Install Matterhorn dependencies within Homebrew
| % dpkg -L libpcap0.8 | grep libpcap.so | |
| /usr/lib/x86_64-linux-gnu/libpcap.so.1.1.1 | |
| /usr/lib/x86_64-linux-gnu/libpcap.so.0.8 |
| # | |
| # UPDATE for 10.10.4+: please consider this patch obsolete, as apple provides a tool called "trimforce" to enable trim support for 3rd party SSDs | |
| # just run "sudo trimforce enable" to activate the trim support from now on! | |
| # | |
| # Original version by Grant Parnell is offline (http://digitaldj.net/2011/07/21/trim-enabler-for-lion/) | |
| # Update July 2014: no longer offline, see https://digitaldj.net/blog/2011/11/17/trim-enabler-for-os-x-lion-mountain-lion-mavericks/ | |
| # | |
| # Looks for "Apple" string in HD kext, changes it to a wildcard match for anything | |
| # | |
| # Alternative to http://www.groths.org/trim-enabler-3-0-released/ |
| #!/bin/sh | |
| # Credits to: | |
| # - http://vstone.eu/reducing-vagrant-box-size/ | |
| # - https://github.com/mitchellh/vagrant/issues/343 | |
| aptitude -y purge ri | |
| aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant ubuntu-serverguide | |
| aptitude -y purge python-dbus libnl1 python-smartpm python-twisted-core libiw30 | |
| aptitude -y purge python-twisted-bin libdbus-glib-1-2 python-pexpect python-pycurl python-serial python-gobject python-pam python-openssl libffi5 |
| # Install Homebrew | |
| ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go) | |
| # Follow on-screen instructions (X11 isn't necessary for this if it shows as not installed) | |
| brew install node | |
| # Open .bashrc and add this line (create .bashrc if its not in your home directory already) |