Skip to content

Instantly share code, notes, and snippets.

@coreyar
coreyar / keybase.md
Created November 17, 2021 01:45
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@coreyar
coreyar / crank-live-api.md
Last active September 15, 2018 21:40
API Documentation for the Crank Live Api

Realtime Airplay

http://crankdev1.cranklive.com/ http://crankdev1.cranklive.com/losangeles.html

This page displays real-time airplay by station call letters, artist, label, title, date and time. If it displays a genre like 'Pop Hits" or "Alternative" those are Music Choice channels as they are broadcast nationally.

(These feeds are captured directly from the over the air source and not internet monitored in order to provide 99.9% accuracy)

Historical Airplay

@coreyar
coreyar / RAI_API.md
Last active September 15, 2018 21:41
Nashville Music Hackathon RAI Api information

Bearer Token

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXBlIjoiZXh0ZXJuYWwiLCJhY2NvdW50SWQiOiI1Yjk5M2QxMDA0YmJhZDJlMjU4YjMyNTAiLCJzZXNzaW9uSWQiOiJhMDEzNzA3Mi0wZDFiLTQ4ZWEtODNlMy01YWVmMDkzNzc3NzQiLCJpYXQiOjE1MzY3NjkzMjQsImV4cCI6MTUzNzM3NDEyNH0.eDoL4cATx__N5pP-s4BlrsYsbn8PtQl0MWVBYr_yapk

Docs

The RAI API has two endpoints Parse and Resolve. RAI documentation

Name of thing Sorta like... Mounted? Can you even setState? What would you say... ya do here?
constructor(props) initialize() nope nope init stuff NO side effects
componentWillMount() beforeDomReady() nope yeah but don't Only needed in createClass now use constructor for most things
render render nope please no render stuff and don't set any state please
componentDidMount() domReady() yup yup DOM is a go init jQuery plugins dis