Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 4163a22d273bedc5cbe5366ec01c51a9ef43acd0 @podviaznikov committed Jun 25, 2011
Showing with 22,632 additions and 0 deletions.
  1. +16 −0 README.md
  2. +15 −0 lib/soundcloud.js
  3. +11 −0 lib/tester.js
  4. +1 −0 node_modules/.bin/express
  5. +7 −0 node_modules/express/.npmignore
  6. +689 −0 node_modules/express/History.md
  7. +22 −0 node_modules/express/LICENSE
  8. +35 −0 node_modules/express/Makefile
  9. +143 −0 node_modules/express/Readme.md
  10. +419 −0 node_modules/express/bin/express
  11. +2 −0 node_modules/express/index.js
  12. +79 −0 node_modules/express/lib/express.js
  13. +524 −0 node_modules/express/lib/http.js
  14. +52 −0 node_modules/express/lib/https.js
  15. +309 −0 node_modules/express/lib/request.js
  16. +422 −0 node_modules/express/lib/response.js
  17. +53 −0 node_modules/express/lib/router/collection.js
  18. +383 −0 node_modules/express/lib/router/index.js
  19. +70 −0 node_modules/express/lib/router/methods.js
  20. +85 −0 node_modules/express/lib/router/route.js
  21. +139 −0 node_modules/express/lib/utils.js
  22. +460 −0 node_modules/express/lib/view.js
  23. +40 −0 node_modules/express/lib/view/partial.js
  24. +209 −0 node_modules/express/lib/view/view.js
  25. +11 −0 node_modules/express/node_modules/connect/.npmignore
  26. +24 −0 node_modules/express/node_modules/connect/LICENSE
  27. +2 −0 node_modules/express/node_modules/connect/index.js
  28. +106 −0 node_modules/express/node_modules/connect/lib/connect.js
  29. +218 −0 node_modules/express/node_modules/connect/lib/http.js
  30. +47 −0 node_modules/express/node_modules/connect/lib/https.js
  31. +43 −0 node_modules/express/node_modules/connect/lib/index.js
  32. +93 −0 node_modules/express/node_modules/connect/lib/middleware/basicAuth.js
  33. +92 −0 node_modules/express/node_modules/connect/lib/middleware/bodyParser.js
  34. +163 −0 node_modules/express/node_modules/connect/lib/middleware/compiler.js
  35. +46 −0 node_modules/express/node_modules/connect/lib/middleware/cookieParser.js
  36. +200 −0 node_modules/express/node_modules/connect/lib/middleware/directory.js
  37. +100 −0 node_modules/express/node_modules/connect/lib/middleware/errorHandler.js
  38. +76 −0 node_modules/express/node_modules/connect/lib/middleware/favicon.js
  39. +78 −0 node_modules/express/node_modules/connect/lib/middleware/limit.js
  40. +169 −0 node_modules/express/node_modules/connect/lib/middleware/logger.js
  41. +38 −0 node_modules/express/node_modules/connect/lib/middleware/methodOverride.js
  42. +100 −0 node_modules/express/node_modules/connect/lib/middleware/profiler.js
  43. +40 −0 node_modules/express/node_modules/connect/lib/middleware/query.js
  44. +34 −0 node_modules/express/node_modules/connect/lib/middleware/responseTime.js
  45. +379 −0 node_modules/express/node_modules/connect/lib/middleware/router.js
  46. +345 −0 node_modules/express/node_modules/connect/lib/middleware/session.js
  47. +126 −0 node_modules/express/node_modules/connect/lib/middleware/session/cookie.js
  48. +131 −0 node_modules/express/node_modules/connect/lib/middleware/session/memory.js
  49. +137 −0 node_modules/express/node_modules/connect/lib/middleware/session/session.js
  50. +59 −0 node_modules/express/node_modules/connect/lib/middleware/session/store.js
  51. +209 −0 node_modules/express/node_modules/connect/lib/middleware/static.js
  52. +44 −0 node_modules/express/node_modules/connect/lib/middleware/vhost.js
  53. +51 −0 node_modules/express/node_modules/connect/lib/patch.js
  54. +75 −0 node_modules/express/node_modules/connect/lib/public/directory.html
  55. +13 −0 node_modules/express/node_modules/connect/lib/public/error.html
  56. BIN node_modules/express/node_modules/connect/lib/public/favicon.ico
  57. BIN node_modules/express/node_modules/connect/lib/public/icons/page.png
  58. BIN node_modules/express/node_modules/connect/lib/public/icons/page_add.png
  59. BIN node_modules/express/node_modules/connect/lib/public/icons/page_attach.png
  60. BIN node_modules/express/node_modules/connect/lib/public/icons/page_code.png
  61. BIN node_modules/express/node_modules/connect/lib/public/icons/page_copy.png
  62. BIN node_modules/express/node_modules/connect/lib/public/icons/page_delete.png
  63. BIN node_modules/express/node_modules/connect/lib/public/icons/page_edit.png
  64. BIN node_modules/express/node_modules/connect/lib/public/icons/page_error.png
  65. BIN node_modules/express/node_modules/connect/lib/public/icons/page_excel.png
  66. BIN node_modules/express/node_modules/connect/lib/public/icons/page_find.png
  67. BIN node_modules/express/node_modules/connect/lib/public/icons/page_gear.png
  68. BIN node_modules/express/node_modules/connect/lib/public/icons/page_go.png
  69. BIN node_modules/express/node_modules/connect/lib/public/icons/page_green.png
  70. BIN node_modules/express/node_modules/connect/lib/public/icons/page_key.png
  71. BIN node_modules/express/node_modules/connect/lib/public/icons/page_lightning.png
  72. BIN node_modules/express/node_modules/connect/lib/public/icons/page_link.png
  73. BIN node_modules/express/node_modules/connect/lib/public/icons/page_paintbrush.png
  74. BIN node_modules/express/node_modules/connect/lib/public/icons/page_paste.png
  75. BIN node_modules/express/node_modules/connect/lib/public/icons/page_red.png
  76. BIN node_modules/express/node_modules/connect/lib/public/icons/page_refresh.png
  77. BIN node_modules/express/node_modules/connect/lib/public/icons/page_save.png
  78. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white.png
  79. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_acrobat.png
  80. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_actionscript.png
  81. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_add.png
  82. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_c.png
  83. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_camera.png
  84. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_cd.png
  85. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_code.png
  86. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_code_red.png
  87. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_coldfusion.png
  88. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_compressed.png
  89. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_copy.png
  90. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_cplusplus.png
  91. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_csharp.png
  92. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_cup.png
  93. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_database.png
  94. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_delete.png
  95. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_dvd.png
  96. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_edit.png
  97. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_error.png
  98. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_excel.png
  99. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_find.png
  100. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_flash.png
  101. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_freehand.png
  102. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_gear.png
  103. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_get.png
  104. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_go.png
  105. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_h.png
  106. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_horizontal.png
  107. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_key.png
  108. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_lightning.png
  109. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_link.png
  110. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_magnify.png
  111. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_medal.png
  112. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_office.png
  113. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_paint.png
  114. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_paintbrush.png
  115. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_paste.png
  116. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_php.png
  117. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_picture.png
  118. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_powerpoint.png
  119. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_put.png
  120. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_ruby.png
  121. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_stack.png
  122. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_star.png
  123. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_swoosh.png
  124. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_text.png
  125. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_text_width.png
  126. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_tux.png
  127. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_vector.png
  128. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_visualstudio.png
  129. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_width.png
  130. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_word.png
  131. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_world.png
  132. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_wrench.png
  133. BIN node_modules/express/node_modules/connect/lib/public/icons/page_white_zip.png
  134. BIN node_modules/express/node_modules/connect/lib/public/icons/page_word.png
  135. BIN node_modules/express/node_modules/connect/lib/public/icons/page_world.png
  136. +141 −0 node_modules/express/node_modules/connect/lib/public/style.css
  137. +420 −0 node_modules/express/node_modules/connect/lib/utils.js
  138. +1 −0 node_modules/express/node_modules/connect/meta.json
  139. +19 −0 node_modules/express/node_modules/connect/node_modules/mime/LICENSE
  140. +54 −0 node_modules/express/node_modules/connect/node_modules/mime/README.md
  141. +1 −0 node_modules/express/node_modules/connect/node_modules/mime/index.js
  142. +89 −0 node_modules/express/node_modules/connect/node_modules/mime/mime.js
  143. +1,479 −0 node_modules/express/node_modules/connect/node_modules/mime/mime.types
  144. +7 −0 node_modules/express/node_modules/connect/node_modules/mime/node.types
  145. +11 −0 node_modules/express/node_modules/connect/node_modules/mime/package.json
  146. +74 −0 node_modules/express/node_modules/connect/node_modules/mime/test.js
  147. +6 −0 node_modules/express/node_modules/connect/node_modules/qs/.gitmodules
  148. +36 −0 node_modules/express/node_modules/connect/node_modules/qs/History.md
  149. +7 −0 node_modules/express/node_modules/connect/node_modules/qs/Makefile
  150. +38 −0 node_modules/express/node_modules/connect/node_modules/qs/Readme.md
  151. +32 −0 node_modules/express/node_modules/connect/node_modules/qs/benchmark.js
  152. +39 −0 node_modules/express/node_modules/connect/node_modules/qs/examples.js
  153. +2 −0 node_modules/express/node_modules/connect/node_modules/qs/index.js
  154. +123 −0 node_modules/express/node_modules/connect/node_modules/qs/lib/querystring.js
  155. +9 −0 node_modules/express/node_modules/connect/node_modules/qs/package.json
  156. +3 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/.gitignore
  157. +3 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/.gitmodules
  158. +128 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/History.md
  159. +53 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/Makefile
  160. +61 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/Readme.md
  161. +856 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/bin/expresso
  162. +1,080 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/docs/api.html
  163. +377 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/docs/index.html
  164. +290 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/docs/index.md
  165. +3 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/docs/layout/foot.html
  166. +42 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/docs/layout/head.html
  167. +4 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/lib/bar.js
  168. +16 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/lib/foo.js
  169. +12 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/package.json
  170. +91 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/test/assert.test.js
  171. +12 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/test/async.test.js
  172. +13 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/test/bar.test.js
  173. +14 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/test/foo.test.js
  174. +146 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/test/http.test.js
  175. +39 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/test/serial/async.test.js
  176. +48 −0 node_modules/express/node_modules/connect/node_modules/qs/support/expresso/test/serial/http.test.js
  177. +3 −0 node_modules/express/node_modules/connect/node_modules/qs/support/should/.gitmodules
  178. +22 −0 node_modules/express/node_modules/connect/node_modules/qs/support/should/History.md
  179. +6 −0 node_modules/express/node_modules/connect/node_modules/qs/support/should/Makefile
  180. +248 −0 node_modules/express/node_modules/connect/node_modules/qs/support/should/Readme.md
  181. +53 −0 node_modules/express/node_modules/connect/node_modules/qs/support/should/examples/runner.js
  182. +2 −0 node_modules/express/node_modules/connect/node_modules/qs/support/should/index.js
  183. +91 −0 node_modules/express/node_modules/connect/node_modules/qs/support/should/lib/eql.js
  184. +548 −0 node_modules/express/node_modules/connect/node_modules/qs/support/should/lib/should.js
  185. +8 −0 node_modules/express/node_modules/connect/node_modules/qs/support/should/package.json
  186. +358 −0 node_modules/express/node_modules/connect/node_modules/qs/support/should/test/should.test.js
  187. +133 −0 node_modules/express/node_modules/connect/node_modules/qs/test/querystring.test.js
  188. +24 −0 node_modules/express/node_modules/connect/package.json
  189. +19 −0 node_modules/express/node_modules/mime/LICENSE
  190. +54 −0 node_modules/express/node_modules/mime/README.md
  191. +1 −0 node_modules/express/node_modules/mime/index.js
  192. +89 −0 node_modules/express/node_modules/mime/mime.js
  193. +1,479 −0 node_modules/express/node_modules/mime/mime.types
  194. +7 −0 node_modules/express/node_modules/mime/node.types
  195. +11 −0 node_modules/express/node_modules/mime/package.json
  196. +74 −0 node_modules/express/node_modules/mime/test.js
  197. +6 −0 node_modules/express/node_modules/qs/.gitmodules
  198. +36 −0 node_modules/express/node_modules/qs/History.md
  199. +7 −0 node_modules/express/node_modules/qs/Makefile
  200. +38 −0 node_modules/express/node_modules/qs/Readme.md
  201. +32 −0 node_modules/express/node_modules/qs/benchmark.js
  202. +39 −0 node_modules/express/node_modules/qs/examples.js
  203. +2 −0 node_modules/express/node_modules/qs/index.js
  204. +123 −0 node_modules/express/node_modules/qs/lib/querystring.js
  205. +9 −0 node_modules/express/node_modules/qs/package.json
  206. +3 −0 node_modules/express/node_modules/qs/support/expresso/.gitignore
  207. +3 −0 node_modules/express/node_modules/qs/support/expresso/.gitmodules
  208. +128 −0 node_modules/express/node_modules/qs/support/expresso/History.md
  209. +53 −0 node_modules/express/node_modules/qs/support/expresso/Makefile
  210. +61 −0 node_modules/express/node_modules/qs/support/expresso/Readme.md
  211. +856 −0 node_modules/express/node_modules/qs/support/expresso/bin/expresso
  212. +1,080 −0 node_modules/express/node_modules/qs/support/expresso/docs/api.html
  213. +377 −0 node_modules/express/node_modules/qs/support/expresso/docs/index.html
  214. +290 −0 node_modules/express/node_modules/qs/support/expresso/docs/index.md
  215. +3 −0 node_modules/express/node_modules/qs/support/expresso/docs/layout/foot.html
  216. +42 −0 node_modules/express/node_modules/qs/support/expresso/docs/layout/head.html
  217. +4 −0 node_modules/express/node_modules/qs/support/expresso/lib/bar.js
  218. +16 −0 node_modules/express/node_modules/qs/support/expresso/lib/foo.js
  219. +12 −0 node_modules/express/node_modules/qs/support/expresso/package.json
  220. +91 −0 node_modules/express/node_modules/qs/support/expresso/test/assert.test.js
  221. +12 −0 node_modules/express/node_modules/qs/support/expresso/test/async.test.js
  222. +13 −0 node_modules/express/node_modules/qs/support/expresso/test/bar.test.js
  223. +14 −0 node_modules/express/node_modules/qs/support/expresso/test/foo.test.js
  224. +146 −0 node_modules/express/node_modules/qs/support/expresso/test/http.test.js
  225. +39 −0 node_modules/express/node_modules/qs/support/expresso/test/serial/async.test.js
  226. +48 −0 node_modules/express/node_modules/qs/support/expresso/test/serial/http.test.js
  227. +3 −0 node_modules/express/node_modules/qs/support/should/.gitmodules
  228. +22 −0 node_modules/express/node_modules/qs/support/should/History.md
  229. +6 −0 node_modules/express/node_modules/qs/support/should/Makefile
  230. +248 −0 node_modules/express/node_modules/qs/support/should/Readme.md
  231. +53 −0 node_modules/express/node_modules/qs/support/should/examples/runner.js
  232. +2 −0 node_modules/express/node_modules/qs/support/should/index.js
  233. +91 −0 node_modules/express/node_modules/qs/support/should/lib/eql.js
  234. +548 −0 node_modules/express/node_modules/qs/support/should/lib/should.js
  235. +8 −0 node_modules/express/node_modules/qs/support/should/package.json
  236. +358 −0 node_modules/express/node_modules/qs/support/should/test/should.test.js
  237. +133 −0 node_modules/express/node_modules/qs/test/querystring.test.js
  238. +38 −0 node_modules/express/package.json
  239. +20 −0 node_modules/restler/MIT-LICENSE
  240. +147 −0 node_modules/restler/README.md
  241. +23 −0 node_modules/restler/bin/restler
  242. +1 −0 node_modules/restler/index.js
  243. +202 −0 node_modules/restler/lib/multipartform.js
  244. +300 −0 node_modules/restler/lib/restler.js
  245. +10 −0 node_modules/restler/package.json
  246. +1 −0 node_modules/restler/test/all.js
  247. +148 −0 node_modules/restler/test/restler.js
  248. +144 −0 node_modules/restler/test/test_helper.js
@@ -0,0 +1,16 @@
+# soundcloud
+
+Node.js API client for soundcloudn platform.
+
+
+## License
+
+(The MIT License)
+
+Copyright (c) 2011 Enginimation Studio (http://enginimation.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,15 @@
+var util=require('util'),
+ rest=require('restler'),
+ baseURL='https://api.soundcloud.com',
+ cloudsound=exports;
+
+cloudsound.saveOauthToken=function(token){
+ this.oauth_token=token;
+};
+
+cloudsound.me=function(callback){
+ rest.get(baseURL+'/me.json?oauth_token='+this.oauth_token).on('complete',callback) ;
+};
+
+
+
@@ -0,0 +1,11 @@
+var util=require('util'),
+ cloudsound=require('./soundcloud'),
+ express=require('express'),
+ app=express.createServer();
+cloudsound.saveOauthToken('40bfd2a3e6cf54515d6da428c1dd4d6a');
+cloudsound.me(function(data) {
+ util.log(util.inspect(data));
+});
+
+app.listen(process.env.C9_PORT);
+util.log('started app');

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 4163a22

Please sign in to comment.