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
package main | |
import ( | |
"database/sql" | |
"encoding/json" | |
"fmt" | |
"reflect" | |
"time" | |
"github.com/go-sql-driver/mysql" |
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/osascript | |
-- calendar from which to ignore events | |
set TASKS_CALENDAR to "Toodledo iCal" | |
-- the current timestamp | |
set now to (current date) | |
-- midnight this morning | |
set today to now - (time of now) | |
-- midnight tomorrow morning | |
set tomorrow to (today) + (24 * 60 * 60) | |
-- list of output lines |