This file contains hidden or 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
| /** awesome css buttons: http://www.zurb.com/article/266/super-awesome-buttons-with-css3-and-rgba **/ | |
| .awesome, .awesome:visited { | |
| background: #222 url(/img/alert-overlay.png) repeat-x; | |
| display: inline-block; | |
| padding: 5px 10px 6px; | |
| color: #fff; | |
| text-decoration: none; | |
| -moz-border-radius: 5px; | |
| -webkit-border-radius: 5px; |
This file contains hidden or 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
| require 'color-logger.rb' |
This file contains hidden or 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
| files = Dir.glob("*.png") | |
| compares = {} | |
| files.each do |file| | |
| files.each do |compare_to| | |
| key = [file, compare_to].sort.join("-") | |
| unless compares[key] || file == compare_to | |
| compares[key] = `compare -metric MAE #{file} #{compare_to} null: 2>&1` | |
| puts "#{file} vs #{compare_to} = " + compares[key] # if a comparison yields `0 (0)`, they're the same | |
| end | |
| end |
This file contains hidden or 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
| /* | |
| Client Side Validations + Formtastic + Bootstrap | |
| based on: https://github.com/dockyard/client_side_validations-formtastic | |
| */ | |
| (function() { |
This file contains hidden or 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
| module Draper | |
| class CollectionDecorator | |
| delegate :current_page, :total_pages, :limit_value | |
| end | |
| end |
This file contains hidden or 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
| # Additional translations at http://github.com/plataformatec/devise/wiki/I18n | |
| nl: | |
| errors: | |
| messages: | |
| expired: "is verlopen, vraag een nieuwe aan" | |
| not_found: "niet gevonden" | |
| already_confirmed: "is reeds bevestigd" | |
| not_locked: "is niet gesloten" | |
| not_saved: |
This file contains hidden or 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
| [{"value": "AF", "label": "AFGHANISTAN"}, | |
| {"value": "AL", "label": "ALBANIA"}, | |
| {"value": "AR", "label": "ARGENTINA"}, | |
| {"value": "AM", "label": "ARMENIA"}, | |
| {"value": "AZ", "label": "AZERBAIJAN"}, | |
| {"value": "BY", "label": "BELARUS"}, | |
| {"value": "BE", "label": "BELGIUM"}, | |
| {"value": "BO", "label": "BOLIVIA, PLURINATIONAL STATE OF"}, | |
| {"value": "BA", "label": "BOSNIA AND HERZEGOVINA"}, | |
| {"value": "BR", "label": "BRAZIL"}, |
This file contains hidden or 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
| { | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Action": [ | |
| "s3:ListBucket", | |
| "s3:GetBucketLocation", | |
| "s3:ListBucketMultipartUploads" | |
| ], | |
| "Resource": "arn:aws:s3:::BUCKETNAME", |
This file contains hidden or 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
| source 'https://rubygems.org' | |
| gem 'http' |
This file contains hidden or 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/bash | |
| set -ex | |
| bundle_update_for_repo() { | |
| git clone [email protected]:alphagov/$1.git --depth=1 | |
| cd $1 | |
| git checkout -b "update-dependencies-$(date +"%Y-%m-%d")" | |
| BUNDLE_UPDATE_LOG="$(bundle update --jobs=4 | grep was)" |
OlderNewer