This file contains hidden or 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
| # synchronously creates the directory at the given path, including all | |
| # intermediate directories, if it doesn't already exist. (like `mkdir -p`) | |
| mkdirpSync = (dir) -> | |
| # normalize and resolve path to an absolute one: | |
| # (path.resolve automatically uses the current directory if needed) | |
| dir = path.resolve path.normalize dir | |
| # try to create this directory: | |
| try |
This file contains hidden or 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
| h1 { | |
| font-size: 1.5em; | |
| font-weight: bold; | |
| margin: 1em 0; | |
| } | |
| h2 { | |
| font-size: 1.25em; | |
| margin: 1em 0; | |
| } |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>SoundCloud OAuth 2 User Agent Authentication Flow Demo</title> | |
| <script type="text/javascript" charset="utf-8" src="javascript/jquery-1.4.2.js"></script> | |
| <script type="text/javascript" charset="utf-8"> | |
| $(function () { | |
| var extractToken = function(hash) { |
NewerOlder