Skip to content

Instantly share code, notes, and snippets.

@shawnphoffman
shawnphoffman / Status_minders.applescript
Created March 6, 2016 00:10 — forked from craigeley/Status_minders.applescript
Read upcoming Apple Reminders and sort them into an HTML table for use in Panic's Status Board
tell application "Reminders"
set output to ""
set hasOne to false
repeat with i from 1 to (count of (reminders whose completed is false))
set theReminder to reminder i of (reminders whose completed is false)
set reminderName to name of theReminder
set theList to name of container of theReminder
if due date of theReminder exists then
set dueDate to due date of theReminder
/**
* @class Ext.ux.GridPrinter
* @author Ed Spencer (edward@domine.co.uk)
* Helper class to easily print the contents of a grid. Will open a new window with a table where the first row
* contains the headings from your column model, and with a row for each item in your grid's store. When formatted
* with appropriate CSS it should look very similar to a default grid. If renderers are specified in your column
* model, they will be used in creating the table. Override headerTpl and bodyTpl to change how the markup is generated
*
* Usage:
*
@shawnphoffman
shawnphoffman / win-8-override-selection-color
Last active December 29, 2015 06:58 — forked from madoublet/win-8-override-selection-color
Windows 8 HTML/JS App: Selected items color overrides. Added the checkmark and checkmarkbackground css.
/* override selection color */
.win-container.win-selected .win-selectionborder {
border-color: #000 !important;
}
.win-container.win-selected:hover .win-selectionborder {
border-color: #000 !important;
}
.win-selected .win-selectionbackground {
background-color: #0c9ced !important;