This file contains 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
<?php | |
// DayOne is a nice little journaling app for iOS / Mac (available via App Store). | |
// This code requires php_class_lib available here: https://github.com/jsjohnst/php_class_lib | |
include('php_class_lib/classes/parsers/plist/PlistParser.inc'); | |
// grab filenames for all of your journal entries | |
$entries = array(); | |
if ($handle = opendir('/path/to/your/Journal.dayone/entries')) { |
This file contains 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
#!/usr/bin/ruby | |
# tp-dailylog.rb - Log TaskPaper tasks completed on the current day to a Day One entry | |
# Brett Terpstra 2012 <http://brettterpstra.com> | |
# | |
# Run it with launchd at 11pm and forget about it | |
# | |
# Notes: | |
# * Uses `mdfind` to locate all .taskpaper files changed in the last day | |
# * Scans for @done(xxxx-xx-xx) tags in each line matching today's date | |
# * Does not alter TaskPaper files in any way |
This file contains 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
<?php | |
'commandMap' => array( | |
'deleteexpireduser' => array( | |
'class' => 'application.modules.user.commands.DeleteExpiredUserCommand', | |
), | |
), |
This file contains 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
set archivedTasks to "" | |
set hoursEntries to "" | |
tell application "TaskPaper" | |
tell front document | |
-- don't care which file your log entry came from? | |
-- comment the next line out | |
set archivedTasks to "## " & name & return | |
set hoursEntries to "## " & name & ": Hours" & return | |
repeat with _task in search with query "project != Archive and @done" | |
if entry type of _task is not project type then |
This file contains 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
#!/usr/bin/ruby | |
# WebExcursions, a script for gathering new Pinboard links with a certain tag | |
# and generating Markdown/Jekyll posts when enough are collected. | |
# Brett Terpstra 2013 | |
# | |
# -f to force writing out current bookmarks to file regardless of count | |
%w[fileutils set net/https zlib rexml/document time base64 uri cgi stringio].each do |filename| | |
require filename | |
end |
#Reporter Save File Schema
##The Reporter Export File
Reporter saves to your Dropbox account with plaintext JSON files, one for each day. When a Report is entered in the app a file is created for that day if it does not exist. Otherwise, the report is appended to the existing file. The save folder is located in 'Dropbox/Apps/Reporter-App/'.
Reporter save files are named according to the following convention:
YYYY-MM-DD-reporter-export.json
This file contains 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
#!/usr/bin/ruby | |
# Change to your filepath in lines 9 and 12 | |
# Add your exact search term to line 9 | |
# Add your exact to-do in line 13 | |
require 'time' | |
today = Time.now.strftime('%Y-%m-%d') | |
if File.readlines('/Users/USERNAME/Dropbox/Listacular/list.taskpaper', encoding: 'UTF-8').grep(/TERM/).any? | |
exit |
This file contains 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
# tp2fantastical | |
# | |
# by Derick Fay, 2014-04-06 | |
# | |
# an adaptation of the Selection to Fantastical Editorial workflow | |
# (http://editorial-app.appspot.com/workflow/6172238982152192/Y3VYajI3Hzc ) | |
# for use with Drafts and Pythonista (both required) | |
# | |
# works on iPhone and iPad | |
# I have also written an equivalent script for TaskPaper for the Mac |
This file contains 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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
from sys import argv | |
from time import strftime | |
clocks = {'12:00': '🕛', '12:30': '🕧', '1:00': '🕐', '1:30': '🕜', | |
'2:00': '🕑', '2:30': '🕝', '3:00': '🕒', '3:30': '🕞', | |
'4:00': '🕓', '4:30': '🕟', '5:00': '🕔', '5:30': '🕠', | |
'6:00': '🕕', '6:30': '🕡', '7:00': '🕖', '7:30': '🕢', |
OlderNewer