Gallery loading...
https://music.apple.com/us/album/eyes-closed/1711434525?i=1711434708
Use the link only for reference; given the uploaded screenshot, extract the song title and artist.
It should be obvious which song to detect because the screenshot should depict either a single song or in cases where there’s more than one song, use the song that is selected or playing.
Next, craft direct song URLs (not search links) and render them as clickable links for the following platforms: • Spotify • YouTube • SoundCloud
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
| const toString = Object.prototype.toString | |
| /** | |
| * Recursive list item concatenation. | |
| * | |
| * @param {Array} nested | |
| * Nested array. | |
| * | |
| * @param {Array} flat | |
| * Initial/Flattended array. |
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
| /** | |
| * Hat Tip: https://gist.github.com/victorquinn/8030190#gistcomment-1615901 | |
| */ | |
| 'use strict' | |
| var Promise = require('bluebird') | |
| var times = 0 | |
| function promiseWhile (predicate, action) { |
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
| 'use strict' | |
| const assert = require('assert') | |
| function words (text) { | |
| return text.split(/\s+/) | |
| } | |
| function reverse (list) { | |
| return list.reverse() |
⪼ Made with 💜 by Polyglot.
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
| #!/usr/bin/env bash | |
| # bucket name | |
| BUCKET_NAME="TARGET-BUCKET-HERE" | |
| # create bucket (idempotent) | |
| s3cmd mb s3://$BUCKET_NAME | |
| # put index.html | |
| s3cmd put --acl-public index.html s3://$BUCKET_NAME/index.html |
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
| {"expiration": "2015-01-01T00:00:00Z", | |
| "conditions": [ | |
| {"bucket": "filemanager-curl"}, | |
| ["starts-with", "$key", ""], | |
| {"acl": "public-read"}, | |
| ["starts-with", "$Content-Type", ""], | |
| ["content-length-range", 0, 1048576] | |
| ] | |
| } |
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
| { | |
| "StorageClass": "STANDARD", | |
| "LastModified": "2012-01-29T00:39:56.000Z", | |
| "Owner": { | |
| "DisplayName": "root+customerassets", | |
| "ID": "c84f7ff82a000e3b0670cb3ae678182d91f0f83e59bc11e90ce734862dbf482c" | |
| }, | |
| "ETag": "\"f7106b9a8942697c67342caef1548a8c\"", | |
| "Size": "24349", | |
| "Headers": { |
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
| <style id="jsbin-css"> | |
| body { | |
| background-color: #ffffff; | |
| } | |
| </style> | |
| <meta name="description" content="ES6-driven Sequence Diagram Editor" /> | |
| <body> | |
| <div id="output"></div> | |
| <script src="http://google.github.io/traceur-compiler/bin/traceur.js"></script> | |
| <script src="http://google.github.io/traceur-compiler/src/bootstrap.js"></script> |
NewerOlder