This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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')) { |
NewerOlder