Forked from Paperless Post's Pen Email test.
A Pen by Reuben Ingber on CodePen.
| <div | |
| class=quicklinks-container | |
| data-track-click="[JSON]" | |
| > | |
| <a | |
| href=pizza.com | |
| class=quicklink-item | |
| data-track-click-trigger="[index: 1]" | |
| > | |
| Best Pizza |
| tout-layout/ | |
| style.scss | |
| template.hbs // Not sure we need this | |
| variation/ | |
| single.hbs | |
| two-col.hbs | |
| three-col.hbs | |
| stacked.hbs | |
| styles/ | |
| single-style.scss |
| resource "ns1_record" "www_businessinsider_com_CNAME" { | |
| zone = "${ns1_zone.businessinsider_com.zone}" | |
| domain = "www.${ns1_zone.businessinsider_com.zone}" | |
| type = "CNAME" | |
| use_client_subnet = "false" | |
| answers { | |
| answer = "f.shared.global.fastly.net." | |
| } | |
| } |
| resource "ns1_zone" "businessinsider_com" { | |
| zone = "businessinsider.com" | |
| } |
| #! /usr/bin/env python3 | |
| from ns1 import NS1 | |
| from pprint import pprint | |
| import yaml | |
| import os | |
| def validate_record(api, zone, records): | |
| print("records") | |
| # pprint(records) | |
| print(records['short_answers']) | |
| zone_api = api.loadZone(zone) |
| data = { | |
| "customer_name": "businessinsider", | |
| "user_name": "<REDACTED>", | |
| "password": "<REDACTED>" | |
| } | |
| headers = { | |
| 'Content-type': 'application/json', | |
| 'Accept': 'text/plain' | |
| } |
Forked from Paperless Post's Pen Email test.
A Pen by Reuben Ingber on CodePen.
| var POP_UP_WIDTH = 700, | |
| POP_UP_HEIGHT = 500; | |
| function init() { | |
| $(document).on('click', '.js-share-pop-up', function(e) { | |
| e.preventDefault(); | |
| var $this = $(this), | |
| shareURL = $this.data('shareUrl'), |
| // FitText | |
| // Add class js-fit-text & Set the following data-attributes: data-fit-compressor="<compressor value>" data-fit-max-font-size=<size>px" data-fit-min-font-size="<size>px" | |
| $('.js-fit-text').each(function() { | |
| var $this = $(this), | |
| fitCompressor = $this.data('fit-compressor') || 1, | |
| fitMaxFontSize = $this.data('fit-max-font-size') || Number.POSITIVE_INFINITY, | |
| fitMinFontSize = $this.data('fit-min-font-size') || Number.NEGATIVE_INFINITY; | |
| $this.fitText(fitCompressor, {maxFontSize: fitMaxFontSize, minFontSize: fitMinFontSize}); | |
| }); |
| .three-up { | |
| padding: 50px 0; | |
| .clearfix(); | |
| } | |
| .three-up-unit { | |
| float: left; | |
| margin: 0 25px 0 0; | |
| .calc(width, ~'33% - 25px'); | |
| .box-sizing(border-box); |