Skip to content

Instantly share code, notes, and snippets.

@aaronlammer
aaronlammer / gist:964b0cd4ddb4aceb4ace
Last active August 29, 2015 14:06
Status Board Spec

Test Account

How many articles from followed pubs in last 24 hours?

How many articles from followed writers in last 24 hours?

How many articles from followed friends in last 24 hours?

Staff Picks

Last 4 Staff Picks with Read Counts and Recommend Counts

<link rel="stylesheet" href="//d3q6uu7asevdsg.cloudfront.net/css/link_texting.min.css">
<div class="linkTexting_oq3j39q0">
<div class="linkTextingInner_oq3j39q0">
<input placeholder="Your mobile number" class="linkTextingInput_oq3j39q0" type="text" id="numberToText_linkTexting_oq3j39q0"></input>
<button class="linkTextingButton_oq3j39q0" type="button" onclick="sendLink_linkTexting_oq3j39q0('24339e04-6af0-462c-b2b6-9ce54bd903dc')" id="sendButton_linkTexting_oq3j39q0">Text me a link</button>
</div>
</div>
<script type="text/javascript">if(typeof jQuery == 'undefined'){document.write('<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"><'+'/script>');}</script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="//d3q6uu7asevdsg.cloudfront.net/js/link_texting.min.js"></script>
@aaronlammer
aaronlammer / gist:3911e6d4bc24690c768d
Created October 17, 2014 18:41
How to add a publication to Corpus
1. Go to publications and search for the name of the pub
2. If it's not there, search for the domain of the pub
3. If you've found an existing entry for the pub, edit it. Otherwise hit "New Publication"
4. Fill out Publication Name* (try to omit "Magazine"), Canonical URL* (no http:// or wwww.), Summary* (short and sweet, think Twitter bio), Location, Facebook URL (full URL is fine), Twitter*, Avatar* (min. 300x300) and then hit "SAVE"
5. Move over to Parser. Find the RSS feed for the publication (test that it loads properly in the browser and has new items) and input it. Input multiple feeds if necesary.
6. Go to STORE and add categoritzations (FORCE VISIBILITY if it has no other categorizations)
7. Find a good sample URL and customize in Diffbot.
@aaronlammer
aaronlammer / gist:7a71d2e59152917637ad
Created October 15, 2015 17:21
CSS changes before shipping Donations
.donation_box {
border: 1px solid #CCC;
padding: 16px 24px 24px 24px;
margin-bottom: 96px;
border-radius: 3px;
background-color: #fff;
border: 1px solid #e5e5e5;
border-radius: 3px;
font-size: 0.9em;
}
Please add at the top of the "donations_box" div:
<h2>Support Us </h2>
.donations_box {
padding: 0px 24px 24px 24px;
margin-bottom: 96px;
border-radius: 3px;
background-color: #fff;
border: 1px solid #e5e5e5;
[Name],
We want to thank you for supporting Longform with a donation.
Your patronage means a lot to us. We’ll keep trying to do cool stuff for readers like you.
If you ever have questions, comments, or ideas—we are listening. Just send an email: [email protected]
Thanks,
Aaron Lammer and Max Linsky
@aaronlammer
aaronlammer / gist:98f9f3f50a1eddcd742d
Created October 16, 2015 17:34
Cancellation Email
This email confirms that you've cancelled your recurring payment to Longform.
We're sorry to see you go, but thank you for your support.
Best,
Aaron Lammer and Max Linsky
(co-founders, Longform)
P.S. If you want to restart your donations or make a one time donation, go <a href="http://longform.org/donate">here</a>.
@aaronlammer
aaronlammer / gist:fe47cf9c76b214ea746c
Last active April 17, 2023 10:09
Cancel your recurring donation
Enter your email address and hit submit. We'll email you a link that will cancel all future recurring donation payments. If you have any questions, please email [email protected]
{"app_name":"Longform","timestamp":"2015-10-29 13:38:30.30 -0400","app_version":"2.2.1","slice_uuid":"9f5fa0a7-9622-3dd6-b488-f544d6d93ae3","adam_id":490437064,"build_version":"342","bundleID":"com.professorseagull.longformapp","share_with_app_devs":true,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 9.1 (13B143)","name":"Longform"}
Incident Identifier: 557ABF07-C1D6-41A1-AA2B-9A0B13B2BEC7
CrashReporter Key: 401aed4ab86f2f6e069778fd683a824ec468f527
Hardware Model: iPhone7,1
Process: Longform [1843]
Path: /private/var/mobile/Containers/Bundle/Application/589E7B2D-780F-41FB-BCA6-BC8A47926223/Longform.app/Longform
Identifier: com.professorseagull.longformapp
Version: 342 (2.2.1)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
{"app_name":"Longform","timestamp":"2015-10-29 13:39:29.29 -0400","app_version":"2.2.1","slice_uuid":"9f5fa0a7-9622-3dd6-b488-f544d6d93ae3","adam_id":490437064,"build_version":"342","bundleID":"com.professorseagull.longformapp","share_with_app_devs":true,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 9.1 (13B143)","name":"Longform"}
Incident Identifier: AE6E2E6A-F6EB-4B29-8C38-F6618F1EE776
CrashReporter Key: 401aed4ab86f2f6e069778fd683a824ec468f527
Hardware Model: iPhone7,1
Process: Longform [1850]
Path: /private/var/mobile/Containers/Bundle/Application/589E7B2D-780F-41FB-BCA6-BC8A47926223/Longform.app/Longform
Identifier: com.professorseagull.longformapp
Version: 342 (2.2.1)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]