Skip to content

Instantly share code, notes, and snippets.

View ozke's full-sized avatar

Miquel Lopez ozke

  • Barcelona
  • 12:15 (UTC +02:00)
  • X @ozke
View GitHub Profile
@ozke
ozke / Social URLs
Last active December 22, 2015 14:39 — forked from Usse/socialEU.js
****TWITTER****
https://twitter.com/intent/tweet?text=[TEXT]
****FACEBOOK****
http://www.facebook.com/sharer.php?u=[URL]
****GOOGLE PLUS****
https://plus.google.com/share?url=[URL]
****PINTEREST****
@ozke
ozke / rAF.js
Last active December 20, 2015 22:59 — forked from paulirish/rAF.js
Paul Irish rAF.js (requestAnimationFrame) with a couple of tweaks to avoid complaining from JSHint
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];