Skip to content

Instantly share code, notes, and snippets.

View coston's full-sized avatar
✌️
Limited availability

Coston Perkins coston

✌️
Limited availability
View GitHub Profile
@coston
coston / 2022-03-25.md
Created March 25, 2022 17:36
2022-03-25

‎‎​

@coston
coston / keybase.md
Created June 20, 2019 11:43
Keybase

Keybase proof

I hereby claim:

  • I am coston on github.
  • I am coston (https://keybase.io/coston) on keybase.
  • I have a public key ASBhOTXJHlEJYIdccQi_M9MLSFPhIY9nQaO6tQfNrnJ7xwo

To claim this, I am signing this object:

@coston
coston / data-structure.md
Last active May 4, 2018 18:48
Sankey Demo Data Flow

Data structure:

{
  "nodes": [{
      "id": {string|number},
      "color": {optional color spec}
    }
  ],
 "links": [{
@coston
coston / pricealert.8h.js
Created December 14, 2016 14:44
Web scraper with toolbar integration to display if AirPods are available. Built with Bitbar and Nightmare.js.
#!/usr/bin/env /usr/local/bin/node
const bitbar = require('bitbar');
const Nightmare = require('nightmare');
const nightmare = Nightmare({ show: false })
nightmare
.goto('http://www.apple.com/shop/product/MMEF2AM/A/airpods')
.wait('.as-purchaseinfo-dudeinfo-deliverymsg')
.evaluate(() => document.querySelector('.as-purchaseinfo-dudeinfo-deliverymsg').innerText)