A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
| #!/usr/bin/env ruby | |
| require 'etc' | |
| dependencies = `bundle show | grep '*' | awk '{print $2, $3}' | sed -e 's/(//' -e 's/)//'`.split("\n") | |
| dependencies.each.with_index(1) do |dependency, i| | |
| (gem_name, version) = dependency.split | |
| next if /rails-assets/.match?(gem_name) | |
| puts "Installing docs for #{gem_name} #{version} " |
| #!/bin/sh | |
| shell=$(basename $SHELL) | |
| # Exit if we don't support your shell | |
| if [ $shell != "zsh" -a $shell != "bash" ]; then | |
| printf "This script only works if you're using zsh or bash\n" | |
| exit 1 | |
| fi | |
| # Crash if the asdf or direnv commands already exist, or if ~/.asdf, ~/.envrc or ~/.tool-versions already exist |
| # frozen_string_literal: true | |
| require 'rspec/core/formatters/base_text_formatter' | |
| class QueueFormatter < RSpec::Core::Formatters::BaseTextFormatter | |
| # This registers the notifications this formatter supports, and tells | |
| # us that this was written against the RSpec 3.x formatter API. | |
| RSpec::Core::Formatters.register self, :example_started, :example_failed | |
| def initialize(output) | |
| @output = output |