Skip to content

Instantly share code, notes, and snippets.

View nickdima's full-sized avatar

Nick Dima nickdima

  • musiXmatch
  • Bologna, Italy
View GitHub Profile
@nickdima
nickdima / dabblet.css
Created May 3, 2012 14:02
Futuristic Lyrics Card
/**
* 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;
<!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
$ npm test
> libspotify@0.2.1 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
@nickdima
nickdima / gist:8472248
Created January 17, 2014 11:55
grunt config for fixing sass source maps with grunt-text-replace plugin
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/"