This file contains 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 'roo' | |
require 'fileutils' | |
require 'csv' | |
require 'vcardio' | |
xlsx = Roo::Excelx.new('./cnt.xlsx') | |
nothing = [] | |
@vcf_elements = [{key: :food, values: [], regex: /FOOD/i}, | |
{key: :cold_store, values: [], regex: /COLD/i}, | |
{key: :resturants, values: [], regex: /REST|KITCHEN|COFFEE|SANDWICH|SUBWAY|PASTRIES|PIZZA|SHAWARMA|GRILLS|MACDONALD|GRILL|FALAFEL|SANDWICHES|DAIRY|CHICKEN|BURGER/i}, | |
{key: :sweets, values: [], regex: /SWEET/i}, |
This file contains 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 'roo' | |
require 'fileutils' | |
require 'csv' | |
require 'vcardio' | |
xlsx = Roo::Excelx.new('./cnt.xlsx') | |
nothing = [] | |
@vcf_elements = [{key: :food, values: [], regex: /FOOD/i}, | |
{key: :cold_store, values: [], regex: /COLD/i}, | |
{key: :resturants, values: [], regex: /REST|KITCHEN|COFFEE|SANDWICH|SUBWAY|PASTRIES|PIZZA|SHAWARMA|GRILLS|MACDONALD|GRILL|FALAFEL|SANDWICHES|DAIRY|CHICKEN|BURGER/i}, | |
{key: :sweets, values: [], regex: /SWEET/i}, |
This file contains 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 'roo' | |
require 'fileutils' | |
require 'csv' | |
require 'vcardio' | |
xlsx = Roo::Excelx.new('./cnt.xlsx') | |
nothing = [] | |
@vcf_elements = [{key: :food, values: [], regex: /FOOD/i}, | |
{key: :cold_store, values: [], regex: /COLD/i}, | |
{key: :resturants, values: [], regex: /REST|KITCHEN|COFFEE|SANDWICH|SUBWAY|PASTRIES|PIZZA|SHAWARMA|GRILLS|MACDONALD|GRILL|FALAFEL|SANDWICHES|DAIRY|CHICKEN|BURGER/i}, | |
{key: :sweets, values: [], regex: /SWEET/i}, |
This file contains 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 'roo' | |
require 'fileutils' | |
require 'csv' | |
require 'vcardio' | |
xlsx = Roo::Excelx.new('./cnt.xlsx') | |
nothing = [] | |
@vcf_elements = [{key: :food, values: [], regex: /FOOD/i}, | |
{key: :cold_store, values: [], regex: /COLD/i}, | |
{key: :resturants, values: [], regex: /REST|KITCHEN|COFFEE|SANDWICH|SUBWAY|PASTRIES|PIZZA|SHAWARMA|GRILLS|MACDONALD|GRILL|FALAFEL|SANDWICHES|DAIRY|CHICKEN|BURGER/i}, | |
{key: :sweets, values: [], regex: /SWEET/i}, |
This file contains 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
10:06:07 shipper_sidekiq.1 | 2019-11-22T04:36:07.529Z 27051 TID-oxhscqlff Alert::TenderSent JID-0f2b0bd71e8f3b815a6d848d INFO: start | |
10:06:07 shipper.1 | Unexpected error while processing request: U+2713 from UTF-8 to US-ASCII | |
10:06:07 shipper.1 | /Users/ashajin/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/railties-4.2.11.1/lib/rails/rack/log_tailer.rb:33:in `write' | |
10:06:07 shipper.1 | /Users/ashajin/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/railties-4.2.11.1/lib/rails/rack/log_tailer.rb:33:in `print' | |
10:06:07 shipper.1 | /Users/ashajin/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/railties-4.2.11.1/lib/rails/rack/log_tailer.rb:33:in `tail!' | |
10:06:07 shipper.1 | /Users/ashajin/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/railties-4.2.11.1/lib/rails/rack/log_tailer.rb:22:in `call' | |
10:06:07 shipper.1 | /Users/ashajin/.rbenv/versions/2.3.8/lib/ruby/gems/2.3.0/gems/newrelic_rpm-4.8.0.341/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in |
This file contains 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
# Checkout the extension source | |
git clone https://github.com/facebook/react-devtools | |
cd react-devtools | |
# Checkout the previous release branch | |
git checkout v3 | |
# Install dependencies and build the unpacked extension | |
yarn install |
This file contains 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
Building native extensions. This could take a while... | |
Successfully installed capybara-webkit-1.15.1 | |
Parsing documentation for capybara-webkit-1.15.1 | |
Installing ri documentation for capybara-webkit-1.15.1 | |
Done installing documentation for capybara-webkit after 0 seconds | |
1 gem installed | |
shajin@Abduls-MacBook-Pro manufacturer (BUGS-7095) $ bundle install | |
Fetching source index from https://gems.contribsys.com/ | |
Fetching source index from https://gems.contribsys.com/ | |
Fetching gem metadata from https://rubygems.org/....... |
This file contains 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
{"html_attributions"=>[], | |
"result"=> | |
{"address_components"=> | |
[{"long_name"=>"Bhiwadi", "short_name"=>"Bhiwadi", "types"=>["locality", "political"]}, | |
{"long_name"=>"Alwar", "short_name"=>"Alwar", "types"=>["administrative_area_level_2", "political"]}, | |
{"long_name"=>"Rajasthan", "short_name"=>"RJ", "types"=>["administrative_area_level_1", "political"]}, | |
{"long_name"=>"India", "short_name"=>"IN", "types"=>["country", "political"]}], | |
"adr_address"=>"<span class=\"locality\">Bhiwadi</span>, <span class=\"region\">Rajasthan</span>, <span class=\"country-name\">India</span>", | |
"formatted_address"=>"Bhiwadi, Rajasthan, India", | |
"geometry"=>{"location"=>{"lat"=>28.2088218, "lng"=>76.84459989999999}, "viewport"=>{"northeast"=>{"lat"=>28.2216102, "lng"=>76.8750393}, "southwest"=>{"lat"=>28.1857546, "lng"=>76.8047977}}}, |
This file contains 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
{"html_attributions"=>[], | |
"results"=> | |
[{"formatted_address"=>"Rajasthan, India", | |
"geometry"=>{"location"=>{"lat"=>28.2088218, "lng"=>76.84459989999999}, "viewport"=>{"northeast"=>{"lat"=>28.2216102, "lng"=>76.8750393}, "southwest"=>{"lat"=>28.1857546, "lng"=>76.8047977}}}, | |
"icon"=>"https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png", | |
"id"=>"916e016e9ab610b45ac669464a43e6d39e30f2dd", | |
"name"=>"Bhiwadi", | |
"photos"=> | |
[{"height"=>3120, | |
"html_attributions"=>["<a href=\"https://maps.google.com/maps/contrib/109967878128997250391/photos\">Davinder kumar</a>"], |
This file contains 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
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
NewerOlder