Skip to content

Instantly share code, notes, and snippets.

@cshold
cshold / supply-collection-sidebar
Last active May 14, 2025 02:33
The sidebar for Shopify's Supply theme, including code to handle an advanced tagging system.
{% comment %}
A customized sidebar for this theme. If advanced tagging is enabled in
theme settings, prepend your tags with "group" names (E.g. BRAND_) and your
collection page will create groups of tags to sort by.
Expansion of https://gist.github.com/darryn/8047749
{% endcomment %}
@jasonlopez01
jasonlopez01 / Update Tableau Packaged Workbook from SQL
Last active May 3, 2021 03:06
Update Tableau Packaged Workbook from SQL
#-------------------------------------------------------------------------------
# Purpose: refresh Tableau packaged workbook file's underlying dataextract file from SQL
# Author: jasonlopez01
# Created: 05/08/2016
# Note: could also load in from csv, Excel, etc.
#-------------------------------------------------------------------------------
import pyodbc, os, shutil, datetime, zipfile, time, sys
import dataextract as tde