Skip to content

Instantly share code, notes, and snippets.

View epramono's full-sized avatar

Eric Pramono epramono

View GitHub Profile
@epramono
epramono / WorkflowOvercastShowNotes
Created January 16, 2015 17:13
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.
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 January 16, 2015 17:05
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.
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 January 16, 2015 16:54
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.
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 January 16, 2015 16:38
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
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 October 16, 2014 16:16
A JavaScript keyboard extension to decode the selected text in Drafts 4.
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 October 16, 2014 16:14
A JavaScript keyboard extension to encode selected text in Drafts 4.
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 October 16, 2014 04:34
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.
drafts4://x-callback-url/runAction?
text=[clipboard]&
action=Open%20In...
@epramono
epramono / CreateReminderInDue
Created October 16, 2014 03:50
Create a reminder in Due to open the current note based on its [[title]]. Requires: Drafts 4, Due 1.9.5.
due://x-callback-url/add?
title=[[title]]%0A
{{drafts4://x-callback-url/open?
uuid=[[uuid]]}}&
x-success={{drafts4://}}
@epramono
epramono / CreateLCPAppendAction
Created October 16, 2014 03:47
Create an Append action in Launch Center Pro using the current note's [[uuid]]. Requires: Drafts 4, Launch Center Pro 2.0.
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 July 1, 2014 16:41
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.
onepassword://search/[list:Keyword Search|
Alfred Forum|
Glassboard|
HockeyApp|
IFTTT|
TestFlight|
Other=[prompt-text:Keyword Search]]