-
Install XCode
-
Install Command Line Tools from XCode Preferences
-
Install Homebrew
-
Install rvm or rbenv
-
Install Matterhorn dependencies within Homebrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /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__': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Save this file as lib/capistrano/tasks/git.cap | |
| namespace :git do | |
| desc 'Copy repo to releases' | |
| task create_release: :'git:update' do | |
| on roles(:all) do | |
| with fetch(:git_environmental_variables) do | |
| within repo_path do | |
| execute :git, :clone, '-b', fetch(:branch), '--recursive', '.', release_path | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mount_map = Hash[ | |
| `mount`.split(/\n/).collect { |l| | |
| (loc, mount, type) = l.scan(/^(.+) on (.+) type (\S+) /).flatten | |
| if loc =~ /:\// | |
| loc = "#{type}://#{loc.sub(/:\//,'/')}" | |
| [mount, loc] | |
| end | |
| }.compact | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #requires -Version 3.0 | |
| <# | |
| .SYNOPSIS | |
| My Veeam Report is a flexible reporting script for Veeam Backup and | |
| Replication. | |
| .DESCRIPTION | |
| My Veeam Report is a flexible reporting script for Veeam Backup and | |
| Replication. This report can be customized to report on Backup, Replication, |