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
// Event that triggers as soon as the user syncs the first line. | |
// It will send the id of the track (subtitle). | |
syncatore.app.bind('onSyncStarted', function(id) {}); | |
// Event that triggers as soon as the user has finished syncing all the lines and reached the last line. | |
// The data object sent has two properties: id and lyrics (the JSON object of the synced lyrics) | |
syncatore.app.bind('onSyncFinished', function(data) {}); |
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
javascript: function setCookie(c_name,value,exdays){var exdate=new Date();exdate.setDate(exdate.getDate()+exdays);var c_value=escape(value)+((exdays==null)?"":"; expires="+exdate.toUTCString());document.cookie=c_name+"="+c_value}setCookie('x-mxm-backend','i-1aa4f477',1);setCookie('x-mxm-bypass-webcache','1',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
/** | |
* Lights Lyrics Card | |
*/ | |
@import url(http://fonts.googleapis.com/css?family=Codystar|Oleo+Script|Audiowide&subset=latin,latin-ext); | |
p.retro { | |
font-family: 'Codystar', cursive; | |
font-size: 3em; | |
line-height: 1.7em; |
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
{ | |
"metadata": { | |
"video_id": 40424, | |
"video_title": "Making Mirrors", | |
"video_artist": "Gotye", | |
"video_identifier": "rJOsjP33nF4", | |
"video_source": "1", | |
"video_url": "http://www.youtube.com/watch?v:L_fCdmvlsaI", | |
"subtitle_id": 11850, | |
"lyrics_id": 6471529, |
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
{ | |
"metadata": { | |
"track_id": 15953431, | |
"track_mbid": "29e201c3-5ca0-4391-a0a1-9ccd91722701", | |
"track_length": 61, | |
"lyrics_id": 7173301, | |
"instrumental": 0, | |
"subtitle_id": 28358, | |
"track_name": "Making Mirrors", | |
"track_rating": 100, |
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
/** | |
* Futuristic Lyrics Card | |
*/ | |
@import url(http://fonts.googleapis.com/css?family=Codystar|Oleo+Script|Audiowide&subset=latin,latin-ext); | |
p.retro { | |
font-family: 'Codystar', cursive; | |
font-size: 3em; | |
line-height: 1.7em; |
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
<!DOCTYPE html> | |
<html lang="en" dir="ltr" > | |
<head> | |
<script> | |
var yt = yt || {};yt.timing = yt.timing || {};yt.timing.tick = function(label, opt_time) {var timer = yt.timing['timer'] || {};if(opt_time) {timer[label] = opt_time;}else {timer[label] = new Date().getTime();}yt.timing['timer'] = timer;};yt.timing.info = function(label, value) {var info_args = yt.timing['info_args'] || {};info_args[label] = value;yt.timing['info_args'] = info_args;};yt.timing.info('e', "902522,927104,922401,920704,912806,927201,913546,913556,925109,919003,912706,900816");yt.timing.wff = true;yt.timing.info('pr', "1");yt.timing.info('an', "dclk,aftv,afv");if (document.webkitVisibilityState == 'prerender') {document.addEventListener('webkitvisibilitychange', function() {yt.timing.tick('start');}, false);}yt.timing.tick('start');yt.timing.info('li','1');try {yt.timing['srt'] = window.gtbExternal && window.gtbExternal.pageT() ||window.external && window.external.pageT;} catch(e) {}if (window.chrome && window.chrome.csi) {yt.tim |
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
$ npm test | |
> [email protected] pretest /Users/Nick/spotitest/node_modules/libspotify | |
> rm -rf /tmp/node-libspotify 2>/dev/null ; node-gyp clean >/dev/null && node-gyp configure --debug >/dev/null && node-gyp build >/dev/null | |
In file included from ../src/album.cc:20: | |
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations] | |
object->SetPointerInInternalField(0, this); | |
^ | |
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here |
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
replace: | |
cssmap: | |
src: ["tmp/css/app.css.map"] | |
dest: "public/css/" | |
replacements: [ | |
from: "\"file\": \"app.scss\"" | |
to: "\"file\": \"app.css\"" | |
, | |
from: "app/" | |
to: "#{__dirname}/app/" |
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
{ | |
"movies": [ | |
{ | |
"title": "Spider-Man", | |
"year": "2002", | |
"poster": "http://ia.media-imdb.com/images/M/MV5BMzk3MTE5MDU5NV5BMl5BanBnXkFtZTYwMjY3NTY3._V1_SX32_CR0,0,32,44_.jpg" | |
}, | |
{ | |
"title": "The Amazing Spider-Man 2", | |
"year": "2014", |
OlderNewer