Skip to content

Instantly share code, notes, and snippets.

View jonathanheron's full-sized avatar

Jonathan Heron jonathanheron

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
<script>
$( document ).ready(function(){
$('#play-animation').click(function(){
$('li.me').addClass("after-winning");
/* Generated with Bounce.js. Edit at http://goo.gl/7BCwkk */
@-webkit-keyframes after-winning {
0% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 200, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 200, 0, 1); }
0.833333% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.86177, 0, 0, 0, 0, 1, 0, 0, 186.69773, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1.86177, 0, 0, 0, 0, 1, 0, 0, 186.69773, 0, 1); }
1.666667% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.7091, 0, 0, 0, 0, 1, 0, 0, 172.35495, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1.7091, 0, 0, 0, 0, 1, 0, 0, 172.35495, 0, 1); }
2.5% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.55326, 0, 0, 0, 0, 1, 0, 0, 157.29697, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1.55326, 0, 0, 0, 0, 1, 0, 0, 157.29697, 0, 1); }
3.333333% { -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1.40315, 0, 0, 0, 0, 1, 0, 0, 141.82046, 0, 1); transform: matrix3d(1, 0, 0, 0, 0, 1.40315, 0, 0, 0, 0, 1, 0, 0, 141.82046, 0, 1); }
4.166667% {
@jonathanheron
jonathanheron / gist:d67e935c46580c77426e
Created February 25, 2015 16:04
Acquire beta snippet
<script>
window.intercomSettings = {
app_id: "YOUR_APP_ID",
anonymous: true
};
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/YOUR_APP_ID';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
<script>
window.intercomSettings = {
app_id: "82bbbee40efa49b2f126fc1e9a2a5ffe3012e5c7",
anonymous: true
};
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/82bbbee40efa49b2f126fc1e9a2a5ffe3012e5c7';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
<script>
window.intercomSettings = {
app_id: "glex810k",
anonymous: true
};
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/glex810k';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
<script>
window.intercomSettings = {
app_id: "qzmznrk2",
anonymous: true
};
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/qzmznrk2';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
<script>
window.intercomSettings = {
app_id: "awkcmpns",
anonymous: true
};
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/awkcmpns';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
<script>
window.intercomSettings = {
app_id: "kzlr5f7u",
anonymous: true
};
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/kzlr5f7u';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
<script>
window.intercomSettings = {
app_id: "1cvdtutv",
anonymous: true
};
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/1cvdtutv';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
<script>
window.intercomSettings = {
app_id: "vegqi3o2",
anonymous: true
};
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/vegqi3o2';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>