Skip to content

Instantly share code, notes, and snippets.

@dnordby
dnordby / shopify_apis.md
Last active June 18, 2018 21:24
Shopify APIs
View shopify_apis.md
@dnordby
dnordby / wordpress-setup.md
Last active October 12, 2017 19:45
Wordpress Setup Procedure
View wordpress-setup.md

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
View dev_process.md
@dnordby
dnordby / shopify-loadmore.md
Last active December 29, 2021 18:03
Shopify <li> loadmore (products)
View shopify-loadmore.md

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 / rails-background-workers-with-resque.md
Last active December 20, 2017 15:52
Set up background workers on Heroku with Reqsque/Redis
View rails-background-workers-with-resque.md

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