Skip to content

Instantly share code, notes, and snippets.

View gmacdougall's full-sized avatar

Gregor MacDougall gmacdougall

  • Toronto, Ontario, Canada
View GitHub Profile
Script started on Wed 06 Jan 2016 09:22:55 AM EST
% ]2;~/tmp]1;~/tmp ~/tmp  [?1h= ~/tmp  ❯❯❯ script new-solidus-test.logrm -rf lsl bundle exec rails new new-solidus-test[?1l> ~/tmp  ❯❯❯ bundle exec rails new new-solidus-test
]2;bundle]1;bundleCould not find rake-10.4.2 in any of the sources
Run `bundle install` to install missing gems.
%
{
"pages": 1,
"per_page": 500,
"current_page": 1,
"total_count": 4,
"count": 4,
"products": [
{
"has_variants": false,
"classifications": [
~/d/s/sandbox (v2.0.0|✔) ❮❮❮ bin/rails c
Loading development environment (Rails 5.0.0.1)
[1] pry(main)> ::Money.default_formatting_rules = { symbol_position: :after }
=> {:symbol_position=>:after}
[2] pry(main)> Spree::Money.new(100).to_s
=> "100.00 $"
SELECT
spree_orders.id
FROM
spree_orders
WHERE (
spree_orders.id IN (
SELECT order_id
FROM spree_orders_promotions
INNER JOIN
spree_promotion_codes
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Order Numbers
R602169588
R583681504
R912600988
R580288748
R685086175
R687879298
R042146737
R103032620
R923323995
For order #R004269804, Replace COBC174CO1BLKCBS, COBSSP4CO1VERDES, DSS4C04PC1BLK4CO with [["COBC174CO1BLKCBL", 1], ["COBSSP4CO1VERDEL", 1], ["DSS4C04PC1BLK4CO", 1]]
For order #R011417310, Replace DSS4C04PC1BLK4CO, COBC174CO1BLKCBS, COBSSP4CO1VERDES with [["COBC174CO1BLKCBL", 1], ["COBSSP4CO1VERDEL", 1], ["DSS4C04PC1BLK4CO", 1]]
For order #R011507649, Replace COBC174CO1BLKCBS with [["COBC174CO1BLKCBL", 1]]
For order #R013457214, Replace 2006SSWXL, 9002CCWXXL, 5006AWHTS, COBC174CO1BLKCBS with [["2006SSWL", 1], ["9002CCWL", 1], ["5006AWHTL", 1], ["COBC174CO1BLKCBM", 1]]
For order #R024775680, Replace COBC176CO1BLKCBS with [["COBC176CO1BLKCBXL", 1]]
For order #R031851432, Replace COBC176CO1BLKCBS with [["COBC176CO1BLKCBXXL", 1]]
For order #R042146737, Replace COBC176CO1BLKCBS, COBSSP6CO1VERDES, DSS4C04PC1BLK4CO with [["COBC176CO1BLKCBXL", 1], ["COBSSP6CO1VERDEXL", 1], ["DSS4C04PC1BLK4CO", 1]]
For order #R045539838, Replace COBC176CO1BLKCBS, COBSSP6CO1VERDES, DSS4C04PC1BLK4CO with [["COBC176CO1BLKCBL", 1], ["COBSS
Bad Order Number RLM SKU RLM STYLE RLM COLOR RLM SIZE Solidus SKU Quantity
R602169588 L 1
R602169588 5005100 COBC174CO1 BLKCB L COBC174CO1BLKCBL 1
R602169588 5005101 COBSSP4CO1 VERDE L COBSSP4CO1VERDEL 1
R602169588 5005153 DSS4C04PC1 BLK4C O DSS4C04PC1BLK4CO 1
R583681504 XL 1
R583681504 5005098 COBC176CO1 BLKCB XL COBC176CO1BLKCBXL 1
R583681504 5005099 COBSSP6CO1 VERDE XL COBSSP6CO1VERDEXL 1
R583681504 5005153 DSS4C04PC1 BLK4C O DSS4C04PC1BLK4CO 1
R583681504 5005098 COBC176CO1 TRBCB XL COBC176CO1TRBCBXL 1
2017-03-23 09:11:00 martin Hi Greg, how are you doing
2017-03-23 09:21:22 gmacdougall Good Day! I'm doing well
2017-03-23 09:22:15 gmacdougall I saw your name in the channel earlier when I was looking but falsely assumed this martin was Martin Meyerhoff
2017-03-23 09:22:24 martin : ) I was first
2017-03-23 09:22:26 martin super, is there lots to do with the upcoming conference
2017-03-23 09:23:03 gmacdougall There is. We're splitting the work up amongst a bunch of different people, so that makes it a bit easlier.
2017-03-23 09:23:21 martin then it's on you the part with the interviews : )
2017-03-23 09:23:48 gmacdougall Yup! I just wanted to ask you some questions which we're going to format in to a blog post to give people a bit of an introduction to you and what you're going to be speaking about at the conference. Did you have any questions before we start?
2017-03-23 09:24:02 martin No, go ahead
2017-03-23 09:24:37 gmacdougall Perfect. First, could you please introduce yourself for anyone who might not be
2017-03-23 09:36:41 josetonyp Hi
2017-03-23 09:36:58 gmacdougall Good Day. How are you doing?
2017-03-23 09:37:32 josetonyp Good, you? is kind of early morning over there right?
2017-03-23 09:38:28 gmacdougall Yeah, we're at GMT-4 now. So it's just after 9:30.
2017-03-23 09:40:31 gmacdougall As I mentioned previously, we're doing a series of blogs so that people can get to know each of the presenters at the conference. I'm just going to ask a few questions and we'll turn that in to a sensible blog post which should get people excited for the conference and to see your talk. Sound good?
2017-03-23 09:41:06 josetonyp sounds very good idea
2017-03-23 09:41:36 gmacdougall First, could you please give us a quick introduction to yourself?
2017-03-23 09:43:37 josetonyp I've studied Electronic Engeneering and got interested more into the web world during my career so I continue in this area. I'm a Senior/Full Stack Dev at Bitspire. I've been working with Ruby for 6 years now and before I was working mostly with PHP.