Skip to content

Instantly share code, notes, and snippets.

@ehickox
ehickox / gist:61d1e747b243f98f08e3
Last active September 25, 2015 19:31
keybase.md
### Keybase proof
I hereby claim:
* I am ehickox on github.
* I am ehickox (https://keybase.io/ehickox) on keybase.
* I have a public key whose fingerprint is 774A 2D25 7EAE 1D8E 3510 480B AB21 DF12 82C4 E675
To claim this, I am signing this object:
@ehickox
ehickox / createReminders.scpt
Last active August 29, 2015 13:57
Applescripts to retrieve homework
on run {input, parameters}
-- get the date from the end of the input list, concatenate the due
-- time to the end, and typecast string object to date object
set myDueDate to date (last item of input & " 2:00:00 PM" as string)
-- Loop through the list, creating Reminders for each section of homework
set i to 1
repeat while i is less than length of input
tell application "Reminders"