Skip to content

Instantly share code, notes, and snippets.

View andrewdunbar's full-sized avatar

Andrew Dunbar andrewdunbar

  • Shopify
  • Ottawa, ON
View GitHub Profile
@andrewdunbar
andrewdunbar / 0_reuse_code.js
Created October 21, 2015 15:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

Keybase proof

I hereby claim:

  • I am andrewdunbar on github.
  • I am andrewdunbar (https://keybase.io/andrewdunbar) on keybase.
  • I have a public key whose fingerprint is 0DA9 E6ED D59C 434A F59A AE86 DBD2 1394 B74A EC1F

To claim this, I am signing this object:

Shopify makes every effort to be transparent with our customers when it comes
to policy documents and terms of service, however at times this is not an easy
task. Terms of Service documents become very technical very quickly, so we
strive to annotate each section of these documents with plain-language
sentences that summarize the spirit of the section in a way that is easy
to read. Taking a look through some of our posted policies you can see examples
of this in action, e.g. http://www.shopify.com/legal/terms
One document that lacks these plain-language summaries is the Terms of Service
for our newly-launched payment gateway Shopify Payments. Our compliance
If you think you're up to the challenge, we've created two case studies
to test your aptitude at detecting fraudulent activity in online orders.
Below are two shops with 5 orders each. Your challenge is to identify
fraudulent activity in the shops.
Feel free to use anything you can think of to gain insight into these
situations, including any free lookup tools you can find.
To help you out, we've signed up with our friends at Maxmind for a
@andrewdunbar
andrewdunbar / gist:6442457
Created September 4, 2013 20:31
DMShirts
Shop Info
DMshirts.com
Signup IP: 197.130.42.13
Location: El Jadida, Morocco
Address: Rue Mikhaël Nouaïma, lot El Qods. El Jadida 24000+212 661-172608
URL: dmshirts.com
Order #1
Order Value: 411MAD
Shop Info:
Signup IP: 108.12.61.24
Location: Syracuse, NY
Address: 261 Webster Ave, Apt 16B, Syracuse, NY, 13205
URL: top-jazz-fusion-beats.myshopify.com
Order #1
Amount: $287USD
Credit card BIN: 540168
IP Address: 173.254.245.67