Skip to content

Instantly share code, notes, and snippets.

@expl0ratory
expl0ratory / Fascists_emails
Created April 7, 2023 02:30
All the TN fascists that voted to expel the real representatives
rep.rebecca.alexander@capitol.tn.gov; rep.jody.barrett@capitol.tn.gov; rep.clark.boyd@capitol.tn.gov; rep.rush.bricken@capitol.tn.gov; rep.gino.bulso@capitol.tn.gov; rep.jeff.burkhart@capitol.tn.gov; rep.ed.butler@capitol.tn.gov; rep.scotty.campbell@capitol.tn.gov; rep.kip.capley@capitol.tn.gov; rep.dale.carr@capitol.tn.gov; rep.michele.carringer@capitol.tn.gov; rep.scott.cepicky@capitol.tn.gov; rep.mark.cochran@capitol.tn.gov; rep.john.crawford@capitol.tn.gov; rep.tandy.darby@capitol.tn.gov; rep.elaine.davis@capitol.tn.gov; rep.clay.doggett@capitol.tn.gov; rep.rick.eldridge@capitol.tn.gov; rep.jeremy.faison@capitol.tn.gov; rep.andrew.farmer@capitol.tn.gov; rep.monty.fritts@capitol.tn.gov; rep.ron.gant@capitol.tn.gov; rep.johnny.garrett@capitol.tn.gov; rep.rusty.grills@capitol.tn.gov; rep.michael.hale@capitol.tn.gov; rep.david.hawk@capitol.tn.gov; rep.patsy.hazlewood@capitol.tn.gov; rep.esther.helton@capitol.tn.gov; rep.tim.hicks@capitol.tn.gov; rep.gary.hicks@capitol.tn.gov; rep.john.holsclaw@capitol.tn.gov;

Keybase proof

I hereby claim:

  • I am expl0ratory on github.
  • I am amorse (https://keybase.io/amorse) on keybase.
  • I have a public key ASBifpnJ4yiXl4KtFhVCPSwUiiUyr_0lmjiM2t6DPILhdgo

To claim this, I am signing this object:

@expl0ratory
expl0ratory / Add an item to cart
Last active November 20, 2019 19:41
Cratejoy AJAXable Storefront Endpoints
$.ajax({
type: 'POST',
url: '/cart/add',
data: {
quantity: 1,
term_cycles: cycle_count, // ecom products have no term_cycles
// if it's a pre-pay sub, the # of prepaid cycles is this value, 1 = month-to-month
// 3 = quarterly prepay, etc
product_id: item.id // product_instance_id
},
@expl0ratory
expl0ratory / subscribe.html
Last active August 29, 2015 14:05
Add an editable text area to subscription term
{%- macro term_cell(np, loop, term_price) -%}
{% if term_price.term.enabled %}
{% set term = term_price.term %}
{{ cell_div(np, loop.first) }}
<div class="promo-border">
<h2 data-barley="term.{{ term.id }}.name" data-barley-editor="simple">
{{ term.name | safe }}
</h2>
<div class="product_image_container" data-barley="term.{{ term.id }}.img" data-barley-editor="image-logo">
{{ ("images/style2/shaving-box" ~ loop.index ~ ".png") | asset_url | img_tag(css_class="product_image") }}
input {
stdin {
codec => multiline {
pattern => "^%{DATESTAMP} "
negate => true
what => "previous"
}
}
}