This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var displayError = function(err) { | |
logMe("Error: "+err); | |
}; | |
var displayResult = function(result) { | |
logMe("Result: " + JSON.stringify(result)); | |
}; | |
var registeredUser = function(registerResult) { | |
logMe('Created user '+APP_USERNAME); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "rdioFavs", | |
"version": "0.0.1", | |
"description": "Play a Salesforce Contact's favorite music on a Sonos", | |
"main": "server.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "Matt Welch", | |
"license": "ISC", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page showHeader="false" sidebar="false" docType="html-5.0" applyHtmlTag="false" applyBodyTag="false" standardController="Contact"> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/> | |
<apex:stylesheet value="{!URLFOR($Resource.OneStarter,'icons.css')}"/> | |
<apex:stylesheet value="{!URLFOR($Resource.OneStarter,'styles.css')}"/> | |
<apex:stylesheet value="{!URLFOR($Resource.OneStarter,'OneStarter.css')}"/> | |
<!-- We need these so we can create our auth hash for the OAuth1.0a for the Rdio API --> | |
<script src="https://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/hmac-sha1.js"></script> |