Write a program which reads a number of strings from standard input and prints them in reverse order on the screen. The input sequence is terminated with the string END.
$ reverse-strings
one
two
three
END
| assert.equal( | |
| find('.order-contact__info .text--big.text--right').text(), '$12.56', | |
| 'Total is shown'); | |
| assert.equal( | |
| find('.order-contact__info .text--alt.text--right').text(), '#EFGH-123456', | |
| 'Order number is shown'); | |
| assert.equal( | |
| find('.order-detail address p:eq(0)').text(), '411 Walnut St.', |
| From 0220cab1cbe460387a7323e0de231271d448d825 Mon Sep 17 00:00:00 2001 | |
| From: Alexander Dymo <gremlin@earth.(none)> | |
| Date: Thu, 7 May 2009 03:19:17 +0300 | |
| Subject: [PATCH] Fix the spelling of Kyiv timezone (Kyev is incorrect, Kyiv is the correct one) | |
| --- | |
| .../lib/active_support/values/time_zone.rb | 4 ++-- | |
| 1 files changed, 2 insertions(+), 2 deletions(-) | |
| diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb |
| #!/bin/bash | |
| set -e | |
| SLACK_WEBHOOK_URL= | |
| DEFAULT_EMOJI=:slack: | |
| CHANNEL=${1:-#general} | |
| AUTHOR="Some user" | |
| tmate -S /tmp/tmate.sock new-session -d && tmate -S /tmp/tmate.sock wait tmate-ready |
| " RSpec Expect To | |
| imap <leader>et expect().to<ESC>F(a | |
| " RSpec Expect To Equal | |
| imap <leader>ete expect().to eql<ESC>F(a | |
| " RSpec Expect To Include | |
| imap <leader>eti expect().to include<ESC>F(a | |
| " RSpec Expect To Be |
| diff --git a/app/assets/javascripts/mobile/views/product_form_view.js.coffee b/app/assets/javascripts/mobile/views/product_form_view.js.coffee | |
| index cddbc4f..e2f67cb 100644 | |
| --- a/app/assets/javascripts/mobile/views/product_form_view.js.coffee | |
| +++ b/app/assets/javascripts/mobile/views/product_form_view.js.coffee | |
| @@ -228,7 +228,7 @@ class ProductFormView extends FormView | |
| @ui.addOption.show() | |
| optionsLength: -> | |
| - @ui.optionsList.find('li').length | |
| + @ui.optionsList.find('li.option').length |
| it "validates that names won't create identical permalinks" do | |
| account = Factory(:account) | |
| account.artists.create(:name => 'John Boy') | |
| a = Factory.build(:artist, :name => '!john $boy#', :account => account) | |
| a.should_not be_valid | |
| end |
| # Add your own tasks in files placed in lib/tasks ending in .rake, | |
| # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | |
| require File.expand_path('../config/application', __FILE__) | |
| # require 'rspec/core/rake_task' | |
| Admin::Application.load_tasks | |
| # desc 'Generate API request documentation' | |
| # RSpec::Core::RakeTask.new('api:docs:generate') do |task| |
| require "rails_helper" | |
| describe Product do | |
| it 'cannot associate with categories from other accounts' do | |
| account = create :account | |
| product = build :product, account: account | |
| a = create :category, account: account | |
| b = create :category, account: build(:account) | |
| product.category_ids = [a.id, b.id] |
master branch and your git status is cleanmaster branch is up to date with master branch at origin: git pull --rebase or gpr with the dotmatrix aliasgit checkout -b pagination or with dotmatrix aliases gco -b pagination. Some people like to make GitHub issues for the work they're about to do and prefix the feature with a number matching the GitHub issue, like this gco -b 352-paginationgit push origin 352-pagination. Alternativley, you can use the dotmatrix alias git put. This will assume that whatever branch name you are on l