Skip to content

Instantly share code, notes, and snippets.

View scriptmediala's full-sized avatar

Script Media LA scriptmediala

View GitHub Profile
@scriptmediala
scriptmediala / fb-likes-plugin.html
Last active August 29, 2015 14:26
SC Social Login-Likes API
<p>Thank You Page</p>
<a href="https://zi261.infusionsoft.com/app/form/success/0dac7ef79400d40fedb97f347ac4b49d/21767/70166e679638b97caa46959d1401ca7e"></a>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.4&appId=1685702468332373";
fjs.parentNode.insertBefore(js, fjs);
function throttle( fn, time ) {
var t = 0;
return function() {
var args = arguments, ctx = this;
clearTimeout(t);
t = setTimeout( function() {
fn.apply( ctx, args );
}, time );
};
@scriptmediala
scriptmediala / 0_reuse_code.js
Last active August 29, 2015 14:25
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<h2>Speak to an expert button - Click to call</h2>
<a href="tel:+1 866-885-8310" class="btn btn-default btn-lg"><i class="fa fa-mobile-phone"></i> <span class="network-name">Speak with Someone Now</span></a>
<h2>eFile</h2>
<a href="https://smallclaim.com/small-claim-1/" class="btn btn-default btn-lg"><i class="fa fa-list-ol"></i> <span class="network-name">eFile in 15 min.</span></a>
<h2>Schedule a Call</h2>
<a href="http://bit.ly/schedulewithmikek" class="btn btn-default btn-lg"><i class="fa fa-calendar"></i> <span class="network-name">Schedule a Call</span></a>
<h2>Formspree.io HTML</h2>
<form action="//formspree.io/malak@scriptmedia.biz"
method="POST">