Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Dima nickdima

  • musiXmatch
  • Bologna, Italy
View GitHub Profile
View gist:2584408
{
"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,
@nickdima
nickdima / dabblet.css
Created Apr 22, 2012
Lights Lyrics Card
View dabblet.css
/**
* 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;
View gist:1779508
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);
View syncatore_events.js
// 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) {});