Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
| #!/usr/bin/env ruby | |
| require 'rack' | |
| # Thin SSL workaround | |
| module Rack | |
| module Handler | |
| class Thin | |
| def self.run(app, options={}) | |
| app = Rack::Chunked.new(Rack::ContentLength.new(app)) | |
| server = ::Thin::Server.new(options[:Host] || '0.0.0.0', |
| # GIT / GIT FLOW ALIASES | |
| alias gs="git stash" | |
| alias gsa="git stash apply" | |
| alias gsl="git stash list" | |
| alias gsc="git stash clear" | |
| alias gft="git fetch --tags" | |
| alias gpt="git push --tags" | |
| alias gcm="git checkout master" |
| This playbook has been removed as it is now very outdated. |
| # Resize selenium browser window to avoid Selenium::WebDriver::Error::MoveTargetOutOfBoundsError errors | |
| # | |
| # Example usage with Rspec (in spec/support/spec_helper.rb): | |
| # | |
| # config.before(:each) do | |
| # set_selenium_window_size(1250, 800) if Capybara.current_driver == :selenium | |
| # end | |
| # | |
| def set_selenium_window_size(width, height) | |
| window = Capybara.current_session.current_window.resize_to |