Skip to content

Instantly share code, notes, and snippets.

Eric Pramono epramono

View GitHub Profile
@epramono
epramono / WorkflowOvercastShowNotes
Created Jan 16, 2015
A Workflow action extension that accepts an Overcast URL and creates a reminder in Due to check that episode's show notes later when I get home. Requires: Workflow 1.0, Overcast 1.0, Due 1.9, and Launch Center Pro 2.1.
View WorkflowOvercastShowNotes
This workflow accepts: URLs
Text:
Read Show Notes at 9 PM
[Input]
Copy to Clipboard
URL:
launch://x-callback-url/clipboard/convert?format=urlencode
Open x-callback-url
URL:
@epramono
epramono / WorkflowBirthdayGiftReminders
Created Jan 16, 2015
A Workflow action to setup one or more reminders in Due to buy birthday gifts for upcoming birthday events in my Calendar. Requires: Workflow 1.0, Due 1.9, and Launch Center Pro 2.1.
View WorkflowBirthdayGiftReminders
Get Upcoming Events: 20
Choose from List:
Select Multiple: Yes
Repeat with Each
Set Variable: event
Get Name
Set Variable: eventName
Get Variable: event
Get Start Date
Format Date:
@epramono
epramono / WorkflowCallSomeoneLater
Created Jan 16, 2015
A Workflow action to setup a reminder in Due to call someone in your Contacts list. Requires: Workflow 1.0, Due 1.9, and Launch Center Pro 2.1.
View WorkflowCallSomeoneLater
Select Phone Number
Text:
Call [Ask When Run] Later: [Input]
Copy to Clipboard
URL:
launch://x-callback-url/clipboard/convert?format=urlencode
Open x-callback-url
URL:
due://x-callback-url/add?title=[Clipboard]
Open x-callback-url
@epramono
epramono / LCPDueMeetEnd
Created Jan 16, 2015
A Launch Center Pro action to create a sequential Due reminder: first to remind the start of a meeting, and second to remind the end of that meeting. Requires: Due 1.9 and Launch Center Pro 2.3
View LCPDueMeetEnd
due://x-callback-url/add?
title={{Meet with [prompt-text:Name] at [prompt-text:Date/Time]}}
%0A%0A
{{due://x-callback-url/add?
title=End%20the%20meeting%20now%20in%20
[+list:Duration|15 mins|30 mins|60 mins|2 hours]}}
@epramono
epramono / DraftsDecodeURI
Created Oct 16, 2014
A JavaScript keyboard extension to decode the selected text in Drafts 4.
View DraftsDecodeURI
var input = getSelectedText();
var output = "";
if (input) {
output = decodeURIComponent(input);
var range = getSelectedRange();
setSelectedText (output);
setSelectedRange (range[0], output.length);
} else {
input = getText();
output = decodeURIComponent(input);
@epramono
epramono / DraftsEncodeURI
Created Oct 16, 2014
A JavaScript keyboard extension to encode selected text in Drafts 4.
View DraftsEncodeURI
var input = getSelectedText();
var output = "";
if (input) {
output = encodeURIComponent(input);
var range = getSelectedRange();
setSelectedText (output);
setSelectedRange (range[0], output.length);
} else {
input = getText();
output = encodeURIComponent(input);
@epramono
epramono / LCPOpenIn
Created Oct 16, 2014
Open the clipboard's text in iOS 8's Open In.. menu from Launch Center Pro via Drafts 4. Requires: Drafts 4, Launch Center Pro 2.1.
View LCPOpenIn
drafts4://x-callback-url/runAction?
text=[clipboard]&
action=Open%20In...
@epramono
epramono / CreateReminderInDue
Created Oct 16, 2014
Create a reminder in Due to open the current note based on its [[title]]. Requires: Drafts 4, Due 1.9.5.
View CreateReminderInDue
due://x-callback-url/add?
title=[[title]]%0A
{{drafts4://x-callback-url/open?
uuid=[[uuid]]}}&
x-success={{drafts4://}}
@epramono
epramono / CreateLCPAppendAction
Created Oct 16, 2014
Create an Append action in Launch Center Pro using the current note's [[uuid]]. Requires: Drafts 4, Launch Center Pro 2.0.
View CreateLCPAppendAction
launch://x-callback-url/import?
url={{drafts4://x-callback-url/append?
text=%5Bprompt-return%3A[[title]]%5D&
uuid=[[uuid]]&
x-success=launch%3A%2F%2F}}
@epramono
epramono / LCP1PSearch231
Created Jul 1, 2014
This action allows you to quickly search 1Password for the services you commonly use while having a fallback [prompt] at the end for other services. Requires: Launch Center Pro 2.3.1 and 1Password 4.
View LCP1PSearch231
onepassword://search/[list:Keyword Search|
Alfred Forum|
Glassboard|
HockeyApp|
IFTTT|
TestFlight|
Other=[prompt-text:Keyword Search]]
You can’t perform that action at this time.