I hereby claim:
- I am buoyant on github.
- I am sandeeptota (https://keybase.io/sandeeptota) on keybase.
- I have a public key whose fingerprint is 4543 1DCF 4731 6E7E 515A 9E68 CE5F A01F 42F0 D16C
To claim this, I am signing this object:
## From Lynda.com course 'RSpec Testing Framework with Ruby' | |
describe 'Expectation Matchers' do | |
describe 'equivalence matchers' do | |
it 'will match loose equality with #eq' do | |
a = "2 cats" | |
b = "2 cats" | |
expect(a).to eq(b) |
I hereby claim:
To claim this, I am signing this object:
This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).
This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :
<?php | |
$currency_symbols = array( | |
'AED' => 'د.إ', // ? | |
'AFN' => 'Af', | |
'ALL' => 'Lek', | |
'AMD' => '', | |
'ANG' => 'ƒ', | |
'AOA' => 'Kz', // ? | |
'ARS' => '$', | |
'AUD' => '$', |
<p><i class="lock inline"></i> All information is sent via a secure SSL connection.</p> | |
<div class="checkout-row"> | |
<p class='<%= @payment_gateway.cc_number_field[:p_class] %>'> | |
<%= label_tag $credit_card_number %> | |
<%= text_field_tag @payment_gateway.cc_number_field[:name], '', @payment_gateway.cc_number_field[:options] %> | |
</p> | |
<p> |
#-- encoding: UTF-8 | |
module StripeNewCheckoutPlugin | |
def self.included(base) | |
base.class_eval do | |
# | |
end | |
end | |
# credit card commons fields |
after "deploy:symlink", "deploy:restart_workers" | |
## | |
# Rake helper task. | |
# http://pastie.org/255489 | |
# http://geminstallthat.wordpress.com/2008/01/27/rake-tasks-through-capistrano/ | |
# http://ananelson.com/said/on/2007/12/30/remote-rake-tasks-with-capistrano/ | |
def run_remote_rake(rake_cmd) | |
rake_args = ENV['RAKE_ARGS'].to_s.split(',') | |
cmd = "cd #{fetch(:latest_release)} && #{fetch(:rake, "rake")} RAILS_ENV=#{fetch(:rails_env, "production")} #{rake_cmd}" |