Skip to content

Instantly share code, notes, and snippets.

@dnordby
dnordby / shopify-loadmore.md
Last active December 29, 2021 18:03
Shopify <li> loadmore (products)

Use Shopify pagination to trigger loadmore event

Markup

{% paginate collection.products by 16 %}
<div class="products__collection">
  <ul class="product collection__grid"">
    {% for product in collection.products %}
      {% assign prod_id = forloop.index | plus:paginate.current_offset %}
      {% include 'product-grid-item' with prod_id %}
@dnordby
dnordby / shopify_apis.md
Last active June 18, 2018 21:24
Shopify APIs
@dnordby
dnordby / rails-background-workers-with-resque.md
Last active December 20, 2017 15:52
Set up background workers on Heroku with Reqsque/Redis

Set Up Background Workers with Resque/Redis on Heroku

LOCAL SETUP

Ensure Redis is installed on local machine

To install, run (assumes HomeBrew is already set up):
$ brew install redis

Start Redis server
$ redis-server

@dnordby
dnordby / wordpress-setup.md
Last active October 12, 2017 19:45
Wordpress Setup Procedure

WordPress Setup

Local Development:

Dependencies
Get Started
  1. Open MAMP in Applications and ensure local servers are running
@dnordby
dnordby / dev_process.md
Last active May 22, 2017 22:06
V+V Frontend Dev Process