Skip to content

Instantly share code, notes, and snippets.

View jamigibbs's full-sized avatar

Jami Gibbs jamigibbs

View GitHub Profile
"use strict";
/* A version number is useful when updating the worker logic,
allowing you to remove outdated cache entries during the update.
*/
var version = 'v1::';
/* These resources will be downloaded and cached by the service worker
during the installation process. If any resource fails to be downloaded,
then the service worker won't be installed either.
@jamigibbs
jamigibbs / gist:5d331d6717d76e3f1026
Last active September 30, 2015 11:37 — forked from anonymous/gist:ec40ec681c884c584898
code for footer for social links
[rescue_spacing size="20px"]
<div class="social-demo clearfix">
<a href="http://example.com"><i class="fa fa-twitter"></i></a>
<a href="http://example.com"><i class="fa fa-facebook-official"></i></a>
<a href="http://example.com"><i class="fa fa-vimeo-square"></i></a>
<a href="http://example.com"><i class="fa fa-tumblr-square"></i></a>
@jamigibbs
jamigibbs / vt_resize.php
Last active December 15, 2015 01:39 — forked from seedprod/vt_resize.php
<?php
/*
* Resize images dynamically using wp built in functions
* Victor Teixeira
*
* php 5.2+
*
* Exemplo de uso:
*
* <?php