Install (copy & paste):
curl -sL https://raw.github.com/gist/1708408/travis.rb > ~/bin/travis-ci \
&& chmod +x ~/bin/travis-ci
gem install hub | tail -2
ruby -e 'require "json"' 2>/dev/null || gem install json
/* base32 */ | |
/* | |
Copyright (c) 2011, Chris Umbel | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
#!/usr/bin/env ruby | |
require 'english' | |
ADDED_OR_MODIFIED = /A|AM|^M/ | |
added_or_modified = `git status --porcelain`.split("\n").select do |file_name_with_status| | |
file_name_with_status =~ ADDED_OR_MODIFIED | |
end | |
filenames = added_or_modified.map do |file_name_with_status| | |
file_name_with_status.split(' ')[1] |
set -e | |
# Stop the docker daemon | |
/etc/init.d/docker stop | |
# Configure ECS Agent | |
# http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html | |
# http://docs.aws.amazon.com/AmazonECS/latest/developerguide/automated_image_cleanup.html | |
cat > /etc/ecs/ecs.config << "EOF" | |
ECS_ENGINE_TASK_CLEANUP_WAIT_DURATION=1h |
Locale Identifier | Description | |
---|---|---|
af | Afrikaans | |
af-NA | Afrikaans (Namibia) | |
af-ZA | Afrikaans (South Africa) | |
agq | Aghem | |
agq-CM | Aghem (Cameroon) | |
ak | Akan | |
ak-GH | Akan (Ghana) | |
am | Amharic | |
am-ET | Amharic (Ethiopia) |
Locale Identifier | Description | |
---|---|---|
af | Afrikaans | |
af-NA | Afrikaans (Namibia) | |
af-ZA | Afrikaans (South Africa) | |
ak | Akan | |
ak-GH | Akan (Ghana) | |
am | Amharic | |
am-ET | Amharic (Ethiopia) | |
ar | Arabic | |
ar-AE | Arabic (United Arab Emirates) |
Gemfile.lock merge=bundleinstall | |
db/schema.rb merge=railsschema |
require 'rubygems' | |
@irb_extensions = [] | |
def require_with_bundler_fallback(gem_name, load_file = nil) | |
load_file ||= gem_name | |
begin | |
require load_file | |
rescue LoadError => e | |
gem_paths = [] |