Skip to content

Instantly share code, notes, and snippets.

View macisi's full-sized avatar
🏠
Working from home

Ryan macisi

🏠
Working from home
View GitHub Profile
@macisi
macisi / base64.js
Created January 23, 2014 03:09 — forked from stubbetje/base64.js
var Base64 = {
characters: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=" ,
encode: function( string )
{
var characters = Base64.characters;
var result = '';
var i = 0;
do {
@macisi
macisi / rAF.js
Created July 27, 2013 13:06 — forked from paulirish/rAF.js
// 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'];