This file contains hidden or 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
| const hoverTime = 400 | |
| const fetchers = {} | |
| const doc = document.implementation.createHTMLDocument('prefetch') | |
| function fetchPage (url, success) { | |
| const xhr = new XMLHttpRequest() | |
| xhr.open('GET', url) | |
| xhr.setRequestHeader('VND.PREFETCH', 'true') | |
| xhr.onreadystatechange = () => { | |
| if (xhr.readyState !== XMLHttpRequest.DONE) return |
This file contains hidden or 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
| require 'json' | |
| require 'aws-sdk-s3' | |
| require 'open-uri' | |
| # Ideally put these in environment variables | |
| # but since this is just for us, who cares. | |
| BUCKET = "RETRACTED" | |
| REGION = "RETRACTED" | |
| def do_newsletters |
OlderNewer