Skip to content

Instantly share code, notes, and snippets.

View bdwilliams's full-sized avatar

Brian Williams bdwilliams

View GitHub Profile
/**
* generate_tableau_token - generate a tableau token for the user
*
* Documentation: https://help.tableau.com/current/online/en-us/connected_apps_direct.htm
* Connected Apps: https://prod-useast-a.online.tableau.com/#/site/locally/connectedApplications
*
* @return string
*/
public function generate_tableau_token()
{
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
id,title,link,ads_redirect,brand,description,condition,mpn,gtin,gender,age_group,item_group_id,price,availability,image_link,additional_image_link,product_type,google_product_category,shipping_weight,display_ads_link
"shopify_US_2432269287542_21713488707702","Roof Rack Pads | Vehicle Mounting Systems | BOTE","https://www.boteboard.com/products/roof-rack-pads?variant=21713488707702&currency=USD","https://www.boteboard.com/products/roof-rack-pads?variant=21713488707702&currency=USD","BOTE","Keep your board safe on the top of your car by protecting your roof rack rails with BOTE's Roof Rack Pads. The pads simply slide over the bars to give a nice cushion for your board. Made in the U. S. from high-quality non-fading polyester.","new","BAERO","00856514004412","unisex","adult","2432269287542","45.00 USD","in stock","https://cdn.shopify.com/s/files/1/0046/9018/2262/products/BAERO-1-min.png?v=1623355968","https://cdn.shopify.com/s/files/1/0046/9018/2262/products/BAERO-2-min.jpg?v=1623355967,https://cdn.shopify.com/s
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 12 columns, instead of 6. in line 4.
id name code image image_url created_at updated_at product_id position is_published affiliate_id affiliate_updated_at
25901891 :Era White: :Era White: lcly-f440c77f317a3cb077a26cf0aac0fa59.jpg https://media.trekbikes.com/image/upload/MadoneSLR7-25-46687-D-Primary.jpg?wid=1000&hei=1000 2024-07-12 07:08:23 2024-07-12 07:08:23 2005398 0 1 0 0000-00-00 00:00:00
25901911 Era White Era White lcly-f440c77f317a3cb077a26cf0aac0fa59.jpg https://media.trekbikes.com/image/upload/MadoneSLR7-25-46687-D-Primary.jpg?wid=1000&hei=1000 2024-07-12 07:08:23 2024-07-12 07:08:23 2005398 0 1 0 0000-00-00 00:00:00
25901915 ::Era White:: ::Era White:: lcly-f440c77f317a3cb077a26cf0aac0fa59.jpg https://media.trekbikes.com/image/upload/MadoneSLR7-25-46687-D-Primary.jpg?wid=1000&hei=1000 2024-07-12 07:08:23 2024-07-12 07:08:23 2005398 0 1 0 0000-00-00 00:00:00
25901924 One Color One Color lcly-f440c77f317a3cb077a26cf0aac0fa59.jpg https://media.trekbikes.com/image/upload/MadoneSLR7-25-46687-D-Primary.jpg?wid=1000&hei=1000 2024-07-12 07:08
id name code image image_url created_at updated_at product_id position is_published affiliate_id affiliate_updated_at
25800224 Gray/Orange 280 2024-07-02 16:41:24 2024-07-02 16:41:24 1984109 0 1 0 0000-00-00 00:00:00
25800227 Taupe 923 2024-07-02 16:41:24 2024-07-02 16:41:24 1984109 0 1 0 0000-00-00 00:00:00
25800229 Black/Black 1 2024-07-02 16:41:24 2024-07-02 16:41:24 1984109 0 1 0 0000-00-00 00:00:00
25800233 Black/Green 43 2024-07-02 16:41:24 2024-07-02 16:41:24 1984109 0 1 0 0000-00-00 00:00:00
25800237 Red 660 2024-07-02 16:41:24 2024-07-02 16:41:24 1984109 0 1 0 0000-00-00 00:00:00
25800289 Black 0 2024-07-02 16:41:25 2024-07-02 16:41:25 1984113 0 1 0 0000-00-00 00:00:00
25800297 Sand 921 2024-07-02 16:41:25 2024-07-02 16:41:25 1984113 0 1 0 0000-00-00 00:00:00
25800311 Black 0 2024-07-02 16:41:25 2024-07-02 16:41:25 1984127 0 1 0 0000-00-00 00:00:00
25800316 Sand 921 2024-07-02 16:41:25 2024-07-02 16:41:25 1984127 0 1 0 0000-00-00 00:00:00
store_id upc qty price compare_at_price
307180 888830259108 1
307180 888830065327 1
307180 888830088562 1
307180 888830087954 1
307180 795711335120 2
307180 795711043865 1
307180 888830198766 1
307180 888830047149 1
307180 888830314074 1
assets by status 43 MiB [cached] 14 assets
cached modules 14.6 MiB (javascript) 306 KiB (runtime) [cached] 2028 modules
javascript modules 313 KiB
./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./src/performance_dashboard/styles/styles.css 85 KiB [built]
./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./src/global/styles/tailwind.css 85 KiB [built]
./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./src/order_history/styles/index.css 71.6 KiB [built]
./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./src/hello/styles/index.css 71.6 KiB [built]
ERROR in src/shopify_app/extensions/lcly-web-pixel/src/index.ts:1:24
TS2307: Cannot find module '@shopify/web-pixels-extension' or its corresponding type declarations.
code product_id unit_msrp
195394264197 652884 75150.00
190340921018 652884 70150.00
195394264159 652884 75150.00
190340921001 652884 70150.00
195394264739 770322 4560.00
195394371932 770322 4560.00
195394372113 770324 5472.00
195394372120 770324 5472.00
195394372304 770325 4864.00
brand currency language upc product_name season style_number category_id category gender color_code color_name size_1 size_2 unit_msrp image_url long_description final_image
76 USD en-us 195394376081 Womens Chaser 5" Short Fall 24 221465 1171 Apparel > Women > Running Bottoms Womens Washed Plum Washed Plum L 4864 https://www.brooksrunning.com/dw/image/v2/BGPF_PRD/on/demandware.static/-/Sites-brooks-master-catalog/default/dw235de395/original/221465/221465-516-lf-chaser-5-inch-short-womens-running-shorts.png Designed to eliminate distractions, these 5-inch women's running shorts blend just-right coverage with lightweight fabric for an effortless feel. The adjustable waistband and no-bounce pockets including phone-ready back packet seal the deal.
id created_at updated_at name
61 2014-05-23 13:05:45 2017-05-08 02:04:45 Moosejaw.com
62 2014-05-23 14:29:06 2021-08-10 12:24:59 Google.com
63 2014-05-28 19:59:21 2016-12-19 13:06:34 Rock/Creek
64 2014-05-29 07:14:04 2016-12-19 13:06:50 TravelCountry
65 2014-05-29 15:05:37 2016-12-19 13:06:46 MasseysOutfitters.com
66 2014-06-12 10:32:17 2016-12-19 13:06:20 Idaho Mountain Touring
67 2014-06-29 07:20:13 2016-12-19 13:06:47 Summit Hut
68 2014-07-01 09:27:24 2016-12-19 13:06:49 Denali
69 2014-07-07 15:17:24 2016-06-05 18:42:10 Tahoe Mountain Sports
Step #1 - "Build Frontend - /core/build/ NPM+Bower 8": Writing work/css/components/brand-partners.css...OK
Step #1 - "Build Frontend - /core/build/ NPM+Bower 8": Writing /core/build/work/css/components/brand-partners.css.map...OK
Step #1 - "Build Frontend - /core/build/ NPM+Bower 8": Writing work/css/components/pricing-calc.css...OK
Step #1 - "Build Frontend - /core/build/ NPM+Bower 8": Writing /core/build/work/css/components/pricing-calc.css.map...OK
Step #1 - "Build Frontend - /core/build/ NPM+Bower 8": >> Error: File to import not found or unreadable: ../../bower_components/normalize.scss/sass/_normalize
Step #1 - "Build Frontend - /core/build/ NPM+Bower 8": >> Parent style sheet: /core/build/scss/base/_base.scss
Step #1 - "Build Frontend - /core/build/ NPM+Bower 8": >> on line 3 of scss/base/_base.scss
Step #1 - "Build Frontend - /core/build/ NPM+Bower 8": >> >> @import '../../bower_components/normalize.scss/sass/_normalize';
Step #1 - "Build Frontend - /core/build/ NPM+Bower 8": >> ^
St