Skip to content

Instantly share code, notes, and snippets.

@ryanfelton
ryanfelton / install_qt5.sh
Last active May 25, 2017 04:01
CircleCI Install Qt5
#!/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 ..."
git 'https://github.com/CraigCottingham/treeline.git', :tag => 'v1.0.0' do
gem 'treeline'
end
#!/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