This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Visit the Eventbrite discount/access code page for your event | |
// Expand the discount code table | |
// Open your JavaScript developer console and dump this code in | |
// Get the discount table rows | |
var t = $('#table_discount').find('tbody').find('tr'); | |
// Create an array to hold the codes | |
var codes = new Array; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compares two CSVs and outputs a new CSV that excludes the intersection | |
# i.e.: | |
# $ python csv-difference.py -d fulldataset.csv -s subset.csv -o output.csv -u id -k id email name | |
import argparse | |
from csv import DictReader | |
from csv import DictWriter | |
def main(): | |
parser = argparse.ArgumentParser(description='Output difference in CSVs.') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://public.ducksboard.com/ijVTcgIdKtPzVyqY0BU0/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign test-topics = 'topic-one\Topic One|topic-two\Topic Two|topic-three\Topic Three' | split: '|' %} | |
{% for entries in test-topics %} | |
{% for topic in entries %} | |
<!-- topic = 'topic-one\Topic One' --> | |
<p>First: {{ topic | split: '\' | first }}</p><!-- First: topic-one --> | |
<p>Second: {{ topic | split: '\' | last }}</p><!-- Second: topic-two --> | |
{% endfor %} | |
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign similar-speakers = 'catherine-bracy|michal-migurski' | split: '|' %} | |
<section class="layout-semibreve"> | |
{% for entries in similar-speakers %} | |
{% for speaker in entries %} | |
<div class="layout-minim">{% include people/{{ speaker }}.html context="speaker-card" base=".." %}</div> | |
{% endfor %} | |
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x |
NewerOlder