Skip to content

Instantly share code, notes, and snippets.

@phileasthefogg
phileasthefogg / installCassMacUbuntu.txt
Created July 10, 2020 00:37 — forked from dhkaneda/installCassMacUbuntu.txt
Cassandra Mac OS X + Ubuntu 18.40 Installation (04-04-2020)
------------------------------------------------------------------------
Contents
1. Install Cassandra on Mac OS X (tested with Mojave) - line 6
2. Install Cassandra on Ubuntu (18.04, tested on 19.10) - line 31
----- Installing Cassandra on Mac OS X (mojave) (est time. 15 min) -----
Have homebrew installed:
> ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
[ be sure to check post install messages to add paths and such if necessary ]
adidas=# SELECT * FROM products where product_id = 2500002;
product_id | adidas_id | product_name | collection_name | review_count | review_average
------------+-----------+--------------+-----------------+--------------+----------------
2500002 | PERF003 | NMD_R1 SHOES | ORIGINALS | 1023 | 4.12
adidas=# select * from colors where product_id = 2500002;
color_id | product_id | color_name | color_url | list_price | sale_price
----------+------------+-----------------------------------------+--------------------------------------------------------------+------------+------------
9275008 | 2500002 | GLORY BLUE / ORBIT GREY / GOLD METALLIC | https://www.adidas.com/us/matchbreak-super-shoes/EG2727.html | 130.00 | 110.00
@phileasthefogg
phileasthefogg / sampleData
Created May 2, 2020 19:33
Sample data returned from api call
[
{
"id": 1,
"name": "test",
"imgurl": "https://fec-fourloop-looks.s3-us-west-1.amazonaws.com/Footwear/bfa5f26f-acbe-4352-a285-e9ddb3b7d558.jpeg",
"type": "footwear",
"rating": "5.00",
"brand": "Nike",
"price": "55.12",
"description": "cool shoes",
@phileasthefogg
phileasthefogg / .gitignore
Created February 12, 2020 05:51 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #