This file contains 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/sh | |
# Based on: https://gist.github.com/ryanong/ad6e7570e3f72b22c0e4 | |
set -x | |
# Exit if any subcommand fails | |
set -e | |
if [ ! -d "/opt/qt55" ]; then | |
echo "Installing QT 5.5 ..." |
This file contains 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
git 'https://github.com/CraigCottingham/treeline.git', :tag => 'v1.0.0' do | |
gem 'treeline' | |
end |
This file contains 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 ruby | |
# Munin graph for Passenger Memory Stats | |
# put in /etc/munin/plugins and restart munin-node | |
# by Dan Manges, http://www.dcmanges.com/blog/rails-application-visualization-with-munin | |
# NOTE: you might need to add munin to allow passwordless sudo for passenger-memory-stats | |
# http://gist.github.com/21391 | |
def output_config | |
puts <<-END | |
graph_category App |