- /m/04rlf Music
- /m/05fw6t Children's music
- /m/02mscn Christian music
- /m/0ggq0m Classical music
- /m/01lyv Country
- /m/02lkt Electronic music
- /m/0glt670 Hip hop music
- /m/05rwpb Independent music
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
import boto.mturk.connection | |
sandbox_host = 'mechanicalturk.sandbox.amazonaws.com' | |
real_host = 'mechanicalturk.amazonaws.com' | |
mturk = boto.mturk.connection.MTurkConnection( | |
aws_access_key_id = 'XXX', | |
aws_secret_access_key = 'XXX', | |
host = sandbox_host, | |
debug = 1 # debug = 2 prints out all requests. but we'll just keep it at 1 |
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
/** | |
* Based on work from krasimirtsonev | |
* | |
* http://krasimirtsonev.com/blog/article/csssteal-chrome-extension-that-extracts-css | |
*/ | |
// helper function for transforming | |
// node.children to Array | |
function toArray (obj, ignoreFalsy) { | |
var arr = [], i; |