Skip to content

Instantly share code, notes, and snippets.

Fred Simmons fsimmons

  • Birmingham, MI
Block or report user

Report or block fsimmons

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:3f517df493b798d862081cf5dfe60338
<script type="text/javascript" src=""></script>
<script type="text/javascript" src="swup.js"></script>
<script type="text/javascript">
$(function() {
var swup = new Swup();
View gist:21b01f6c6b8c7572bf763a35b7e9a008
!function(t){function e(i){if(o[i])return o[i].exports;var r=o[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var o={};e.m=t,e.c=o,e.d=function(t,o,i){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return,e)},e.p="",e(e.s=1)}([function(t,e){t.exports=jQuery},function(t,e,o){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var n=function(){function t(t,e){for(var o=0;o<e.length;o++){var i=e[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,o,i){return o&&t(e.prototype,o),i&&t(e,i),e}}(),s=o(0),a=i(s),f=o(2),l=i(f),d=function(){function t(e,o){function i(t,e,i){var r=parseInt(o[t]);isNaN(r)?o[t
fsimmons / Shopify-image-sizes.txt
Last active May 19, 2017
Shopify image sizes
View Shopify-image-sizes.txt
Because this is so infuriatingly difficult to find on Shopify website!
pico: 6 × 16
icon: 32 × 32
thumb: 50 × 50
small: 100 × 100
fsimmons / gist:113e294c7eea9de38073
Last active Aug 29, 2015
WordPress read more loads full page/post
View gist:113e294c7eea9de38073
$(function() {
/* Quick and dirty way to get 'Read More' link from the_content('Read More') to load rest of post */
$(".more-link").click(function() {
var link = $(this).attr("href");
var p = $(this).closest('p');
$.get(link, function(data) {
var html = '';
var $response = $(data);
You can’t perform that action at this time.